Bluetooth: GATT: Add BT_GATT_DISCOVER_ATTRIBUTE type
This adds BT_GATT_DISCOVER_ATTRIBUTE which can be used to discover any type of attribute in a given range. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
0aa10521f4
commit
bcf3d8e16b
2 changed files with 30 additions and 15 deletions
|
@ -887,6 +887,15 @@ enum {
|
|||
* as it may incur in extra round trips.
|
||||
*/
|
||||
BT_GATT_DISCOVER_DESCRIPTOR,
|
||||
/** Discover Attributes.
|
||||
*
|
||||
* Discover Attributes of any type.
|
||||
*
|
||||
* Note: The use of this type of discover is not recommended for
|
||||
* discovering in ranges across multiple services/characteristics as
|
||||
* it may incur in more round trips.
|
||||
*/
|
||||
BT_GATT_DISCOVER_ATTRIBUTE,
|
||||
};
|
||||
|
||||
/** @brief GATT Discover Attributes parameters */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue