Lora-net / SWL2001

LoRa Basics Modem LoRaWAN stack
BSD 3-Clause Clear License
87 stars 50 forks source link

NucleoL476 LR1121 Board Not Switching to Class B Despite Configuration #50

Closed leofabri closed 3 months ago

leofabri commented 3 months ago

I'm currently working on a project involving the NucleoL476 LR1121 board, aiming to operate it in Class B mode. I have verified that the beacon is successfully transmitted by the gateway, and I have configured my network server (TTN) to use Class B. However, despite these configurations, I'm unable to see the device switch to this mode.

My Gateway (_globalconf.json):

image

TTN Configuration:

Device Details:

Reproduction Steps

Expected Behavior

The device should switch to Class B mode, allowing for scheduled receive windows in addition to Class A's random receive windows.

Actual Behavior

The device does not switch to Class B mode. No indication of Class B operation or scheduled receive windows observed.

Request for Assistance

I am seeking guidance on how to properly configure my setup for Class B operation or if there are any known issues or additional steps required for the NucleoL476 LR1121 board to operate in Class B with TTN.

Thank you in advance for your support and assistance.

lbm-team commented 3 months ago

Hi leofabri, in you application code have you set the class B with the API ?

smtc_modem_return_code_t smtc_modem_set_class( uint8_t stack_id, smtc_modem_class_t lorawan_class )

Best Regards