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:
parent
d87d1878b4
commit
1b4fb0d8a6
3 changed files with 7 additions and 3 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue