Searched refs:mac_str (Results 1 – 8 of 8) sorted by relevance
/AliOS-Things-master/components/linkkit/wifi_provision/dev_bind/os/ |
A D | os_misc.c | 67 char *os_wifi_get_mac_str(char mac_str[OS_MAC_LEN]) in os_wifi_get_mac_str() 72 str = HAL_Wifi_Get_Mac(mac_str); in os_wifi_get_mac_str() 84 for (i = 0; i < OS_MAC_LEN && mac_str[i]; i++) { in os_wifi_get_mac_str() 85 if ('a' <= mac_str[i] && mac_str[i] <= 'z') { in os_wifi_get_mac_str() 86 mac_str[i] -= 'a' - 'A'; in os_wifi_get_mac_str() 90 return mac_str; in os_wifi_get_mac_str() 92 char *os_wifi_str2mac(char mac_str[OS_MAC_LEN], char mac[OS_ETH_ALEN]) in os_wifi_str2mac() 95 char *ptr = mac_str; in os_wifi_str2mac() 117 char mac_str[OS_MAC_LEN] = { 0 }; in os_wifi_get_mac() local 119 os_wifi_get_mac_str(mac_str); in os_wifi_get_mac() [all …]
|
A D | os.h | 50 char *os_wifi_get_mac_str(char mac_str[HAL_MAC_LEN]); 51 char *os_wifi_str2mac(char mac_str[HAL_MAC_LEN], char mac[ETH_ALEN]);
|
/AliOS-Things-master/components/genie_service/core/src/ |
A D | genie_crypto.c | 29 char mac_str[(GENIE_TRIPLE_MAC_SIZE << 1) + 1] = ""; in genie_crypto_get_auth() local 35 hextostring(p_genie_triple->mac, mac_str, GENIE_TRIPLE_MAC_SIZE); in genie_crypto_get_auth() 40 sprintf(static_str, "%08x,%s,%s", p_genie_triple->pid, mac_str, key_str); in genie_crypto_get_auth() 42 sprintf(static_str, "%08x,%s,%s,%s", p_genie_triple->pid, mac_str, key_str, rad_str); in genie_crypto_get_auth() 110 char mac_str[(GENIE_TRIPLE_MAC_SIZE << 1) + 1] = ""; in genie_ais_get_cipher() local 115 hextostring(p_genie_triple->mac, mac_str, GENIE_TRIPLE_MAC_SIZE); in genie_ais_get_cipher() 119 sprintf(static_str + 16, ",%08x,%s,%s", p_genie_triple->pid, mac_str, key_str); in genie_ais_get_cipher()
|
/AliOS-Things-master/components/linkkit/wifi_provision/dev_ap/ |
A D | awss_dev_ap.c | 156 char mac_str[OS_MAC_LEN + 1] = { 0 }; in awss_dev_ap_setup() local 159 os_wifi_get_mac_str(mac_str); in awss_dev_ap_setup() 160 memmove(mac_str + 11, mac_str + 12, 2); in awss_dev_ap_setup() 161 memmove(mac_str + 13, mac_str + 15, 2); in awss_dev_ap_setup() 162 mac_str[15] = '\0'; in awss_dev_ap_setup() 163 HAL_Snprintf(ssid, PLATFORM_MAX_SSID_LEN, "adh_%s_%s", pk, &mac_str[9]); in awss_dev_ap_setup()
|
/AliOS-Things-master/components/linkkit/wifi_provision/dev_bind/ |
A D | awss_packet.c | 27 char mac_str[HAL_MAC_LEN + 1] = { 0 }; in awss_get_dev_info() local 37 os_wifi_get_mac_str(mac_str); in awss_get_dev_info() 40 mac_str, ip_str, bind_get_encrypt_type()); in awss_get_dev_info()
|
/AliOS-Things-master/components/linkkit/wrappers/platform/os/ |
A D | HAL_AWSS_yoc.c | 199 char *HAL_Wifi_Get_Mac(_OU_ char mac_str[HAL_MAC_LEN]) in HAL_Wifi_Get_Mac() 205 snprintf(mac_str, HAL_MAC_LEN, "%02x:%02x:%02x:%02x:%02x:%02x", mac[0], in HAL_Wifi_Get_Mac() 208 return mac_str; in HAL_Wifi_Get_Mac()
|
/AliOS-Things-master/components/linkkit/wrappers/os/ |
A D | HAL_AWSS_rhino.c | 228 char *HAL_Wifi_Get_Mac(_OU_ char mac_str[HAL_MAC_LEN]) in HAL_Wifi_Get_Mac() 234 snprintf(mac_str, HAL_MAC_LEN, "%02x:%02x:%02x:%02x:%02x:%02x", mac[0], in HAL_Wifi_Get_Mac() 237 return mac_str; in HAL_Wifi_Get_Mac()
|
/AliOS-Things-master/components/linkkit/include/linkkit/wrappers/ |
A D | wrappers_awss.h | 156 char *HAL_Wifi_Get_Mac(_OU_ char mac_str[HAL_MAC_LEN]);
|
Completed in 7 milliseconds