Add option to increase RX1 Delay in device-profile.

In general ChirpStack is configured with a rx1_delay configuration
matching the network latency (e.g. on cellular, one might want to set
this to rx1_delay=3). However, this does not take into account a
possible latency of the end-application. Handling the uplink and
enqueueing a downlink might take more time than the configured rx1_delay
(and get_downlink_data_delay) allows.

This option makes it possible to increase the RX1 Delay in the
device-profile. If the RX1 Delay has between increased relative to
the system default, then the get_downlink_data_delay will be
incremented with the same amount of seconds.
This commit is contained in:
Orne Brocaar
2024-05-02 10:29:10 +01:00
parent a5ff416fa2
commit 487f785302
12 changed files with 655 additions and 329 deletions

View File

@ -410,6 +410,15 @@ message DeviceProfile {
//
// If set to true, it means that the device is allowed to use roaming.
bool allow_roaming = 52;
// RX1 Delay.
//
// This makes it possible to override the system RX1 Delay. Please note that
// this values only has effect in case it is higher than the system value.
// In other words, it can be used to increase the RX1 Delay but not to decrease
// it.
// Valid options are 1 - 15 (0 = always use system RX1 Delay).
uint32 rx1_delay = 53;
}
message Measurement {