How can I get connected but not bonded device mac address. I use nrf52840 with Segger.
How can I get connected but not bonded device mac address. I use nrf52840 with Segger.
Take a look at the ble_app_uart examples:
These examples demonstrates how to connect two devices without bonding.
If you want to connect to only a specific address, you can use the nrf_ble_scan.c library and the functions nrf_ble_scan_filter_set() and nrf_ble_scan_filter_enable().
Best regards,
Simon
thank you for answer. can you write an example for nrf_ble_scan_filter_set() and nrf_ble_scan_filter_enable().
sorry I am a beginner.
Take a look at the <sdk>/examples/ble_central/ble_app_hrs_c example
Best regards,
Simon