my_sensors v0.2.0 MySensors.Transport.Local

Elixir GenServer implementation of a MySensors.Transport.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Dispatch a packet to the Gateway. This is a test/debugging function

Validate opts passed to the transport

Register a process to receive callback packets

Stop the transport

Link to this section Functions

Link to this function child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function dispatch(packet)

Dispatch a packet to the Gateway. This is a test/debugging function.

Validate opts passed to the transport.

Callback implementation for MySensors.Transport.opts/1.

Register a process to receive callback packets.

Link to this function stop(reason \\ :shutdown)

Stop the transport.