Page 1 of 1

How to get WiFi and Bluetooth mac address using ESP32

Posted: Wed Aug 30, 2017 12:29 pm
by kvjavali
i am working on esp32 here i need to get mac address of wifi and Bluetooth, can anyone share the example code or steps to get WiFi mac and Bluetooth mac adress

Thanks & regards
KV javali

Re: How to get WiFi and Bluetooth mac address using ESP32

Posted: Wed Aug 30, 2017 6:43 pm
by enitalp
Wifi is pretty easy

uint8_t l_Mac[6];
esp_wifi_get_mac(ESP_IF_WIFI_STA, l_Mac);

Re: How to get WiFi and Bluetooth mac address using ESP32

Posted: Wed Aug 30, 2017 6:45 pm
by enitalp
ADC_2 Working when wifi is on ;p