A GATT characteristic inside a Espex.BluetoothProxy.Service.
Built by Espex.BluetoothProxy adapters and passed inside service
trees during Espex.BluetoothProxy.gatt_get_services/1 streaming.
Espex converts to the wire BluetoothGATTCharacteristic at the send
boundary.
UUID encoding
See Espex.BluetoothProxy.encode_uuid/1 for the shared UUID rules.
properties
The :properties field is the standard BLE characteristic-properties
bitfield (e.g. 0x02 = READ, 0x08 = WRITE, 0x10 = NOTIFY).
Espex passes the value through untouched; adapters should set it
from whatever their underlying BLE stack reports.
Summary
Functions
Build a characteristic from keyword options.
Convert to the wire Proto.BluetoothGATTCharacteristic.
Types
@type t() :: %Espex.BluetoothProxy.Characteristic{ descriptors: [Espex.BluetoothProxy.Descriptor.t()], handle: non_neg_integer(), properties: non_neg_integer(), uuid: Espex.BluetoothProxy.uuid() }