1.0.1
Module for reading and writing LoRa packets.
Extends events.EventEmitter
Start the LoRa radio, receiving and transmitting packets to uplink and downlink.
(Object)
Configuration options. This is passed to stream.Duplex when constructing
uplink
and
downlink
and supports the following additional option:
Name | Description |
---|---|
options.cfg_dir string?
|
Path to directory containing LoRa radio configuration files. Defaults to
packet_forwarder_shared/lora_pkt_fwd
in the module directory.
|
Duplex stream for receiving packets from the LoRa radio.
Read PUSH_DATA
packets. Write PUSH_ACK
packets.
Type: stream.Duplex?
Duplex stream for transmitting packets using the LoRa radio.
Read PULL_DATA
and TX_ACK
packets. Write PULL_ACK
and PULL_RESP
packets.
Type: stream.Duplex?
Stop logging diagnostic messages.
A logging_stop event is emitted when logging stops.
Readable stream containing diagnostic messages.
Type: stream.Readable?
Readable stream containing diagnostic messages.
Type: stream.Readable?