drivers/nble: Add initial implementation of on_ble_gatts_write_evt

Change-Id: Ib28d35d6f5aac697dbbbac8e7d01e6bfcf6545c6
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
Luiz Augusto von Dentz 2016-02-04 12:58:19 +02:00 committed by Anas Nashif
commit 922b83ac38
2 changed files with 21 additions and 5 deletions

View file

@ -93,12 +93,11 @@ enum BLE_GATTS_WR_OPS {
* Write event context data structure.
*/
struct ble_gatt_wr_evt {
/**< Attribute mapping indexes */
struct ble_gatt_attr_handle_mapping attr;
struct bt_gatt_attr *attr; /**< GATT Attribute */
uint16_t conn_handle; /**< Connection handle */
uint16_t attr_handle; /**< handle of attribute to write */
uint16_t offset; /**< offset in attribute buffer */
uint8_t op; /**< @ref BLE_GATTS_WR_OPS */
uint8_t reply; /**< 1 if reply required, 0 otherwise */
};
/**