api: Update DeviceActivation field documentation.

Fixes chirpstack/chirpstack-rest-api#20.
This commit is contained in:
Orne Brocaar
2025-06-16 10:20:45 +01:00
parent b7d5394644
commit c5fa5e04c3
3 changed files with 9 additions and 6 deletions

View File

@ -1175,12 +1175,13 @@ type DeviceActivation struct {
// Application session key (HEX encoded).
AppSKey string `protobuf:"bytes,3,opt,name=app_s_key,json=appSKey,proto3" json:"app_s_key,omitempty"`
// Network session encryption key (HEX encoded).
// Note: For ABP in LoRaWAN 1.0.x, use this, the serving and the forwarding
// network session integrity key fields with the LoRaWAN 1.0.x 'NwkSKey`!
// Note: For LoRaWAN 1.0.x devices, set this to the NwkSKey.
NwkSEncKey string `protobuf:"bytes,4,opt,name=nwk_s_enc_key,json=nwkSEncKey,proto3" json:"nwk_s_enc_key,omitempty"`
// Serving network session integrity key (HEX encoded).
// Note: For LoRaWAN 1.0.x devices, set this to the NwkSKey.
SNwkSIntKey string `protobuf:"bytes,8,opt,name=s_nwk_s_int_key,json=sNwkSIntKey,proto3" json:"s_nwk_s_int_key,omitempty"`
// Forwarding network session integrity key (HEX encoded).
// Note: For LoRaWAN 1.0.x devices, set this to the NwkSKey.
FNwkSIntKey string `protobuf:"bytes,9,opt,name=f_nwk_s_int_key,json=fNwkSIntKey,proto3" json:"f_nwk_s_int_key,omitempty"`
// Uplink frame-counter.
FCntUp uint32 `protobuf:"varint,5,opt,name=f_cnt_up,json=fCntUp,proto3" json:"f_cnt_up,omitempty"`

View File

@ -412,14 +412,15 @@ message DeviceActivation {
string app_s_key = 3;
// Network session encryption key (HEX encoded).
// Note: For ABP in LoRaWAN 1.0.x, use this, the serving and the forwarding
// network session integrity key fields with the LoRaWAN 1.0.x 'NwkSKey`!
// Note: For LoRaWAN 1.0.x devices, set this to the NwkSKey.
string nwk_s_enc_key = 4;
// Serving network session integrity key (HEX encoded).
// Note: For LoRaWAN 1.0.x devices, set this to the NwkSKey.
string s_nwk_s_int_key = 8;
// Forwarding network session integrity key (HEX encoded).
// Note: For LoRaWAN 1.0.x devices, set this to the NwkSKey.
string f_nwk_s_int_key = 9;
// Uplink frame-counter.

View File

@ -412,14 +412,15 @@ message DeviceActivation {
string app_s_key = 3;
// Network session encryption key (HEX encoded).
// Note: For ABP in LoRaWAN 1.0.x, use this, the serving and the forwarding
// network session integrity key fields with the LoRaWAN 1.0.x 'NwkSKey`!
// Note: For LoRaWAN 1.0.x devices, set this to the NwkSKey.
string nwk_s_enc_key = 4;
// Serving network session integrity key (HEX encoded).
// Note: For LoRaWAN 1.0.x devices, set this to the NwkSKey.
string s_nwk_s_int_key = 8;
// Forwarding network session integrity key (HEX encoded).
// Note: For LoRaWAN 1.0.x devices, set this to the NwkSKey.
string f_nwk_s_int_key = 9;
// Uplink frame-counter.