i'm working on nRF52840 with NCS,
i'm trying to use the central UART sample to scan peripherals then get the RSSI and complete local name of peripherals like the nRF Connect APP.
how can i do?
i'm working on nRF52840 with NCS,
i'm trying to use the central UART sample to scan peripherals then get the RSSI and complete local name of peripherals like the nRF Connect APP.
how can i do?
Hi
I think the easiest would be to use the bt_le_scan_recv_info from Zephyrs GAP API reference. Here you can add the RSSI and get the name from advertisers, and then print them to something like an UART terminal for example. Alternatively you can use the sdc_hci_cmd_sp_read_rssi API from our library to read the RSSI from devices.
Best regards,
Simon
Hi
I think the easiest would be to use the bt_le_scan_recv_info from Zephyrs GAP API reference. Here you can add the RSSI and get the name from advertisers, and then print them to something like an UART terminal for example. Alternatively you can use the sdc_hci_cmd_sp_read_rssi API from our library to read the RSSI from devices.
Best regards,
Simon
Hi Simon,
I'm interested in getting the RSSI for the connection between two nRF5340 boards. Where would I be able to find the bt_le_scan_recv_info or the sdc_hci_cmd_sp_read_rssi API? Would it be in VS code? Thanks
Hi
This case is more than 2 years old at this point. I would strongly recommend making a new DevZone ticket, and possibly link to this one if you find it relevant. The APIs you're asking for should be in the nRF Connect SDK available here.
Best regards,
Simon