WiFi.macAddress() returns 00:00:00:00:00:00 before WiFi.begin() #11285
Labels
3.0 migration
issue relates to migration from 2.X to 3.X version
Status: Awaiting Response
awaiting a response from the author
Board
ESP32-Mini 1U
Device Description
Hardware Configuration
Version
v3.1.1
IDE Name
VSCode
Operating System
Linux
Flash frequency
40Mhz
PSRAM enabled
no
Upload speed
115200
Description
WiFi.macAddress()
beforeWiFi.begin()
, we cannot get the MAC address.esp_read_mac()
as fallback, if WiFi was not initialized yet.WiFi.begin()
, our station does not work correctly, we cannot see the WiFi with another device. In Addition, the WiFiAccessPoint example also does not callWiFi.begin()
esp_read_mac(mac, ESP_MAC_WIFI_STA)
works fine though, without initializing the WiFi first.Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: