LoRaWAN Class B – Beacons Not Reaching My End Device
Hello everyone,
I’m working with I-CUBE-LRWAN on an STM32 B-L072Z-LRWAN1 and trying to configure my end device to operate in Class B mode. However, my device never receives any beacons from the gateway.
Here’s what I have configured so far:
1.In lora_app.h, I set:
#define LORAWAN_DEFAULT_CLASS CLASS_B
#define LORAWAN_DEFAULT_PING_SLOT_PERIODICITY 3
2. In lorawan_conf.h, I enabled Class B support:
#define LORAMAC_CLASSB_ENABLED 1
I am using EU868 as my active region:
#define REGION_EU868
Despite these configurations, my end device does not receive any beacon frames, and it never switches to Class B.
###### ========== MCPS-Confirm =============
1743497599s993:RX_BC on freq 869525000 Hz at DR 3
1743497600s050:MAC rxTimeOut
1743497600s057:temp= 43
1743497606s056:temp= 43
1743497606s057:VDDA= 254
1743497606s061:TX on freq 867100000 Hz at DR 3
1743497606s078:SEND REQUEST
1743497606s304:MAC txDone
1743497607s294:RX_1 on freq 867100000 Hz at DR 3
1743497607s496:MAC rxDone
I would appreciate any insights on what I might be missing or if there is a known bug in the I-CUBE-LRWAN implementation for Class B.
Has anyone successfully enabled Class B with this setup? Are there any additional steps required beyond these configurations?
Thanks in advance!
