test
Dependents: BLE_HeartRate_IDB0XA1_EPUDEE_Avril2018
Fork of X_NUCLEO_IDB0XA1 by
Diff: x-nucleo-idb0xa1/BlueNRGDevice.h
- Revision:
- 245:6830f71c197c
- Parent:
- 229:9981f62cdb1a
- Child:
- 247:932a44bdff4f
--- a/x-nucleo-idb0xa1/BlueNRGDevice.h Mon Jun 20 17:20:23 2016 +0200 +++ b/x-nucleo-idb0xa1/BlueNRGDevice.h Mon Jun 20 17:53:36 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);