BLE remote_bda MAC address
Posted: Fri Mar 16, 2018 1:49 pm
Hi everybody,
I have tested example bt_ssp_acceptor and I modified it to write the MAC address of the remote device which connects to ESP32. The mac address was correctly displayed as reported also in device info of the tablet I used to connect to esp32.
In my case: 7e 6b 46 81 27 34
Then I tested gatt_server_service_table example. On tablet I installed nRFconnect APP. Everything is working but when a connect event is reported on ESP32, the remote_bda of the tablet is shown as:
which is NOT the same for the BT (classic) spp example. Is there a difference between the MAC address for BT classic and remote_bda for BLE?
How can I get the MAC address of the remote device in BLE?
Thanks
I have tested example bt_ssp_acceptor and I modified it to write the MAC address of the remote device which connects to ESP32. The mac address was correctly displayed as reported also in device info of the tablet I used to connect to esp32.
In my case: 7e 6b 46 81 27 34
Then I tested gatt_server_service_table example. On tablet I installed nRFconnect APP. Everything is working but when a connect event is reported on ESP32, the remote_bda of the tablet is shown as:
Code: Select all
I (34882) GATTS_TABLE_DEMO: ESP_GATTS_CONNECT_EVT, conn_id = 0
I (34882) GATTS_TABLE_DEMO: d3 83 29 48 0e f1
How can I get the MAC address of the remote device in BLE?
Thanks