BLE_API wrapper library for STMicroelectronics' BlueNRG Bluetooth Low Energy expansion board shield
Fork of X_NUCLEO_IDB0XA1 by
Diff: x-nucleo-idb0xa1/platform/btle.h
- Revision:
- 232:f2a7da5d24e1
- Parent:
- 209:d8e8cd4d4521
--- a/x-nucleo-idb0xa1/platform/btle.h Thu Jun 16 12:08:19 2016 +0000 +++ b/x-nucleo-idb0xa1/platform/btle.h Fri Jun 17 16:07:05 2016 +0000 @@ -37,8 +37,11 @@ extern uint16_t g_gap_service_handle; extern uint16_t g_appearance_char_handle; extern uint16_t g_device_name_char_handle; - -void btleInit(bool isSetAddress, uint8_t role); + +void btleInitHW(void); +uint8_t btleGetUpdaterHWVersion(uint8_t *upd_hw_version); +int btleUpdateFirmware(const uint8_t *fw_image, uint32_t fw_size); +void btleStart(bool isSetAddress, uint8_t role); void SPI_Poll(void); void User_Process(void); void setConnectable(void);