Two recent LoRaWan changes appear to be incompatible with RegionUS915 LoRaWan requirements. Unless the developer changes these within the runtime, applications using these versions within RegionUS915 will not work.
- The first:
Change to the default Data Rate within the Lora library
set default dr to dr5, set default min sf to sf11
Date: May 7
#define LORAWAN_DEFAULT_DATARATE DR_5
DR_5 is not valid for US915
There is a LoRa document that says DR_5 is either “Reserved For Future” use or “Not Defined”.
Is there an override or work around other than changing the #define within the runtime? file LoRaWan_APP.cpp?
- The second:
Change to RegionUS915 radio preamble
modified default min Tx Dr. modified tx preamble length
Date: Jul 9
Change: preamble length changed from 8 to 14
From: Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, bandwidth, phyDr, 1, 8, false, true, 0, 0, false, 3e3 );
To: Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, bandwidth, phyDr, 1, 14, false, true, 0, 0, false, 3e3 );
The same LoRaWan document seems to say preamble length should be 8, where does the change to 14 come from?
There does not appear to be any override/work around other than changing the runtime. What is the resolution to this?