GATT Database Access Functions.
More...
GATT Database Access Functions.
Function wiced_bt_gattdb_get_attribute_uuid.
- Parameters
-
[in] | p_db_entry | : GATT DB atrribute entry |
[out] | p_uuid | : pointer to UUID holder. Application should pass the required size of UUID It is recommended to pass uint8_t[16], so that we can avoid overflow in case of 128 bit uuid |
- Returns
- size of the UUID
Function wiced_bt_gattdb_get_attribute_value_uuid16.
Utility to get service UUID from GATTDB Primary/Secondary services
- Parameters
-
[in] | p_db_entry | : GATT DB atrribute entry |
- Returns
- 16 bit uuid
uint16_t wiced_bt_gattdb_get_charcteristic_descriptor_handle |
( |
uint16_t |
char_handle, |
|
|
uint16_t |
descriptor_uuid |
|
) |
| |
Function wiced_bt_gattdb_get_charcteristic_descriptor_handle.
Utility to get characteristic descriptor handle value from GATTDB. If characteristic does not have a characteristic descriptor with specified UUID, function will return zero
- Parameters
-
[in] | char_handle | : GATT DB characteristic handle |
[in] | descriptor_uuid | : Characteristic descriptor UUID |
- Returns
- characteristic descriptor handle
Function wiced_bt_gattdb_get_handle.
Utility to get attribute handle from GATT DB entry To get next attribute handle, application needs traverse by wiced_bt_gattdb_next_entry
- Parameters
-
[in] | p_db_entry | : GATT DB atrribute entry |
- Returns
- attribute handle
Function wiced_bt_gattdb_next_entry.
Find the next GATT attribute entry in the local GATT database To find the first attribute entry pass the address of the local GATT database as a parameter
- Parameters
-
[in] | p_db_entry | : GATT DB atrribute entry |
- Returns
- pointer to next attribute entry