Hi all, I am working on a project for which I use nRF52832 with SDK15.2 and SD132. What I need is that nRF52 should transmit and receive command through serial UART as a central, can scan all NUS peripheral devices, read all the scanned NUS peripheral devices peer addresses and send back to PC. For example,
1.) The PC sends the command "scan on", then the central starts scanning and let PC knows if it can discover nearby NUS peripheral devices.
2.) When the PC receives this info, it will send the command "devices" to the nRF52 and it should send back all the NUS peripheral devices' peer address to the PC.
3.) Among these peripheral devices, the PC will send the command "connect AA:BB:CC:DD:EE:FF" and then nRF52 should connect to that device and start communicate through TX and RX characteristics of NUS.
So, it's a combination of ble_app_interactive and ble_app_uart_c but I don't know how can I get all the scanned NUS peripherals addresses (since I can't understand the ble_app_interactive cli concept). How can I do it ? Thanks and sorry for the long question form.