Skip to main content
Associate III
December 20, 2024
Solved

Lorawan class change

  • December 20, 2024
  • 2 replies
  • 598 views

Hello,
In our end-node application, the device occasionally needs to switch its operating class from Class A to Class C. This class switching is triggered by an external interrupt rather than a downlink message from the server.

To achieve this, I am using the LmHandlerRequestClass() function from the LoRaMAC layer, which successfully switches the device to Class C. However, on the next Tx cycle, the device reverts back to Class A.

How to ensure that the device remains in Class C after the class switch?

Best answer by STTwo-32

Hello @pho3nix 

Using the LmHandlerRequestClass() function should do the job. Could you please give more details about your issue. 

Best Regards.

STTwo-32

2 replies

STTwo-32
STTwo-32Best answer
Technical Moderator
January 22, 2025

Hello @pho3nix 

Using the LmHandlerRequestClass() function should do the job. Could you please give more details about your issue. 

Best Regards.

STTwo-32

Associate
August 5, 2025

Have you solved this problem, friend? Well, I'm also facing this issue right now. I failed to switch to class C.