Compilation fix for newer mbed-os
Fork of X_NUCLEO_IDB0XA1 by
Diff: x-nucleo-idb0xa1/platform/btle.h
- Revision:
- 219:d8e8cd4d4521
- Parent:
- 138:32e3c4ca7a45
- Child:
- 266:b49e28134d83
- Child:
- 264:1e754a01869e
--- a/x-nucleo-idb0xa1/platform/btle.h Thu Mar 31 11:12:14 2016 +0200 +++ b/x-nucleo-idb0xa1/platform/btle.h Thu Mar 31 11:16:47 2016 +0200 @@ -38,10 +38,16 @@ extern uint16_t g_appearance_char_handle; extern uint16_t g_device_name_char_handle; -void btle_init(bool isSetAddress, uint8_t role); +void btleInit(bool isSetAddress, uint8_t role); void SPI_Poll(void); void User_Process(void); void setConnectable(void); +void setVersionString(uint8_t hwVersion, uint16_t fwVersion); +const char* getVersionString(void); +tBleStatus btleStartRadioScan(uint8_t scan_type, + uint16_t scan_interval, + uint16_t scan_window, + uint8_t own_address_type); #ifdef AST_FOR_MBED_OS extern int btle_handler_pending;