grizzly v0.8.5 Grizzly.CommandClass.ManufacturerSpecific View Source

Link to this section Summary

Link to this section Types

Link to this type

device_id_data_format() View Source
device_id_data_format() :: :utf8 | :binary

Link to this type

device_id_data_format_byte() View Source
device_id_data_format_byte() :: 0 | 1

Link to this type

device_id_type() View Source
device_id_type() ::
  :oem_factory_default_device_id_type | :serial_number | :pseudo_random

Link to this type

device_id_type_byte() View Source
device_id_type_byte() :: 0 | 1 | 2

Link to this type

device_specific_report() View Source
device_specific_report() :: %{
  device_id_type: device_id_type(),
  device_id: binary()
}

Link to this type

manufacturer_report() View Source
manufacturer_report() :: %{
  manufacturer_id: non_neg_integer(),
  product_type_id: non_neg_integer(),
  product_id: non_neg_integer()
}

Link to this section Functions

Link to this function

decode_device_id_data_format(enc_format) View Source
decode_device_id_data_format(device_id_data_format_byte()) ::
  device_id_data_format()

Link to this function

decode_device_id_type(byte) View Source
decode_device_id_type(device_id_type_byte()) :: device_id_type()

Link to this function

encode_device_id_type(device_id_type) View Source
encode_device_id_type(device_id_type()) ::
  {:ok, device_id_type_byte()} | {:error, :invalid_arg, any()}