Closed kbaggen closed 5 months ago
The MAC address you are receiving is the correct BLE address. The MAC it seems you are looking to get is the esp32 base MAC, which the BLE stack will have no knowledge of.
ok, I solved by just disregards the last ciffer, hence, I close it :-)
Hi, I ran into an issue where when I scan by my ESP32 DevKit the MAC-id is shown wrongly, e.g. it seems the BLEscan adds +2 to the last octet.
The issue seems to be reported at this link --> https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/misc_system_api.html#mac-address
The code for this area:
Returns --> 78:e3:6d:3d:11:7e Where the correct should be --> 78:e3:6d:3d:11:7c
I am in doubt what to do to get over this? I tried both NimBLEDevice.h and BLEDevice.h, and both seems to do the same error by 2 chippers!
Klaus