nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ bt_gatt_dm_attr_chrc_val()

struct bt_gatt_chrc * bt_gatt_dm_attr_chrc_val ( const struct bt_gatt_dm_attr attr)

#include <include/bluetooth/gatt_dm.h>

Access characteristic value saved with characteristic attribute.

This function access the characteristic value parsed and saved previously in the user_data attribute field.

Note
Use it only on the attribute parsed in this module. To access characteristic attribute use bt_gatt_dm_char_next function.
Parameters
[in]attrCharacteristic attribute
Returns
The characteristic value from parser attribute or NULL when attribute UUID value is unexpected.