Stop devices being deactivated after a time

Hi

Is there a way to stop the LoRa App Server from deactivating devices. Our devices are not always on and we use ABP. So when we come to use them, half the time they dont work because they have been deactivated. We then have to go back through and reactivate them all.

Thanks

Chris

You can increase the device-session TTL in your loraserver.toml configuration:

# Device session expiration.
#
# The TTL value defines the time after which a device-session expires
# after no activity. Valid units are 'ms', 's', 'm', 'h'. Note that these
# values can be combined, e.g. '24h30m15s'.
device_session_ttl="744h0m0s"
1 Like