mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-13 13:08:09 +00:00
Add Class-B ping-slot parameters back to device-profile UI.
The device might not always send its periodicity to the network-server (using mac-commands). As well there is some ambiguity about the default ping-slot data-rates. While the Regional Parameters Specification defines the default beacon data-rates, it only defines the default ping-slot frequency for Class-B. This also changes the API field from class_b_ping_slot_period to class_b_ping_slot_nb_k, where ..._k must be between 0 - 7 as defined by the LoRaWAN Specification. This removes some ambiguity as 'period' could mean different things in different contexts.
This commit is contained in:
@ -146,8 +146,11 @@ message DeviceProfile {
|
||||
// This is the maximum time ChirpStack will wait to receive an acknowledgement from the device (if requested).
|
||||
uint32 class_b_timeout = 16;
|
||||
|
||||
// Class-B ping-slot periodicity.
|
||||
uint32 class_b_ping_slot_period = 17;
|
||||
// Class-B ping-slots per beacon period.
|
||||
// Valid options are: 0 - 7.
|
||||
//
|
||||
// The actual number of ping-slots per beacon period equals to 2^k.
|
||||
uint32 class_b_ping_slot_nb_k = 17;
|
||||
|
||||
// Class-B ping-slot DR.
|
||||
uint32 class_b_ping_slot_dr = 18;
|
||||
|
@ -114,8 +114,11 @@ message DeviceProfileTemplate {
|
||||
// This is the maximum time ChirpStack will wait to receive an acknowledgement from the device (if requested).
|
||||
uint32 class_b_timeout = 18;
|
||||
|
||||
// Class-B ping-slot periodicity.
|
||||
uint32 class_b_ping_slot_period = 19;
|
||||
// Class-B ping-slots per beacon period.
|
||||
// Valid options are: 0 - 7.
|
||||
//
|
||||
// The actual number of ping-slots per beacon period equals to 2^k.
|
||||
uint32 class_b_ping_slot_nb_k = 19;
|
||||
|
||||
// Class-B ping-slot DR.
|
||||
uint32 class_b_ping_slot_dr = 20;
|
||||
|
Reference in New Issue
Block a user