你好,我是用你的官方的需求方routine, I want to take the Bluetooth signal strength on the host side or slave.
When the slave broadcasts, when the host scans, the scanned Bluetooth address and the corresponding rssi value can be obtained in the parameters of the user_on_adv_report_ind() function of the host.
However, after the host and the slave are successfully connected, how can I get the rssi Bluetooth signal strength of the slave? At present, I am using GAPC_GET_CON_RSSI on the host, but the rssi obtained under the same distance of the master and slave is unstable.Are there some other factors affect the rssi value.
Device:
Hi,
Could you please clarify your question? Are you able to get the rssi values? By the way, I would highly suggest you to have a look at “How to read and convert the RSSI value to dBm?” in the FAQs on our support site. Please, follow the link below:
https://support.dialog-semiconductor.com/guide/faq-da1458x-software-peripherals
Could you please let me know what do you mean that the rssi values are unstable? You will not get a fixed value, even if the distance between the master and the slave is fixed. How much are the rssi values unstable?
Thanks, PM_Dialog