Syncing network-settings with device

I have a class c device, using abp authentication, successfully receiving data using the default datarate dr0, however, when i change the datarate parameter rx2_dr in loraserver.toml, the data rate does not change. Does anyone have any suggestions on what could be wrong ?

successfully receiving data using the default datarate dr0

Do you mean uplink or downlink?

when i change the datarate parameter rx2_dr in loraserver.toml, the data rate does not change

Again do you mean the uplink or downlink data-rate which does not change (I assume the downlink as rx2_dr changes the second downlink receive-window data-rate).

Please note that after changing loraserver.toml configuration you need to restart the loraserver process. Also you will see that when the device-sessions are out-of-sync with the loraserver.toml settings, LoRa Server will send these changes as mac-commands.

Please check in the live frame-logs that LoRa Server is sending these mac-commands + that your device is sending an ACK back to LoRa Server. Without an ACK, LoRa Server will keep using the old settings.

Hello, brocaar

These are downlink messages