cancel
Showing results for 
Search instead for 
Did you mean: 

RSSI value of a node without mesh network

FChou
Associate II

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

2 REPLIES 2
FChou
Associate II

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.

Jitendra J
Associate II

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.