TTN settings for join

This commit is contained in:
Verkehrsrot 2019-11-08 23:06:31 +01:00 committed by nerdyscout
parent 28d9def1d4
commit 2252d65375

View File

@ -89,9 +89,7 @@ void lora_setupForNetwork(bool preJoin) {
// other regions, this will need to be changed. // other regions, this will need to be changed.
LMIC_selectSubBand(1); LMIC_selectSubBand(1);
#elif CFG_LMIC_EU_like #elif CFG_LMIC_EU_like
// setting for TheThingsNetwork // settings for TheThingsNetwork
// TTN uses SF9, not SF12, for RX2 window
LMIC.dn2Dr = EU868_DR_SF9;
// Enable link check validation // Enable link check validation
LMIC_setLinkCheckMode(true); LMIC_setLinkCheckMode(true);
#endif #endif