auto_api v0.1.0 AutoApi.Capability behaviour View Source

Link to this section Summary

Functions

Returns full capabilities with all of them marked as disabled

Link to this section Functions

Returns full capabilities with all of them marked as disabled

ie> <<cap_len, first_cap :: binary-size(3), _::binary>> = AutoApi.Capability.blank_capabilities
ie> cap_len
8
ie> first_cap
<<0, 0x20, 0>>

Link to this section Callbacks

Link to this callback capabilities() View Source
capabilities() :: [any()]
Link to this callback capability_size() View Source
capability_size() :: integer()
Link to this callback command_name(integer) View Source
command_name(integer()) :: atom()
command_name(integer()) :: atom()
Link to this callback commands() View Source
commands() :: [{integer(), atom()}]
Link to this callback description() View Source
description() :: String.t()
Link to this callback to_map(binary) View Source
to_map(binary()) :: [any()]
Link to this callback to_map(binary, integer) View Source
to_map(binary(), integer()) :: map()