freq | number | TX central frequency in MHz (unsigned float, Hz precision)
rfch | number | Concentrator "RF chain" used for TX (unsigned integer)
powe | number | TX output power in dBm (unsigned integer, dBm precision)
modu | string | Modulation identifier "LORA" or "FSK"
datr | string | LoRa datarate identifier (eg. SF12BW500)
datr | number | FSK datarate (unsigned, in bits per second)
codr | string | LoRa ECC coding rate identifier
fdev | number | FSK frequency deviation (unsigned integer, in Hz)
ipol | bool
| Lora modulation polarization inversion
prea | number | RF preamble size (unsigned integer)
size | number | RF packet payload size in bytes (unsigned integer)
data | string | Base64 encoded RF packet payload, padding optional
ncrc | bool
| If true, disable the CRC of the physical layer (optional)
Not all field are necessary, below is an example:
1) First set up a LoRa Shield with this code: LoRaReceiver. So the LoRa Shield will receive the
data at frequency 915.6Mhz, SF7BW125, CR: 4/5
2) Edit a file (any name) under /var/iot/push/ with below content.
{"txpk":{"freq":915.6,"powe":20,"datr":"SF7BW125","codr":"4/5","ipol":false,"data":"test"}}
And then we can see below output
LG02 LoRa Gateway User Manual
www.dragino.com
35 / 63
Need help?
Do you have a question about the LG02 and is the answer not in the manual?