BLE test
Fork of X_NUCLEO_IDB0XA1 by
Diff: x-nucleo-idb0xa1/BlueNRGDevice.h
- Revision:
- 247:932a44bdff4f
- Parent:
- 242:058b2e731adc
- Parent:
- 245:6830f71c197c
- Child:
- 253:9665a6f8bbdb
diff -r c56decc9c198 -r 932a44bdff4f x-nucleo-idb0xa1/BlueNRGDevice.h --- a/x-nucleo-idb0xa1/BlueNRGDevice.h Mon Jun 20 15:11:41 2016 +0200 +++ b/x-nucleo-idb0xa1/BlueNRGDevice.h Tue Jun 21 10:31:02 2016 +0200 @@ -81,6 +81,8 @@ return isInitialized; } + uint8_t getUpdaterHardwareVersion(uint8_t *hw_version); + int updateFirmware(const uint8_t *fw_image, uint32_t fw_size); bool dataPresent(); int32_t spiRead(uint8_t *buffer, uint8_t buff_size); int32_t spiWrite(uint8_t* data1, uint8_t* data2, uint8_t Nb_bytes1, uint8_t Nb_bytes2);