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 2ae307a commit 7515dfeCopy full SHA for 7515dfe
libraries/BLE/examples/BLE_client/BLE_client.ino
@@ -24,6 +24,7 @@ static void notifyCallback(
24
uint8_t* pData,
25
size_t length,
26
bool isNotify) {
27
+ (void)isNotify;
28
Serial.print("Notify callback for characteristic ");
29
Serial.print(pBLERemoteCharacteristic->getUUID().toString().c_str());
30
Serial.print(" of data length ");
@@ -34,9 +35,11 @@ static void notifyCallback(
34
35
36
class MyClientCallback : public BLEClientCallbacks {
37
void onConnect(BLEClient* pclient) {
38
+ (void)pclient; // unused
39
}
40
41
void onDisconnect(BLEClient* pclient) {
42
43
connected = false;
44
Serial.println("onDisconnect");
45
0 commit comments