esp_wifi_get_mac() function
Get mac of specified interface
Arguments
mac
store mac of the interface ifx
Return value
- ESP_OK: succeed - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init - ESP_ERR_INVALID_ARG: invalid argument - ESP_ERR_WIFI_IF: invalid interface
![]()
return esp_wifi_get_mac(wifi_interface, mac);
esp_wifi_get_mac() is called by 3 functions:
![]()
esp_wifi_get_mac()