2018-12-13 11:38 PM
hello,
I want to know if it is possible to get the RSSI value of a node with this function in BLUENRG-1 without the mesh network.
tBleStatus hci_read_rssi (uint16_t Connection_Handle, uint8_t *RSSI);
Can I use this if yes how? Because I am getting only the value 128 or 18 from this function.
Thank you
2018-12-14 12:17 AM
i am using a smartphone and one eval board bluennrg1 and want to know rssi value of both. From smartphone the RSSI value is shown on the app but how to read the rssi value of the node.
from gatt or gap or any other way. Any idea.
2018-12-20 09:08 PM
Hello Fahad, to use the api mentioned hci_read_rssi (uint16_t Connection_Handle, uint8_t *RSSI), connection handle should be known apriori. It is straight forward without mesh network. Just make sure that board maintain gatt connection with Android in order to do so.
Smartphone shows RSSI value of packets received from board. RSSI value of packets from Android is read either by using hci_read_rssi if connection is made or hci_le_advertising_report_event if smartphone is discoverable.