2021-12-14 03:26 AM
How do I find the real bluetooth address of a connected android device? I find the address in the mobile phone / tablet from the settings, but in the stm32wb55 program event HCI_LE_CONNECTION_COMPLETE_SUBEVT_CODE meta_evt->data structure, the address is different. The address changes after each connection (for security reasons). Is it possible to find this real address in the stm32wb55 firmware?
2021-12-14 03:48 AM
What you get is probably a Resolvable Random Private Address. You need to bond the device to resolve it, see https://stackoverflow.com/questions/61660118/get-ble-mac-from-random-private-resolvable-address
hth
KnarfB
2021-12-14 04:05 AM
I want to do this:
I have two devices with mcu stm32wb55 device 1 and a remote control.
Device 1 I can switch to open mode.
When I connect the remote control, I get its address and I add it to the whitelist.
Now I need to get a mobile phone or tablet address on the whitelist.
Whitelist will be on the Device 1.