Bluetooth: GATT: Add value support to bt_gatt_subscribe

This enables bt_gatt_subscribe to subscribe using indication value in
addition to notification.

Change-Id: I25f3b057e36b023a79fb66b11b70716ecc299ba9
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
Luiz Augusto von Dentz 2015-09-15 10:40:03 +03:00 committed by Anas Nashif
commit 1b4fb0d8a6
3 changed files with 7 additions and 3 deletions

View file

@ -766,6 +766,8 @@ struct bt_gatt_subscribe_params {
void (*destroy)(void *user_data);
/** Subscribe value handle */
uint16_t value_handle;
/** Subscribe value */
uint16_t value;
struct bt_gatt_subscribe_params *_next;
};