How to get WiFi and Bluetooth mac address using ESP32

kvjavali
Posts: 4
Joined: Wed Aug 30, 2017 12:24 pm

How to get WiFi and Bluetooth mac address using ESP32

Postby kvjavali » Wed Aug 30, 2017 12:29 pm

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

enitalp
Posts: 60
Joined: Thu Jan 12, 2017 10:03 pm

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

Postby enitalp » Wed Aug 30, 2017 6:43 pm

Wifi is pretty easy

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

enitalp
Posts: 60
Joined: Thu Jan 12, 2017 10:03 pm

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

Postby enitalp » Wed Aug 30, 2017 6:45 pm

ADC_2 Working when wifi is on ;p

Who is online

Users browsing this forum: No registered users and 320 guests