mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-16 22:38:23 +00:00
Add missing LoRa 2.4 gHz code-rates to enum.
This commit is contained in:
8
Cargo.lock
generated
8
Cargo.lock
generated
@ -635,7 +635,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "backend"
|
name = "backend"
|
||||||
version = "4.0.0-test.12"
|
version = "4.0.0-test.13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes-kw",
|
"aes-kw",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
@ -879,7 +879,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "chirpstack"
|
name = "chirpstack"
|
||||||
version = "4.0.0-test.12"
|
version = "4.0.0-test.13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes 0.7.5",
|
"aes 0.7.5",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
@ -958,7 +958,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "chirpstack_api"
|
name = "chirpstack_api"
|
||||||
version = "4.0.0-test.12"
|
version = "4.0.0-test.13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"hex",
|
"hex",
|
||||||
"pbjson",
|
"pbjson",
|
||||||
@ -2212,7 +2212,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lrwn"
|
name = "lrwn"
|
||||||
version = "4.0.0-test.12"
|
version = "4.0.0-test.13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes 0.7.5",
|
"aes 0.7.5",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
92
api/go/gw/gw.pb.go
vendored
92
api/go/gw/gw.pb.go
vendored
@ -37,21 +37,27 @@ const (
|
|||||||
CodeRate_CR_1_4 CodeRate = 7
|
CodeRate_CR_1_4 CodeRate = 7
|
||||||
CodeRate_CR_1_6 CodeRate = 8
|
CodeRate_CR_1_6 CodeRate = 8
|
||||||
CodeRate_CR_5_6 CodeRate = 9
|
CodeRate_CR_5_6 CodeRate = 9
|
||||||
|
CodeRate_CR_LI_4_5 CodeRate = 10 // LoRa 2.4 gHz
|
||||||
|
CodeRate_CR_LI_4_6 CodeRate = 11
|
||||||
|
CodeRate_CR_LI_4_8 CodeRate = 12
|
||||||
)
|
)
|
||||||
|
|
||||||
// Enum value maps for CodeRate.
|
// Enum value maps for CodeRate.
|
||||||
var (
|
var (
|
||||||
CodeRate_name = map[int32]string{
|
CodeRate_name = map[int32]string{
|
||||||
0: "CR_UNDEFINED",
|
0: "CR_UNDEFINED",
|
||||||
1: "CR_4_5",
|
1: "CR_4_5",
|
||||||
2: "CR_4_6",
|
2: "CR_4_6",
|
||||||
3: "CR_4_7",
|
3: "CR_4_7",
|
||||||
4: "CR_4_8",
|
4: "CR_4_8",
|
||||||
5: "CR_3_8",
|
5: "CR_3_8",
|
||||||
6: "CR_2_6",
|
6: "CR_2_6",
|
||||||
7: "CR_1_4",
|
7: "CR_1_4",
|
||||||
8: "CR_1_6",
|
8: "CR_1_6",
|
||||||
9: "CR_5_6",
|
9: "CR_5_6",
|
||||||
|
10: "CR_LI_4_5",
|
||||||
|
11: "CR_LI_4_6",
|
||||||
|
12: "CR_LI_4_8",
|
||||||
}
|
}
|
||||||
CodeRate_value = map[string]int32{
|
CodeRate_value = map[string]int32{
|
||||||
"CR_UNDEFINED": 0,
|
"CR_UNDEFINED": 0,
|
||||||
@ -64,6 +70,9 @@ var (
|
|||||||
"CR_1_4": 7,
|
"CR_1_4": 7,
|
||||||
"CR_1_6": 8,
|
"CR_1_6": 8,
|
||||||
"CR_5_6": 9,
|
"CR_5_6": 9,
|
||||||
|
"CR_LI_4_5": 10,
|
||||||
|
"CR_LI_4_6": 11,
|
||||||
|
"CR_LI_4_8": 12,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -3830,7 +3839,7 @@ var file_gw_gw_proto_rawDesc = []byte{
|
|||||||
0x13, 0x2e, 0x67, 0x77, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53,
|
0x13, 0x2e, 0x67, 0x77, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53,
|
||||||
0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x20, 0x0a, 0x05, 0x53,
|
0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x20, 0x0a, 0x05, 0x53,
|
||||||
0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10,
|
0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10,
|
||||||
0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x2a, 0x88, 0x01,
|
0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x2a, 0xb5, 0x01,
|
||||||
0x0a, 0x08, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x52,
|
0x0a, 0x08, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x52,
|
||||||
0x5f, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06,
|
0x5f, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06,
|
||||||
0x43, 0x52, 0x5f, 0x34, 0x5f, 0x35, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x34,
|
0x43, 0x52, 0x5f, 0x34, 0x5f, 0x35, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x34,
|
||||||
@ -3839,35 +3848,38 @@ var file_gw_gw_proto_rawDesc = []byte{
|
|||||||
0x43, 0x52, 0x5f, 0x33, 0x5f, 0x38, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x32,
|
0x43, 0x52, 0x5f, 0x33, 0x5f, 0x38, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x32,
|
||||||
0x5f, 0x36, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x31, 0x5f, 0x34, 0x10, 0x07,
|
0x5f, 0x36, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x31, 0x5f, 0x34, 0x10, 0x07,
|
||||||
0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x31, 0x5f, 0x36, 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06,
|
0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x5f, 0x31, 0x5f, 0x36, 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06,
|
||||||
0x43, 0x52, 0x5f, 0x35, 0x5f, 0x36, 0x10, 0x09, 0x2a, 0x3b, 0x0a, 0x0e, 0x44, 0x6f, 0x77, 0x6e,
|
0x43, 0x52, 0x5f, 0x35, 0x5f, 0x36, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x52, 0x5f, 0x4c,
|
||||||
0x6c, 0x69, 0x6e, 0x6b, 0x54, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4d,
|
0x49, 0x5f, 0x34, 0x5f, 0x35, 0x10, 0x0a, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x52, 0x5f, 0x4c, 0x49,
|
||||||
0x4d, 0x45, 0x44, 0x49, 0x41, 0x54, 0x45, 0x4c, 0x59, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x44,
|
0x5f, 0x34, 0x5f, 0x36, 0x10, 0x0b, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x52, 0x5f, 0x4c, 0x49, 0x5f,
|
||||||
0x45, 0x4c, 0x41, 0x59, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x47, 0x50, 0x53, 0x5f, 0x45, 0x50,
|
0x34, 0x5f, 0x38, 0x10, 0x0c, 0x2a, 0x3b, 0x0a, 0x0e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e,
|
||||||
0x4f, 0x43, 0x48, 0x10, 0x02, 0x2a, 0x37, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x65, 0x54, 0x69, 0x6d,
|
0x6b, 0x54, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4d, 0x4d, 0x45, 0x44,
|
||||||
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f,
|
0x49, 0x41, 0x54, 0x45, 0x4c, 0x59, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x45, 0x4c, 0x41,
|
||||||
0x4e, 0x45, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x45,
|
0x59, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x47, 0x50, 0x53, 0x5f, 0x45, 0x50, 0x4f, 0x43, 0x48,
|
||||||
0x44, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x4c, 0x41, 0x49, 0x4e, 0x10, 0x02, 0x2a, 0x30,
|
0x10, 0x02, 0x2a, 0x37, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
|
||||||
0x0a, 0x09, 0x43, 0x52, 0x43, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0a, 0x0a, 0x06, 0x4e,
|
0x61, 0x6d, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10,
|
||||||
0x4f, 0x5f, 0x43, 0x52, 0x43, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x41, 0x44, 0x5f, 0x43,
|
0x00, 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x45, 0x44, 0x10, 0x01,
|
||||||
0x52, 0x43, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x43, 0x5f, 0x4f, 0x4b, 0x10, 0x02,
|
0x12, 0x09, 0x0a, 0x05, 0x50, 0x4c, 0x41, 0x49, 0x4e, 0x10, 0x02, 0x2a, 0x30, 0x0a, 0x09, 0x43,
|
||||||
0x2a, 0xbc, 0x01, 0x0a, 0x0b, 0x54, 0x78, 0x41, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
0x52, 0x43, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x5f, 0x43,
|
||||||
0x12, 0x0b, 0x0a, 0x07, 0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a,
|
0x52, 0x43, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x41, 0x44, 0x5f, 0x43, 0x52, 0x43, 0x10,
|
||||||
0x02, 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x41, 0x54,
|
0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x43, 0x5f, 0x4f, 0x4b, 0x10, 0x02, 0x2a, 0xbc, 0x01,
|
||||||
0x45, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x4f, 0x4f, 0x5f, 0x45, 0x41, 0x52, 0x4c, 0x59,
|
0x0a, 0x0b, 0x54, 0x78, 0x41, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a,
|
||||||
0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4c, 0x4c, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f,
|
0x07, 0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b,
|
||||||
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4c, 0x4c,
|
0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x10, 0x02,
|
||||||
0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x42, 0x45, 0x41, 0x43, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x0b,
|
0x12, 0x0d, 0x0a, 0x09, 0x54, 0x4f, 0x4f, 0x5f, 0x45, 0x41, 0x52, 0x4c, 0x59, 0x10, 0x03, 0x12,
|
||||||
0x0a, 0x07, 0x54, 0x58, 0x5f, 0x46, 0x52, 0x45, 0x51, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x54,
|
0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4c, 0x4c, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x41, 0x43,
|
||||||
0x58, 0x5f, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x10, 0x07, 0x12, 0x10, 0x0a, 0x0c, 0x47, 0x50, 0x53,
|
0x4b, 0x45, 0x54, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4c, 0x4c, 0x49, 0x53, 0x49,
|
||||||
0x5f, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x08, 0x12, 0x0e, 0x0a, 0x0a, 0x51,
|
0x4f, 0x4e, 0x5f, 0x42, 0x45, 0x41, 0x43, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x54,
|
||||||
0x55, 0x45, 0x55, 0x45, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x09, 0x12, 0x12, 0x0a, 0x0e, 0x49,
|
0x58, 0x5f, 0x46, 0x52, 0x45, 0x51, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x58, 0x5f, 0x50,
|
||||||
0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x0a, 0x42,
|
0x4f, 0x57, 0x45, 0x52, 0x10, 0x07, 0x12, 0x10, 0x0a, 0x0c, 0x47, 0x50, 0x53, 0x5f, 0x55, 0x4e,
|
||||||
0x55, 0x0a, 0x14, 0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b,
|
0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x08, 0x12, 0x0e, 0x0a, 0x0a, 0x51, 0x55, 0x45, 0x55,
|
||||||
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x77, 0x42, 0x0c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
|
0x45, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x09, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x54, 0x45,
|
||||||
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
|
0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x0a, 0x42, 0x55, 0x0a, 0x14,
|
||||||
0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63,
|
0x69, 0x6f, 0x2e, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x61, 0x70,
|
||||||
0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f,
|
0x69, 0x2e, 0x67, 0x77, 0x42, 0x0c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x50, 0x72, 0x6f,
|
||||||
0x2f, 0x76, 0x34, 0x2f, 0x67, 0x77, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
|
||||||
|
0x2f, 0x63, 0x68, 0x69, 0x72, 0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x63, 0x68, 0x69, 0x72,
|
||||||
|
0x70, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x34,
|
||||||
|
0x2f, 0x67, 0x77, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
2
api/grpc-web/package.json
vendored
2
api/grpc-web/package.json
vendored
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@chirpstack/chirpstack-api-grpc-web",
|
"name": "@chirpstack/chirpstack-api-grpc-web",
|
||||||
"version": "4.0.0-test.12",
|
"version": "4.0.0-test.13",
|
||||||
"description": "Chirpstack gRPC-web API",
|
"description": "Chirpstack gRPC-web API",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
3
api/js/gw/gw_pb.d.ts
vendored
3
api/js/gw/gw_pb.d.ts
vendored
@ -1380,6 +1380,9 @@ export interface CodeRateMap {
|
|||||||
CR_1_4: 7;
|
CR_1_4: 7;
|
||||||
CR_1_6: 8;
|
CR_1_6: 8;
|
||||||
CR_5_6: 9;
|
CR_5_6: 9;
|
||||||
|
CR_LI_4_5: 10;
|
||||||
|
CR_LI_4_6: 11;
|
||||||
|
CR_LI_4_8: 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const CodeRate: CodeRateMap;
|
export const CodeRate: CodeRateMap;
|
||||||
|
5
api/js/gw/gw_pb.js
vendored
5
api/js/gw/gw_pb.js
vendored
@ -10326,7 +10326,10 @@ proto.gw.CodeRate = {
|
|||||||
CR_2_6: 6,
|
CR_2_6: 6,
|
||||||
CR_1_4: 7,
|
CR_1_4: 7,
|
||||||
CR_1_6: 8,
|
CR_1_6: 8,
|
||||||
CR_5_6: 9
|
CR_5_6: 9,
|
||||||
|
CR_LI_4_5: 10,
|
||||||
|
CR_LI_4_6: 11,
|
||||||
|
CR_LI_4_8: 12
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
2
api/js/package.json
vendored
2
api/js/package.json
vendored
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@chirpstack/chirpstack-api",
|
"name": "@chirpstack/chirpstack-api",
|
||||||
"version": "4.0.0-test.12",
|
"version": "4.0.0-test.13",
|
||||||
"description": "Chirpstack JS and TS API",
|
"description": "Chirpstack JS and TS API",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
3
api/proto/gw/gw.proto
vendored
3
api/proto/gw/gw.proto
vendored
@ -24,6 +24,9 @@ enum CodeRate {
|
|||||||
CR_1_4 = 7;
|
CR_1_4 = 7;
|
||||||
CR_1_6 = 8;
|
CR_1_6 = 8;
|
||||||
CR_5_6 = 9;
|
CR_5_6 = 9;
|
||||||
|
CR_LI_4_5 = 10; // LoRa 2.4 gHz
|
||||||
|
CR_LI_4_6 = 11;
|
||||||
|
CR_LI_4_8 = 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum DownlinkTiming {
|
enum DownlinkTiming {
|
||||||
|
3
api/python/proto/chirpstack-api/gw/gw.proto
vendored
3
api/python/proto/chirpstack-api/gw/gw.proto
vendored
@ -24,6 +24,9 @@ enum CodeRate {
|
|||||||
CR_1_4 = 7;
|
CR_1_4 = 7;
|
||||||
CR_1_6 = 8;
|
CR_1_6 = 8;
|
||||||
CR_5_6 = 9;
|
CR_5_6 = 9;
|
||||||
|
CR_LI_4_5 = 10; // LoRa 2.4 gHz
|
||||||
|
CR_LI_4_6 = 11;
|
||||||
|
CR_LI_4_8 = 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum DownlinkTiming {
|
enum DownlinkTiming {
|
||||||
|
23
api/python/src/chirpstack_api/gw/gw_pb2.py
vendored
23
api/python/src/chirpstack_api/gw/gw_pb2.py
vendored
File diff suppressed because one or more lines are too long
2
api/python/src/setup.py
vendored
2
api/python/src/setup.py
vendored
@ -18,7 +18,7 @@ CLASSIFIERS = [
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='chirpstack-api',
|
name='chirpstack-api',
|
||||||
version = "4.0.0-test.12",
|
version = "4.0.0-test.13",
|
||||||
url='https://github.com/brocaar/chirpstack-api',
|
url='https://github.com/brocaar/chirpstack-api',
|
||||||
author='Orne Brocaar',
|
author='Orne Brocaar',
|
||||||
author_email='info@brocaar.com',
|
author_email='info@brocaar.com',
|
||||||
|
2
api/rust/Cargo.lock
generated
vendored
2
api/rust/Cargo.lock
generated
vendored
@ -121,7 +121,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "chirpstack_api"
|
name = "chirpstack_api"
|
||||||
version = "4.0.0-test.12"
|
version = "4.0.0-test.13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"hex",
|
"hex",
|
||||||
"pbjson",
|
"pbjson",
|
||||||
|
2
api/rust/Cargo.toml
vendored
2
api/rust/Cargo.toml
vendored
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "chirpstack_api"
|
name = "chirpstack_api"
|
||||||
description = "ChirpStack Protobuf / gRPC API definitions."
|
description = "ChirpStack Protobuf / gRPC API definitions."
|
||||||
version = "4.0.0-test.12"
|
version = "4.0.0-test.13"
|
||||||
authors = ["Orne Brocaar <info@brocaar.com>"]
|
authors = ["Orne Brocaar <info@brocaar.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
homepage = "https://www.chirpstack.io"
|
homepage = "https://www.chirpstack.io"
|
||||||
|
3
api/rust/proto/chirpstack/gw/gw.proto
vendored
3
api/rust/proto/chirpstack/gw/gw.proto
vendored
@ -24,6 +24,9 @@ enum CodeRate {
|
|||||||
CR_1_4 = 7;
|
CR_1_4 = 7;
|
||||||
CR_1_6 = 8;
|
CR_1_6 = 8;
|
||||||
CR_5_6 = 9;
|
CR_5_6 = 9;
|
||||||
|
CR_LI_4_5 = 10; // LoRa 2.4 gHz
|
||||||
|
CR_LI_4_6 = 11;
|
||||||
|
CR_LI_4_8 = 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum DownlinkTiming {
|
enum DownlinkTiming {
|
||||||
|
6
api/rust/src/gw.rs
vendored
6
api/rust/src/gw.rs
vendored
@ -19,6 +19,9 @@ impl Into<String> for CodeRate {
|
|||||||
CodeRate::Cr14 => "1/4",
|
CodeRate::Cr14 => "1/4",
|
||||||
CodeRate::Cr16 => "1/6",
|
CodeRate::Cr16 => "1/6",
|
||||||
CodeRate::Cr56 => "5/6",
|
CodeRate::Cr56 => "5/6",
|
||||||
|
CodeRate::CrLi45 => "4/5LI",
|
||||||
|
CodeRate::CrLi46 => "4/6LI",
|
||||||
|
CodeRate::CrLi48 => "4/8LI",
|
||||||
}
|
}
|
||||||
.to_string()
|
.to_string()
|
||||||
}
|
}
|
||||||
@ -38,6 +41,9 @@ impl FromStr for CodeRate {
|
|||||||
"1/4" => CodeRate::Cr14,
|
"1/4" => CodeRate::Cr14,
|
||||||
"1/6" => CodeRate::Cr16,
|
"1/6" => CodeRate::Cr16,
|
||||||
"5/6" => CodeRate::Cr56,
|
"5/6" => CodeRate::Cr56,
|
||||||
|
"4/5LI" => CodeRate::CrLi45,
|
||||||
|
"4/6LI" => CodeRate::CrLi46,
|
||||||
|
"4/8LI" => CodeRate::CrLi48,
|
||||||
_ => {
|
_ => {
|
||||||
return Err("invalid code-rate".into());
|
return Err("invalid code-rate".into());
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "backend"
|
name = "backend"
|
||||||
version = "4.0.0-test.12"
|
version = "4.0.0-test.13"
|
||||||
authors = ["Orne Brocaar <info@brocaar.com>"]
|
authors = ["Orne Brocaar <info@brocaar.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
publish = false
|
publish = false
|
||||||
|
@ -3,7 +3,7 @@ name = "chirpstack"
|
|||||||
description = "ChirpStack is an open-source LoRaWAN(TM) Network Server"
|
description = "ChirpStack is an open-source LoRaWAN(TM) Network Server"
|
||||||
repository = "https://github.com/chirpstack/chirpstack"
|
repository = "https://github.com/chirpstack/chirpstack"
|
||||||
homepage="https://www.chirpstack.io/"
|
homepage="https://www.chirpstack.io/"
|
||||||
version = "4.0.0-test.12"
|
version = "4.0.0-test.13"
|
||||||
authors = ["Orne Brocaar <info@brocaar.com>"]
|
authors = ["Orne Brocaar <info@brocaar.com>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
|
@ -3,7 +3,7 @@ name = "lrwn"
|
|||||||
description = "Library for encoding / decoding LoRaWAN frames."
|
description = "Library for encoding / decoding LoRaWAN frames."
|
||||||
homepage = "https://www.chirpstack.io"
|
homepage = "https://www.chirpstack.io"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
version = "4.0.0-test.12"
|
version = "4.0.0-test.13"
|
||||||
authors = ["Orne Brocaar <info@brocaar.com>"]
|
authors = ["Orne Brocaar <info@brocaar.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
repository = "https://github.com/chirpstack/chirpstack"
|
repository = "https://github.com/chirpstack/chirpstack"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "chirpstack-ui",
|
"name": "chirpstack-ui",
|
||||||
"version": "4.0.0-test.12",
|
"version": "4.0.0-test.13",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ant-design/colors": "^6.0.0",
|
"@ant-design/colors": "^6.0.0",
|
||||||
|
Reference in New Issue
Block a user