# Functions
GetOptions reads the options from the environment and returns an Options struct.
GoRFLinkInit Entry point for calling.
Not implemented yetvar messageHandler mqtt.MessageHandler = func(client mqtt.Client, msg mqtt.Message) {
// fixme
}
*/ NewPublisher return a Publisher according to the options specified.
NewSensorChannels Initialization.
NewSerialChannels Initialization.
NewSerialReader returns a SensorReader according to the options specified.
No description provided by the author
No description provided by the author
SensorDataFromMessage crafts a SensorData struct from a message read from RFLink.
# Structs
Options stores the options needed to communicate with RFLink and the message queue.
Publisher takes input from a SensorReader and publishes the SensorData that has been read in an MQTT topic.
SensorChannel Struct for Channels of Sensor messages.
SensorData represents one message received from RFLink.
SerialChannel Struct for Channels of Serial messages.
SerialReader reads SensorData from the serial connection with RFLink.