2025-05-28 7:03 AM
Hi,
I have a B-WL5M-SUBG1 board and I built ST's official LoRaWAN_End_Node application that I got from github and deployed to the board successfully. I changed the activation type as ABP (Activation By Personalization) and observed the logs via serial port. Tx operation happens in every 10 sec. for a while then the log says for example "4378s018:Next Tx in : ~2871 second(s)" and stops, after something close to 2871 sec. it starts Tx operation again. It keeps going like this in a stable way.
Some Tx operation - stops for 2871 sec. - some Tx operation again - stops for 2871 sec. - .................
I tracked this line in the source code a bit but I couldn't find the place I need to adjust in order to change this time limit or remove it totally. Furthermore why there is such a process?
By the way, in the sys_conf.h file it is configured like this "#define LOW_POWER_DISABLE 0", means low power mode is enabled.
Any help will be appreciated.
Here is some log as an example:
[INFO] Connected to STMicroelectronics STLink Virtual COM Port (COM7) at 115200 baud.
[2025-05-28 15:23:06] 0s427:APPLICATION STARTED
[2025-05-28 15:23:06] 0s427:LoRaWAN_Class: CLASS_A
[2025-05-28 15:23:06] 0s427:TX_Power: 0
[2025-05-28 15:23:06] 0s427:Activation_Type: ABP
[2025-05-28 15:23:06] 0s427:Tx_Periodicity: 10000 ms | 10 second
[2025-05-28 15:23:06] APPLICATION_VERSION: V1.3.1
[2025-05-28 15:23:06] MW_LORAWAN_VERSION: V2.6.1
[2025-05-28 15:23:06] MW_RADIO_VERSION: V1.3.1
[2025-05-28 15:23:06] L2_SPEC_VERSION: V1.0.4
[2025-05-28 15:23:06] RP_SPEC_VERSION: V2-1.0.3
[2025-05-28 15:23:35] 29s993:VDDA: 254
[2025-05-28 15:23:35] 29s993:temp: 18
[2025-05-28 15:23:35] 29s993:Sending the payload: Hello ST Community
[2025-05-28 15:23:35] 30s000:TX on freq 868300000 Hz at DR 0
[2025-05-28 15:23:35] 30s001:SEND REQUEST
[2025-05-28 15:23:37] 31s813:MAC txDone
[2025-05-28 15:23:38] 32s845:RX_1 on freq 868300000 Hz at DR 0
[2025-05-28 15:23:38] 33s043:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:23:38] 33s043:MAC rxTimeOut
[2025-05-28 15:23:39] 33s845:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:23:39] 34s043:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:23:39] 34s043:MAC rxTimeOut
[2025-05-28 15:23:39]
[2025-05-28 15:23:39] ###### ========== MCPS-Confirm =============
[2025-05-28 15:23:39] ###### U/L FRAME:0001 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:24:05] 59s536:VDDA: 254
[2025-05-28 15:24:05] 59s536:temp: 18
[2025-05-28 15:24:05] 59s536:Sending the payload: Hello ST Community
[2025-05-28 15:24:05] 59s540:TX on freq 868300000 Hz at DR 0
[2025-05-28 15:24:05] 59s542:SEND REQUEST
[2025-05-28 15:24:07] 61s353:MAC txDone
[2025-05-28 15:24:08] 62s385:RX_1 on freq 868300000 Hz at DR 0
[2025-05-28 15:24:08] 62s583:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:24:08] 62s583:MAC rxTimeOut
[2025-05-28 15:24:09] 63s385:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:24:09] 63s583:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:24:09] 63s583:MAC rxTimeOut
[2025-05-28 15:24:09]
[2025-05-28 15:24:09] ###### ========== MCPS-Confirm =============
[2025-05-28 15:24:09] ###### U/L FRAME:0002 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:24:34] 89s076:VDDA: 254
[2025-05-28 15:24:34] 89s076:temp: 18
[2025-05-28 15:24:34] 89s076:Sending the payload: Hello ST Community
[2025-05-28 15:24:34] 89s080:TX on freq 868300000 Hz at DR 0
[2025-05-28 15:24:34] 89s082:SEND REQUEST
[2025-05-28 15:24:36] 90s893:MAC txDone
[2025-05-28 15:24:37] 91s925:RX_1 on freq 868300000 Hz at DR 0
[2025-05-28 15:24:37] 92s124:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:24:37] 92s124:MAC rxTimeOut
[2025-05-28 15:24:38] 92s925:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:24:38] 93s124:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:24:38] 93s124:MAC rxTimeOut
[2025-05-28 15:24:38]
[2025-05-28 15:24:38] ###### ========== MCPS-Confirm =============
[2025-05-28 15:24:38] ###### U/L FRAME:0003 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:25:04] 118s616:VDDA: 254
[2025-05-28 15:25:04] 118s616:temp: 18
[2025-05-28 15:25:04] 118s616:Sending the payload: Hello ST Community
[2025-05-28 15:25:04] 118s620:TX on freq 868300000 Hz at DR 0
[2025-05-28 15:25:04] 118s622:SEND REQUEST
[2025-05-28 15:25:06] 120s432:MAC txDone
[2025-05-28 15:25:07] 121s464:RX_1 on freq 868300000 Hz at DR
[2025-05-28 15:25:07] 121s663:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:25:07] 121s663:MAC rxTimeOut
[2025-05-28 15:25:08] 122s464:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:25:08] 122s663:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:25:08] 122s663:MAC rxTimeOut
[2025-05-28 15:25:08]
[2025-05-28 15:25:08] ###### ========== MCPS-Confirm =============
[2025-05-28 15:25:08] ###### U/L FRAME:0004 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:25:33] 148s156:VDDA: 254
[2025-05-28 15:25:33] 148s156:temp: 18
[2025-05-28 15:25:33] 148s156:Sending the payload: Hello ST Community
[2025-05-28 15:25:33] 148s160:TX on freq 868500000 Hz at DR 0
[2025-05-28 15:25:33] 148s163:SEND REQUEST
[2025-05-28 15:25:35] 149s973:MAC txDone
[2025-05-28 15:25:36] 151s005:RX_1 on freq 868500000 Hz at DR 0
[2025-05-28 15:25:36] 151s204:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:25:36] 151s204:MAC rxTimeOut
[2025-05-28 15:25:37] 152s005:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:25:37] 152s204:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:25:37] 152s204:MAC rxTimeOut
[2025-05-28 15:25:37]
[2025-05-28 15:25:37] ###### ========== MCPS-Confirm =============
[2025-05-28 15:25:37] ###### U/L FRAME:0005 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:26:03] 177s696:VDDA: 254
[2025-05-28 15:26:03] 177s696:temp: 18
[2025-05-28 15:26:03] 177s696:Sending the payload: Hello ST Community
[2025-05-28 15:26:03] 177s700:TX on freq 868500000 Hz at DR 0
[2025-05-28 15:26:03] 177s703:SEND REQUEST
[2025-05-28 15:26:05] 179s513:MAC txDone
[2025-05-28 15:26:06] 180s545:RX_1 on freq 868500000 Hz at DR 0
[2025-05-28 15:26:06] 180s744:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:26:06] 180s744:MAC rxTimeOut
[2025-05-28 15:26:07] 181s545:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:26:07] 181s744:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:26:07] 181s744:MAC rxTimeOut
[2025-05-28 15:26:07]
[2025-05-28 15:26:07] ###### ========== MCPS-Confirm =============
[2025-05-28 15:26:07] ###### U/L FRAME:0006 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:26:32] 207s236:VDDA: 254
[2025-05-28 15:26:32] 207s236:temp: 18
[2025-05-28 15:26:32] 207s236:Sending the payload: Hello ST Community
[2025-05-28 15:26:32] 207s240:TX on freq 868500000 Hz at DR 0
[2025-05-28 15:26:32] 207s243:SEND REQUEST
[2025-05-28 15:26:34] 209s053:MAC txDone
[2025-05-28 15:26:35] 210s085:RX_1 on freq 868500000 Hz at DR
[2025-05-28 15:26:35] 210s284:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:26:35] 210s284:MAC rxTimeOut
[2025-05-28 15:26:36] 211s085:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:26:36] 211s284:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:26:36] 211s284:MAC rxTimeOut
[2025-05-28 15:26:36]
[2025-05-28 15:26:36] ###### ========== MCPS-Confirm =============
[2025-05-28 15:26:36] ###### U/L FRAME:0007 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:27:02] 236s776:VDDA: 254
[2025-05-28 15:27:02] 236s776:temp: 18
[2025-05-28 15:27:02] 236s776:Sending the payload: Hello ST Community
[2025-05-28 15:27:02] 236s780:TX on freq 868100000 Hz at DR 0
[2025-05-28 15:27:02] 236s783:SEND REQUEST
[2025-05-28 15:27:04] 238s593:MAC txDone
[2025-05-28 15:27:05] 239s625:RX_1 on freq 868100000 Hz at DR 0
[2025-05-28 15:27:05] 239s824:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:27:05] 239s824:MAC rxTimeOut
[2025-05-28 15:27:06] 240s625:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:27:06] 240s824:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:27:06] 240s824:MAC rxTimeOut
[2025-05-28 15:27:06]
[2025-05-28 15:27:06] ###### ========== MCPS-Confirm =============
[2025-05-28 15:27:06] ###### U/L FRAME:0008 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:27:31] 266s316:VDDA: 254
[2025-05-28 15:27:31] 266s316:temp: 18
[2025-05-28 15:27:32] 266s316:Sending the payload: Hello ST Community
[2025-05-28 15:27:32] 266s320:TX on freq 868300000 Hz at DR 0
[2025-05-28 15:27:32] 266s323:SEND REQUEST
[2025-05-28 15:27:33] 268s133:MAC txDone
[2025-05-28 15:27:34] 269s166:RX_1 on freq 868300000 Hz at DR 0
[2025-05-28 15:27:35] 269s364:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:27:35] 269s364:MAC rxTimeOut
[2025-05-28 15:27:35] 270s166:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:27:36] 270s364:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:27:36] 270s364:MAC rxTimeOut
[2025-05-28 15:27:36]
[2025-05-28 15:27:36] ###### ========== MCPS-Confirm =============
[2025-05-28 15:27:36] ###### U/L FRAME:0009 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:28:01] 295s856:VDDA: 254
[2025-05-28 15:28:01] 295s856:temp: 18
[2025-05-28 15:28:01] 295s856:Sending the payload: Hello ST Community
[2025-05-28 15:28:01] 295s860:TX on freq 868500000 Hz at DR 0
[2025-05-28 15:28:01] 295s863:SEND REQUEST
[2025-05-28 15:28:03] 297s673:MAC txDone
[2025-05-28 15:28:04] 298s706:RX_1 on freq 868500000 Hz at DR 0
[2025-05-28 15:28:04] 298s904:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:28:04] 298s904:MAC rxTimeOut
[2025-05-28 15:28:05] 299s706:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:28:05] 299s904:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:28:05] 299s904:MAC rxTimeOut
[2025-05-28 15:28:05]
[2025-05-28 15:28:05] ###### ========== MCPS-Confirm =============
[2025-05-28 15:28:05] ###### U/L FRAME:0010 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:28:31] 325s396:VDDA: 254
[2025-05-28 15:28:31] 325s396:temp: 18
[2025-05-28 15:28:31] 325s396:Sending the payload: Hello ST Community
[2025-05-28 15:28:31] 325s400:TX on freq 868500000 Hz at DR 0
[2025-05-28 15:28:31] 325s403:SEND REQUEST
[2025-05-28 15:28:32] 327s213:MAC txDone
[2025-05-28 15:28:33] 328s246:RX_1 on freq 868500000 Hz at DR 0
[2025-05-28 15:28:34] 328s444:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:28:34] 328s444:MAC rxTimeOut
[2025-05-28 15:28:34] 329s246:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:28:35] 329s444:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:28:35] 329s444:MAC rxTimeOut
[2025-05-28 15:28:35]
[2025-05-28 15:28:35] ###### ========== MCPS-Confirm =============
[2025-05-28 15:28:35] ###### U/L FRAME:0011 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:29:00] 354s936:VDDA: 254
[2025-05-28 15:29:00] 354s936:temp: 18
[2025-05-28 15:29:00] 354s936:Sending the payload: Hello ST Communit
[2025-05-28 15:29:00] 354s940:TX on freq 868500000 Hz at DR 0
[2025-05-28 15:29:00] 354s943:SEND REQUEST
[2025-05-28 15:29:02] 356s753:MAC txDone
[2025-05-28 15:29:03] 357s786:RX_1 on freq 868500000 Hz at DR 0
[2025-05-28 15:29:03] 357s984:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:29:03] 357s984:MAC rxTimeOut
[2025-05-28 15:29:04] 358s786:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:29:04] 358s984:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:29:04] 358s984:MAC rxTimeOut
[2025-05-28 15:29:04]
[2025-05-28 15:29:04] ###### ========== MCPS-Confirm =============
[2025-05-28 15:29:04] ###### U/L FRAME:0012 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:29:30] 384s476:VDDA: 254
[2025-05-28 15:29:30] 384s476:temp: 18
[2025-05-28 15:29:30] 384s476:Sending the payload: Hello ST Community
[2025-05-28 15:29:30] 384s480:TX on freq 868100000 Hz at DR 0
[2025-05-28 15:29:30] 384s483:SEND REQUEST
[2025-05-28 15:29:31] 386s293:MAC txDone
[2025-05-28 15:29:32] 387s326:RX_1 on freq 868100000 Hz at DR 0
[2025-05-28 15:29:33] 387s524:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:29:33] 387s524:MAC rxTimeOut
[2025-05-28 15:29:33] 388s326:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:29:34] 388s524:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:29:34] 388s524:MAC rxTimeOut
[2025-05-28 15:29:34
[2025-05-28 15:29:34] ###### ========== MCPS-Confirm =============
[2025-05-28 15:29:34] ###### U/L FRE:0013 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:29:59] 414s016:VDDA: 25
[2025-05-28 15:29:59] 414s016:temp: 18
[2025-05-28 15:29:59] 414s016:Sending the payload: Hello ST Community
[2025-05-28 15:29:59] 414s020:TX on freq 868500000 Hz at DR 0
[2025-05-28 15:29:59] 414s023:SEND REQUEST
[2025-05-28 15:30:01] 415s833:MAC txDone
[2025-05-28 15:30:02] 416s866:RX_1 on freq 868500000 Hz at DR 0
[2025-05-28 15:30:02] 417s064:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:30:02] 417s064:MAC rxTimeOut
[2025-05-28 15:30:03] 417s866:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:30:03] 418s064:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:30:03] 418s064:MAC rxTimeOut
[2025-05-28 15:30:03]
[2025-05-28 15:30:03] ###### ========== MCPS-Confirm =============
[2025-05-28 15:30:03] ###### U/L FRAME:0014 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:30:29] 443s556:VDDA: 254
[2025-05-28 15:30:29] 443s556:temp: 18
[2025-05-28 15:30:29] 443s556:Sending the payload: Hello ST Community
[2025-05-28 15:30:29] 443s560:TX on freq 868500000 Hz at DR 0
[2025-05-28 15:30:29] 443s563:SEND REQUEST
[2025-05-28 15:30:31] 445s374:MAC txDone
[2025-05-28 15:30:32] 446s407:RX_1 on freq 868500000 Hz at DR 0
[2025-05-28 15:30:32] 446s605:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:30:32] 446s605:MAC rxTimeOut
[2025-05-28 15:30:33] 447s407:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:30:33] 447s605:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:30:33] 447s605:MAC rxTimeOut
[2025-05-28 15:30:33]
[2025-05-28 15:30:33] ###### ========== MCPS-Confirm =============
[2025-05-28 15:30:33] ###### U/L FRAME:0015 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:30:58] 473s096:VDDA: 254
[2025-05-28 15:30:58] 473s096:temp: 18
[2025-05-28 15:30:58] 473s096:Sending the payload: Hello ST Community
[2025-05-28 15:30:58] 473s100:TX on freq 868300000 Hz at DR 0
[2025-05-28 15:30:58] 473s103:SEND REQUEST
[2025-05-28 15:31:00] 474s914:MAC txDone
[2025-05-28 15:31:01] 475s946:RX_1 on freq 868300000 Hz at DR 0
[2025-05-28 15:31:01] 476s144:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:31:01] 476s144:MAC rxTimeOut
[2025-05-28 15:31:02] 476s946:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:31:02] 477s144:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:31:02] 477s144:MAC rxTimeOut
[2025-05-28 15:31:02]
[2025-05-28 15:31:02] ###### ========== MCPS-Confirm =============
[2025-05-28 15:31:02] ###### U/L FRAME:0016 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:31:28] 502s636:VDDA: 254
[2025-05-28 15:31:28] 502s636:temp: 18
[2025-05-28 15:31:28] 502s636:Sending the payload: Hello ST Community
[2025-05-28 15:31:28] 502s640:TX on freq 868300000 Hz at DR 0
[2025-05-28 15:31:28] 502s643:SEND REQUEST
[2025-05-28 15:31:30] 504s454:MAC txDone
[2025-05-28 15:31:31] 505s486:RX_1 on freq 868300000 Hz at DR 0
[2025-05-28 15:31:31] 505s684:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:31:31] 505s684:MAC rxTimeOut
[2025-05-28 15:31:32] 506s486:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:31:32] 506s684:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:31:32] 506s684:MAC rxTimeOut
[2025-05-28 15:31:32]
[2025-05-28 15:31:32] ###### ========== MCPS-Confirm =============
[2025-05-28 15:31:32] ###### U/L FRAME:0017 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:31:57] 532s176:VDDA: 254
[2025-05-28 15:31:57] 532s176:temp: 18
[2025-05-28 15:31:57] 532s176:Sending the payload: Hello ST Community
[2025-05-28 15:31:57] 532s180:TX on freq 868100000 Hz at DR 0
[2025-05-28 15:31:57] 532s183:SEND REQUEST
[2025-05-28 15:31:59] 533s994:MAC txDone
[2025-05-28 15:32:00] 535s026:RX_1 on freq 868100000 Hz at DR 0
[2025-05-28 15:32:00] 535s224:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:32:00] 535s224:MAC rxTimeOut
[2025-05-28 15:32:01] 536s026:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:32:01] 536s224:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:32:01] 536s224:MAC rxTimeOut
[2025-05-28 15:32:01]
[2025-05-28 15:32:01] ###### ========== MCPS-Confirm =============
[2025-05-28 15:32:01] ###### U/L FRAME:0018 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:32:27] 561s716:VDDA: 254
[2025-05-28 15:32:27] 561s716:temp: 18
[2025-05-28 15:32:27] 561s716:Sending the payload: Hello ST Community
[2025-05-28 15:32:27] 561s720:TX on freq 868300000 Hz at DR 0
[2025-05-28 15:32:27] 561s723:SEND REQUEST
[2025-05-28 15:32:29] 563s534:MAC txDone
[2025-05-28 15:32:30] 564s566:RX_1 on freq 868300000 Hz at DR 0
[2025-05-28 15:32:30] 564s764:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:32:30] 564s764:MAC rxTimeOut
[2025-05-28 15:32:31] 565s566:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 15:32:31] 565s764:IRQ_RX_TX_TIMEOUT
[2025-05-28 15:32:31] 565s764:MAC rxTimeOut
[2025-05-28 15:32:31]
[2025-05-28 15:32:31] ###### ========== MCPS-Confirm =============
[2025-05-28 15:32:31] ###### U/L FRAME:0019 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 15:32:56] 591s256:VDDA: 254
[2025-05-28 15:32:56] 591s256:temp: 18
[2025-05-28 15:32:56] 591s256:Sending the payload: Hello ST Community
[2025-05-28 15:32:56] 591s256:Next Tx in : ~3038 second(s)
[2025-05-28 15:33:16] 610s790:VDDA: 254
[2025-05-28 15:33:16] 610s790:temp: 18
[2025-05-28 15:33:16] 610s790:Sending the payload: Hello ST Community
[2025-05-28 15:33:16] 610s790:Next Tx in : ~3019 second(s)
[2025-05-28 16:23:54] 3649s525:VDDA: 254
[2025-05-28 16:23:54] 3649s525:temp: 18
[2025-05-28 16:23:54] 3649s525:Sending the payload: Hello ST Community
[2025-05-28 16:23:54] 3649s529:TX on freq 868100000 Hz at DR 0
[2025-05-28 16:23:54] 3649s532:SEND REQUEST
[2025-05-28 16:23:56] 3651s342:MAC txDone
[2025-05-28 16:23:57] 3652s375:RX_1 on freq 868100000 Hz at DR 0
[2025-05-28 16:23:57] 3652s573:IRQ_RX_TX_TIMEOUT
[2025-05-28 16:23:57] 3652s573:MAC rxTimeOut
[2025-05-28 16:23:58] 3653s375:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 16:23:58] 3653s573:IRQ_RX_TX_TIMEOUT
[2025-05-28 16:23:58] 3653s573:MAC rxTimeOut
[2025-05-28 16:23:58]
[2025-05-28 16:23:58] ###### ========== MCPS-Confirm =============
[2025-05-28 16:23:58] ###### U/L FRAME:0020 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 16:24:24] 3679s065:VDDA: 254
[2025-05-28 16:24:24] 3679s065:temp: 18
[2025-05-28 16:24:24] 3679s065:Sending the payload: Hello ST Community
[2025-05-28 16:24:24] 3679s069:TX on freq 868100000 Hz at DR 0
[2025-05-28 16:24:24] 3679s071:SEND REQUEST
[2025-05-28 16:24:26] 3680s882:MAC txDone
[2025-05-28 16:24:27] 3681s915:RX_1 on freq 868100000 Hz at DR 0
[2025-05-28 16:24:27] 3682s113:IRQ_RX_TX_TIMEOUT
[2025-05-28 16:24:27] 3682s113:MAC rxTimeOut
[2025-05-28 16:24:28] 3682s915:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 16:24:28] 3683s113:IRQ_RX_TX_TIMEOUT
[2025-05-28 16:24:28] 3683s113:MAC rxTimeOut
[2025-05-28 16:24:28]
[2025-05-28 16:24:28] ###### ========== MCPS-Confirm =============
[2025-05-28 16:24:28] ###### U/L FRAME:0021 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 16:24:53] 3708s605:VDDA: 254
[2025-05-28 16:24:53] 3708s605:temp: 18
[2025-05-28 16:24:53] 3708s605:Sending the payload: Hello ST Community
[2025-05-28 16:24:53] 3708s609:TX on freq 868300000 Hz at DR 0
[2025-05-28 16:24:53] 3708s612:SEND REQUEST
[2025-05-28 16:24:55] 3710s422:MAC txDone
[2025-05-28 16:24:56] 3711s455:RX_1 on freq 868300000 Hz at DR 0
[2025-05-28 16:24:56] 3711s653:IRQ_RX_TX_TIMEOUT
[2025-05-28 16:24:56] 3711s653:MAC rxTimeOut
[2025-05-28 16:24:57] 3712s455:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 16:24:57] 3712s653:IRQ_RX_TX_TIMEOUT
[2025-05-28 16:24:57] 3712s653:MAC rxTimeOut
*
*
*
*
*
[2025-05-28 16:32:20] ###### ========== MCPS-Confirm =============
[2025-05-28 16:32:20] ###### U/L FRAME:0037 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 16:32:46] 4181s246:VDDA: 254
[2025-05-28 16:32:46] 4181s246:temp: 18
[2025-05-28 16:32:46] 4181s246:Sending the payload: Hello ST Community
[2025-05-28 16:32:46] 4181s250:TX on freq 868500000 Hz at DR 0
[2025-05-28 16:32:46] 4181s252:SEND REQUEST
[2025-05-28 16:32:48] 4183s063:MAC txDone
[2025-05-28 16:32:49] 4184s095:RX_1 on freq 868500000 Hz at DR 0
[2025-05-28 16:32:49] 4184s293:IRQ_RX_TX_TIMEOUT
[2025-05-28 16:32:49] 4184s293:MAC rxTimeOut
[2025-05-28 16:32:50] 4185s095:RX_2 on freq 869525000 Hz at DR 0
[2025-05-28 16:32:50] 4185s293:IRQ_RX_TX_TIMEOUT
[2025-05-28 16:32:50] 4185s293:MAC rxTimeOut
[2025-05-28 16:32:50]
[2025-05-28 16:32:50] ###### ========== MCPS-Confirm =============
[2025-05-28 16:32:50] ###### U/L FRAME:0038 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
[2025-05-28 16:33:15] 4210s786:VDDA: 254
[2025-05-28 16:33:15] 4210s786:temp: 18
[2025-05-28 16:33:15] 4210s786:Sending the payload: Hello ST Community
[2025-05-28 16:33:15] 4210s786:Next Tx in : ~3038 second(s)
[2025-05-28 16:33:35] 4230s319:VDDA: 254
[2025-05-28 16:33:35] 4230s319:temp: 18
[2025-05-28 16:33:35] 4230s319:Sending the payload: Hello ST Community
[2025-05-28 16:33:35] 4230s319:Next Tx in : ~3019 second(s)
2025-05-28 7:50 AM
I don't see any successful (confirmed) uplinks in this log. I expect your end device is entering backoff to avoid flooding the server. The backoff periods are randomized and intended to limit duty cycle [Ref TS001 Table 56]; they can fairly quickly reach minutes or even hours.
Is your server seeing any of these uplinks? With ABP I think if you don't tell your server about your end device's session keys (AppSKey e.g.) it will just ignore you.
2025-05-29 5:39 AM - edited 2025-05-29 8:34 AM
2025-05-29 8:34 AM
Hi, thank you for your response.
I use a gateway which is SX1302CSS868GW1 and Semtech UDP Packet Forwarder runs on it. It recieves the data that I sent, I mean the raw data. I decrypt the data via online LoRa packet decoder by entering AppSKey and NwkSKey. After decoding I can see the actual payload that I sent with B-WL5M-SUBG1. All of these are the reasons why I consider the communication is succesfull but after your message It seems like it is not because the gateway do not send a response in this setup and maybe the B-WL5M-SUBG1 board expects or needs a response just like you said.
So there is something called "backoff periods" and it is randomized with respect to your message. Is this what should I be looking for in the source code I guess, isn't it?
I see two option, setting this backoff period to something short to keep the messages being sent or doing some development on the gateway side and make it send some response to the B-WL5M-SUBG1. Is the first option possible? I mean is "backoff period" something configurable?
Thank you for help.
2025-05-30 5:48 AM
From your packet decode, your end device is requesting an unconfirmed uplink, so it's not surprising it doesn't get a confirmation (ack). But it still listens during RX1, as though it's expecting something (maybe an unsolicited downlink).
I'm looking at App/lora_app.c in Github; out of the box (line 283) IsTxConfirmed is set to LORAWAN_DEFAULT_CONFIRMED_MSG_STATE which I suppose causes it to use an FType of Confirmed. Have you changed this?
The "Next Tx in" message is (probably) coming from the send logic (line 635 ff) due to LmHandlerSend returning LORAMAC_HANDLER_DUTYCYCLE_RESTRICTED, which I suppose is due to the lack of a confirmation. [I haven't found this function, but Github is clumsier than the IDE for this sort of thing.]
---
The first experiment I would try is changing IsTxConfirmed to LORAWAN_DEFAULT_CONFIRMED_MSG_STATE and seeing if your server can respond. Then you could look at LmHandlerGetDutyCycleWaitTime() to adjust the arithmetic.
The end device is expected to obey the local duty cycle requirements, and I don't think servers enforce anything; the hazard is from angry server administrators and/or the FCC.