drivers/nble: Sync ble_gatt_notif_ind_rsp definition

The definition is not in sync with firmware which cause the following
error:

bt: rpc_deserialize (0xa8008a24): on_ble_gatts_send_notif_ind_rsp
panic: errcode -1

Change-Id: Iddaa1eece7c43b5707c01db6e053d104a2a846e6
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
Luiz Augusto von Dentz 2016-02-05 15:02:05 +02:00 committed by Anas Nashif
commit 4efacd3d5b
2 changed files with 4 additions and 2 deletions

View file

@ -141,10 +141,12 @@ enum ble_gatts_notif_ind_type {
};
struct ble_gatt_notif_ind_rsp {
/**< Callback function to call on reception of this message */
bt_gatt_notify_func_t cback;
int status; /**< Status of the operation. */
/**< Connection handle, can be 0xFFFF if value change broadcast */
uint16_t conn_handle;
uint16_t handle; /**< Characteristic value handle */
struct bt_gatt_attr *attr; /**< GATT Attribute */
/**< MSG_ID_BLE_GATTS_SEND_NOTIF_RSP for notification or
* MSG_ID_BLE_GATTS_SEND_IND_RSP for indication
*/