HW layer for the Nucleo board, it only work with old BLE_API

Dependents:   Hello_BLE F446RE-BLE

Fork of X_NUCLEO_IDB0XA1 by ST

Revision:
126:32039585a969
Parent:
70:d20d30f59b1c
--- a/BlueNRG_HCI/includes/bluenrg_gap.h	Thu Sep 17 08:23:17 2015 +0000
+++ b/BlueNRG_HCI/includes/bluenrg_gap.h	Tue Sep 29 12:39:31 2015 +0000
@@ -185,21 +185,15 @@
  * @name GAP Roles
  * @{
 */
-#ifdef BLUENRG_MS
-///@cond BLUENRG_MS
-#define GAP_PERIPHERAL_ROLE						(0x01)
-#define GAP_BROADCASTER_ROLE					        (0x02)
-#define GAP_CENTRAL_ROLE						(0x04)
-#define GAP_OBSERVER_ROLE						(0x08)
-///@endcond
-#else
-///@cond BLUENRG
-#define GAP_PERIPHERAL_ROLE						(0x01)
-#define GAP_BROADCASTER_ROLE					        (0x02)
-#define GAP_CENTRAL_ROLE						(0x03)
-#define GAP_OBSERVER_ROLE						(0x04)
-///@endcond
-#endif
+#define GAP_PERIPHERAL_ROLE_IDB05A1			(0x01)
+#define GAP_BROADCASTER_ROLE_IDB05A1		        (0x02)
+#define GAP_CENTRAL_ROLE_IDB05A1			(0x04)
+#define GAP_OBSERVER_ROLE_IDB05A1			(0x08)
+
+#define GAP_PERIPHERAL_ROLE_IDB04A1			(0x01)
+#define GAP_BROADCASTER_ROLE_IDB04A1		        (0x02)
+#define GAP_CENTRAL_ROLE_IDB04A1			(0x03)
+#define GAP_OBSERVER_ROLE_IDB04A1			(0x04)
 /**
  * @}
  */
@@ -218,11 +212,7 @@
 #define GAP_GENERAL_CONNECTION_ESTABLISHMENT_PROC   (0x10)
 #define GAP_SELECTIVE_CONNECTION_ESTABLISHMENT_PROC (0x20)
 #define GAP_DIRECT_CONNECTION_ESTABLISHMENT_PROC    (0x40)
-#if BLUENRG_MS
-///@cond BLUENRG_MS
-#define GAP_OBSERVATION_PROC                        (0x80)
-///@endcond
-#endif
+#define GAP_OBSERVATION_PROC_IDB05A1                (0x80)
 /**
  * @}
  */