mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-05-21 18:17:57 +00:00
This change makes it possible to use the DeviceModeInd mac-command to switch between Class-A / C for LoRaWAN 1.0.x devices. In such a case the Supports Class-C would be disabled for LoRaWAN 1.0.x devices, meaning that on OTAA the device is marked as Class-A. If the device then sends a DeviceModeInd mac-command, this will cause the to be marked as Class-C, event. This was (unintentionally) possible in v3, but this part of the Class-B beacon locked code would prevent to make the same work in v4.