My fork of X_NUCLEO_IDB0XA1

Fork of X_NUCLEO_IDB0XA1 by ST

Revision:
306:3a7d9f923493
Parent:
281:bc99b05605cb
--- a/x-nucleo-idb0xa1/platform/btle.h	Mon Jun 27 15:51:20 2016 +0200
+++ b/x-nucleo-idb0xa1/platform/btle.h	Thu Sep 15 16:59:44 2016 +0100
@@ -25,20 +25,21 @@
 
 #include <stdio.h>
 #include <string.h>
-	
-#include "hci.h"
-#include "bluenrg_aci.h"	
-#include "hci_const.h"	
+
+#include "ble_hci.h"
+#include "bluenrg_aci.h"
+#include "ble_hci_const.h"
 #include "bluenrg_hal_aci.h"
-#include "stm32_bluenrg_ble.h"	
+#include "stm32_bluenrg_ble.h"
 #include "bluenrg_gap.h"
 #include "bluenrg_gatt_server.h"
 
 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);
+extern uint16_t g_preferred_connection_parameters_char_handle;
+
+void btleInit(void);
 void SPI_Poll(void);
 void User_Process(void);
 void setConnectable(void);
@@ -49,13 +50,12 @@
                               uint16_t scan_window,
                               uint8_t own_address_type);
 
-#ifdef AST_FOR_MBED_OS
+
 extern int btle_handler_pending;
 extern void btle_handler(void);
-#endif
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif
+#endif
\ No newline at end of file