View Source BlueHeron.GATT.Characteristic.Descriptor (blue_heron v0.5.4)
Struct that represents a GATT characteristic descriptor.
Summary
Types
Functions
Create a characteristic with fields taken from the map args
.
The following fields are required:
permissions
: The characteristic descriptor property flags. Integer.
Example:
iex> BlueHeron.GATT.Characteristic.Descriptor.new(%{
...> value: 0x0001,
...> })
%BlueHeron.GATT.Characteristic.Descriptor{permissions: 2, value: <<0,0>>}