tidy
This commit is contained in:
parent
26a8684b55
commit
16dc403e7d
@ -55,7 +55,6 @@ void loop() {
|
||||
pClient->disconnect();
|
||||
continue;
|
||||
}
|
||||
Serial.println(" - Found our service");
|
||||
|
||||
// Get BMS receive characteristic
|
||||
BLERemoteCharacteristic* pRemoteCharacteristic_rx = pRemoteService->getCharacteristic(charUUID_rx);
|
||||
@ -66,7 +65,6 @@ void loop() {
|
||||
pClient->disconnect();
|
||||
continue;
|
||||
}
|
||||
Serial.println(" - Found RX characteristic");
|
||||
|
||||
// Register callback for remote characteristic (receive channel)
|
||||
if (pRemoteCharacteristic_rx->canNotify()){
|
||||
@ -77,7 +75,6 @@ void loop() {
|
||||
pClient->disconnect();
|
||||
continue;
|
||||
}
|
||||
Serial.println(" - Registered remote characteristic for notification");
|
||||
|
||||
// Get BMS transmit characteristic
|
||||
BLERemoteCharacteristic* pRemoteCharacteristic_tx = pRemoteService->getCharacteristic(charUUID_tx);
|
||||
@ -88,7 +85,6 @@ void loop() {
|
||||
pClient->disconnect();
|
||||
continue;
|
||||
}
|
||||
Serial.println(" - Found TX characteristic");
|
||||
|
||||
// Check whether tx is writeable
|
||||
if (!(pRemoteCharacteristic_tx->canWriteNoResponse())){
|
||||
@ -97,7 +93,6 @@ void loop() {
|
||||
pClient->disconnect();
|
||||
continue;
|
||||
}
|
||||
Serial.println(" - TX is writable");
|
||||
|
||||
gotBasicInfo=false;
|
||||
gotCellInfo=false;
|
||||
|
Loading…
Reference in New Issue
Block a user