kriswiner/CMWX1ZZABZ

txPower and DataRate settings

everhamme opened this issue · 2 comments

I'd like to modify setDataRate and setTxPower. Could you document valid range of values in // Configure LoRaWAN connection? I tried hunting down the forks and its not clear.. Here's what I found

Valid DataRate

  • LoRaWAN US or AU:
  • 0: SF = 10, BW = 125 kHz, BitRate = 980 bps
  • 1: SF = 9, BW = 125 kHz, BitRate = 1760 bps
  • 2: SF = 8, BW = 125 kHz, BitRate = 3125 bps
  • 3: SF = 7, BW = 125 kHz, BitRate = 5470 bps

Valid TxPower

I believe its expressed in dB
0 to 20 (eu) ... maybe 0 to 14 (us)

Let me know!