harald v0.1.1 Harald.Transport View Source
A server to manage lower level transports and parse bluetooth events.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
The default handlers that Transport will start
Send an HCI command to the Bluetooth HCI
Start the transport
Link to this section Types
Link to this type
adapter_state()
View Source
adapter_state()
View Source
adapter_state() :: map()
adapter_state() :: map()
Link to this type
command()
View Source
command()
View Source
command() :: binary()
command() :: binary()
Link to this type
namespace()
View Source
namespace()
View Source
namespace() :: atom()
namespace() :: atom()
Link to this section Functions
Link to this function
child_spec(arg) View Source
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
default_handlers()
View Source
default_handlers()
View Source
default_handlers() :: [Harald.LE, ...]
default_handlers() :: [Harald.LE, ...]
The default handlers that Transport will start.
Link to this function
name(namespace) View Source
Link to this function
send_command(namespace, command) View Source
Send an HCI command to the Bluetooth HCI.
Link to this function
start_link(passed_args)
View Source
start_link(passed_args)
View Source
start_link(keyword()) :: GenServer.server()
start_link(keyword()) :: GenServer.server()
Start the transport.