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_gatt_aci.h	Thu Sep 17 08:23:17 2015 +0000
+++ b/BlueNRG_HCI/includes/bluenrg_gatt_aci.h	Tue Sep 29 12:39:31 2015 +0000
@@ -719,8 +719,6 @@
  */
 tBleStatus aci_gatt_read_handle_value(uint16_t attr_handle, uint16_t data_len, uint16_t *data_len_out_p, uint8_t *data);
 
-#if BLUENRG_MS
-///@cond BLUENRG_MS
    /**
  * @brief Reads the value of the attribute handle specified from the local GATT database, starting from a given offset.
  * @param attr_handle Handle of the attribute to read
@@ -733,9 +731,7 @@
  * 				attribute (in data_len_out_p).
  * @return Value indicating success or error code.
  */
-tBleStatus aci_gatt_read_handle_value_offset(uint16_t attr_handle, uint8_t offset, uint16_t data_len, uint16_t *data_len_out_p, uint8_t *data);
-///@endcond
-#endif
+tBleStatus aci_gatt_read_handle_value_offset_IDB05A1(uint16_t attr_handle, uint8_t offset, uint16_t data_len, uint16_t *data_len_out_p, uint8_t *data);
 
 /**
  * @}
@@ -750,20 +746,24 @@
 
 /**
  * This event is raised to the application by the GATT server when a client modifies any attribute on the server,
- * if event is enabled (see @ref Gatt_Event_Mask "Gatt Event Mask"). See @ref _evt_gatt_attr_modified.
+ * if event is enabled (see @ref Gatt_Event_Mask "Gatt Event Mask").
+ * See @ref _evt_gatt_attr_modified_IDB04A1 or @ref _evt_gatt_attr_modified__IDB05A1.
  */
 #define EVT_BLUE_GATT_ATTRIBUTE_MODIFIED          (0x0C01)
-typedef __packed struct _evt_gatt_attr_modified{
+typedef __packed struct _evt_gatt_attr_modified_IDB05A1{
   uint16_t conn_handle; /**< The connection handle which modified the attribute. */
   uint16_t attr_handle; /**< Handle of the attribute that was modified. */
   uint8_t  data_length; /**< The length of the data */
-#if BLUENRG_MS
-///@cond BLUENRG_MS
   uint16_t  offset; /**< Offset from which the write has been performed by the peer device */
-///@endcond
-#endif
   uint8_t  att_data[VARIABLE_SIZE]; /**< The new value (length is data_length) */
-} PACKED evt_gatt_attr_modified;
+} PACKED evt_gatt_attr_modified_IDB05A1;
+
+typedef __packed struct _evt_gatt_attr_modified_IDB04A1{
+  uint16_t conn_handle; /**< The connection handle which modified the attribute. */
+  uint16_t attr_handle; /**< Handle of the attribute that was modified. */
+  uint8_t  data_length; /**< The length of the data */
+  uint8_t  att_data[VARIABLE_SIZE]; /**< The new value (length is data_length) */
+} PACKED evt_gatt_attr_modified_IDB04A1;
 
 /**
  * This event is generated by the client/server to the application on a GATT timeout (30 seconds).