Bluetooth flash firmware continued
This commit is contained in:
@@ -64,7 +64,7 @@ class Bluetooth
|
||||
|
||||
protected:
|
||||
void pushByte(uint8_t byte);
|
||||
uint8_t read(uint8_t * data, uint8_t size, uint32_t timeout=100/*ms*/);
|
||||
uint8_t read(uint8_t * data, uint8_t size, uint8_t timeout=100/*ms*/);
|
||||
void write(const uint8_t * data, uint8_t length);
|
||||
void appendTrainerByte(uint8_t data);
|
||||
void processTrainerFrame(const uint8_t * buffer);
|
||||
@@ -75,6 +75,7 @@ class Bluetooth
|
||||
uint8_t bootloaderChecksum(uint8_t command, const uint8_t * data, uint8_t size);
|
||||
void sendBootloaderCommand(uint8_t command, const uint8_t * data = nullptr, uint8_t size = 0);
|
||||
const char * waitBootloaderCommandResponse();
|
||||
const char * sendBootloaderAutoBaud();
|
||||
|
||||
const char * doFlashFirmware(const char * filename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user