Working DfuService with quick'n'ugly code

This commit is contained in:
JF
2020-05-01 15:36:48 +02:00
parent 5291bcc7de
commit 0195ece317
3 changed files with 76 additions and 10 deletions

View File

@@ -51,6 +51,12 @@ namespace Pinetime {
uint16_t packetCharacteristicHandle;
uint16_t controlPointCharacteristicHandle;
uint16_t revisionCharacteristicHandle;
uint8_t opcode = 0;
uint8_t param = 0;
uint8_t nbPacketsToNotify = 0;
uint32_t nbPacketReceived = 0;
bool dataMode = false;
uint32_t bytesReceived = 0;
};
}
}