ble_gatt_chr_def struct
Represents the definition of a GATT characteristic.
Fields
Pointer to characteristic UUID; use BLE_UUIDxx_DECLARE macros to declare proper UUID; NULL if there are no more characteristics in the service.
Callback that gets executed when this characteristic is read or written.
Optional argument for callback.
Array of this characteristic's descriptors. NULL if no descriptors. Do not include CCCD; it gets added automatically if this characteristic's notify or indicate flag is set.
Specifies the set of permitted operations for this characteristic.
Specifies minimum required key size to access this characteristic.
At registration time, this is filled in with the characteristic's value attribute handle.
Client Presentation Format Descriptors.
ble_gatt_chr_def is allocated by 1 symbol and is freed by 1 symbol:
![]()
ble_gatt_chr_def