We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e749dc0 commit 63c1e3fCopy full SHA for 63c1e3f
libraries/Bluefruit52Lib/examples/Peripheral/rssi_callback/rssi_callback.ino
@@ -99,6 +99,7 @@ void connect_callback(uint16_t conn_handle)
99
100
void rssi_changed_callback(uint16_t conn_hdl, int8_t rssi)
101
{
102
+ (void) conn_hdl;
103
Serial.printf("Rssi = %d", rssi);
104
Serial.println();
105
}
libraries/Bluefruit52Lib/examples/Peripheral/rssi_poll/rssi_poll.ino
@@ -86,7 +86,7 @@ void loop()
86
BLEConnection* connection = Bluefruit.Connection(conn_hdl);
87
88
// get the RSSI value of this connection
89
- // monitorRssi() must be called previously (in callback)
+ // monitorRssi() must be called previously (in connect callback)
90
int8_t rssi = connection->getRssi();
91
92
0 commit comments