Hello there,
this is driving me crazy!, I’m compiling the example Lorawan_TFT and changing LoRaMacRegion_t loraWanRegion = LORAMAC_REGION_868 has no effect for me, trying to force the ACTIVE_REGION in header files had the effect visible in the log file below, a monster that transmit on EU868 and receives in CN470, fantastic!
Anybody had the same problem or knows for sure where to change the region? Many thanks!!!
LoRaWAN EU868 Class A start!
+REGION=CN470
+OTAA=1
+Class=A
+ADR=1
+DR=3
+Power=17
+IsTxConfirmed=1
+AppPort=2
+DutyCycle=15000
+Retry=1
+DevEui=########################(For OTAA Mode)
+AppEui=########################(For OTAA Mode)
+AppKey=##################################(For OTAA Mode)
+NwkSKey=88888888888888888888888888888888(For ABP Mode)
+AppSKey=88888888888888888888888888888888(For ABP Mode)
+DevAddr=007E6AE4(For ABP Mode)
+RX1DELAY=1
+RX2DELAY=2
+RX2DR_TYPE=0
+RX2FREQ_TYPE=0
+RX2DR=0
+RX2FREQ=505300000
sx1262 spi test OK
joining…
TX on freq 868100000 Hz DR 3 power 14
Event : Tx Done
RX on freq 868100000 Hz at DR 3
Event : Rx Timeout
RX on freq 505300000 Hz at DR 0
Event : Rx Timeout
TX on freq 868500000 Hz DR 3 power 14