harald v0.1.1 Harald.HCI.Event View Source
Serialization module for HCI Events.
The HCI Event Packet is used by the Controller to notify the Host when events occur.
Reference: Version 5.0, Vol 2, Part E, 5.4.4
Link to this section Summary
Types
Each event is assigned a 1-Octet event code used to uniquely identify different types of events
Functions
A list of modules representing implemented events
HCI packet indicator for HCI Event Packet
Link to this section Types
Link to this type
deserialize_ret()
View Source
deserialize_ret()
View Source
deserialize_ret() ::
{:ok, t() | [t()]}
| {:error, {:bad_event_code | :unhandled_event_code, event_code()}}
deserialize_ret() :: {:ok, t() | [t()]} | {:error, {:bad_event_code | :unhandled_event_code, event_code()}}
Link to this type
event_code()
View Source
event_code()
View Source
event_code() :: pos_integer()
event_code() :: pos_integer()
Each event is assigned a 1-Octet event code used to uniquely identify different types of events.
Reference: Version 5.0, Vol 2, Part E, 5.4.4
Link to this type
serialize_ret()
View Source
serialize_ret()
View Source
serialize_ret() :: {:ok, binary()} | Harald.HCI.Event.LEMeta.serialize_ret()
serialize_ret() :: {:ok, binary()} | Harald.HCI.Event.LEMeta.serialize_ret()
Link to this type
t()
View Source
t()
View Source
t() :: struct()
t() :: struct()
Link to this section Functions
Link to this function
event_modules() View Source
A list of modules representing implemented events.
Link to this function
indicator() View Source
HCI packet indicator for HCI Event Packet.
Reference: Version 5.0, Vol 5, Part A, 2