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:
72:730717ed87de
Parent:
70:d20d30f59b1c
--- a/BlueNRG_HCI/includes/hci_const.h	Tue Jun 09 10:52:16 2015 +0200
+++ b/BlueNRG_HCI/includes/hci_const.h	Wed Jun 10 15:35:32 2015 +0200
@@ -34,7 +34,7 @@
 
 typedef __packed struct _hci_uart_pckt{
   uint8_t type;
-  uint8_t data[0];
+  uint8_t data[VARIABLE_SIZE];
 } PACKED hci_uart_pckt;
 #define HCI_HDR_SIZE 1
 
@@ -47,7 +47,7 @@
 typedef __packed struct _hci_event_pckt{
   uint8_t evt;
   uint8_t plen;
-  uint8_t data[0];
+  uint8_t data[VARIABLE_SIZE];
 } PACKED hci_event_pckt;
 #define HCI_EVENT_HDR_SIZE 	2
 
@@ -462,7 +462,7 @@
 #define EVT_LE_META_EVENT	0x3E
 typedef __packed struct _evt_le_meta_event{
   uint8_t subevent;
-  uint8_t data[0];
+  uint8_t data[VARIABLE_SIZE];
 } PACKED evt_le_meta_event;
 #define EVT_LE_META_EVENT_SIZE 1
 
@@ -486,7 +486,7 @@
   uint8_t bdaddr_type;
   tBDAddr bdaddr;
   uint8_t data_length;
-  uint8_t data_RSSI[0]; // RSSI is last octect (signed integer).
+  uint8_t data_RSSI[VARIABLE_SIZE]; // RSSI is last octect (signed integer).
 } PACKED le_advertising_info;
 #define LE_ADVERTISING_INFO_SIZE 9