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() :: map()

Link to this type

namespace() View Source
namespace() :: atom()

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

default_handlers() View Source
default_handlers() :: [Harald.LE, ...]

The default handlers that Transport will start.

Link to this function

send_command(namespace, command) View Source
send_command(namespace(), command()) :: any()

Send an HCI command to the Bluetooth HCI.

Link to this function

start_link(passed_args) View Source
start_link(keyword()) :: GenServer.server()

Start the transport.