my_sensors v0.2.0 MySensors.Gateway
Handles parsed MySensors packets.
Link to this section Summary
Functions
Start a Gateway.
- Transport - the mechanism in which MySensors.Packet are exchanged.
- Opts - opts passed to the transport
Returns a specification to start this module under a supervisor
Send a packet
Link to this section Functions
Link to this function
add_transport(transport, opts)
Start a Gateway.
- Transport - the mechanism in which MySensors.Packet are exchanged.
- Opts - opts passed to the transport.
Link to this function
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor.
Link to this function
write_packet(packet)
Send a packet.