repeat message down a chain, adding to the payload at each repeating device
radio chip selection
Radio chip driver is not included, because options are available.
If you're using SX1272 or SX1276, then import sx127x driver into your program.
if you're using SX1261 or SX1262, then import sx126x driver into your program.
if you're using SX1280, then import sx1280 driver into your program.
If you're using NAmote72 or Murata discovery, then you must import only sx127x driver.
UNIT 0x00transmitting only device: mandatory.
UNIT 0x01: repeating device
- Uni-directional network: Each unit can only receive message from
UNIT_ID - 1(previous unit)
UINT nreceiving only device
LAST_UNIT: mandatory; prints payload onto UART.
Each device in the network is uniquely identified by:
UNIT_ID: ID byte designating address of this device.
UNIT_LAST: If defined, this device prints payload onto serial port instead of re-transmitting payload.
All devices in network must be configured identically with the following:
TX_INTERVAL_US: how often to take measurement and send to
UNIT_ID+1(time of complete cycle).
MAX_TX_LENGTH: Maximum size of payload, in bytes. Payload is sent in fragments when exceeds this value; aka size of each fragment.
TXRX_PADDING_US: Time allotted for RX-TX turnaround and CPU overhead
MAX_TX_ATTEMPTS: Count of transmit retries permitted
SPREADING_FACTORLoRa configuration of datarate
CF_MHZ: Operating radio frequency
Duration of retry interval is auto-calculated from LoRa modem configuration (bandwidth/sf) and
Take care that
TX_INTERVAL_US value is appropriate relative to total retry interval (interval *
mbed-os.lib@6:63981d2f88a7, 2019-09-16 (annotated)
- Wayne Roberts
- Mon Sep 16 11:19:32 2019 -0700
remove radio driver
Who changed what in which revision?
|User||Revision||Line number||New contents of line|