my_sensors v0.1.0-rc2 MySensors.Transport.UART

UART Tranport for MySensors.

Link to this section Summary

Functions

Callback for MySensors.Transport

  • device - Required. Example: /dev/ttyUSB0
  • speed - default: 115200,
  • seperator - default: “\n”

Write a packet

Link to this section Functions

Callback for MySensors.Transport

  • device - Required. Example: /dev/ttyUSB0
  • speed - default: 115200,
  • seperator - default: “\n”
Link to this function write(pid, packet)

Write a packet.

Callback implementation for MySensors.Transport.write/2.