we now BLE notify for the arrival of new messages

This commit is contained in:
geeksville
2020-02-02 20:54:40 -08:00
parent 882b6bd655
commit e6535f5504
7 changed files with 50 additions and 10 deletions

View File

@@ -69,6 +69,7 @@ class UpdateCallbacks : public BLECharacteristicCallbacks
result = Update.getError();
}
swUpdateResultCharacteristic.setValue(&result, 1);
swUpdateResultCharacteristic.notify();
}
else {
Serial.println("unexpected write");