Skip to content

Commit db56dff

Browse files
committed
Add profile id.
1 parent 185048b commit db56dff

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

test-runner/src/structs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ pub struct ProfileConfiguration {
5858
#[derive(Default, Deserialize, Validate)]
5959
#[serde(default)]
6060
pub struct Profile {
61+
pub id: usize,
6162
#[validate(enumerate = ["EU868", "US915", "CN779", "EU433", "AU915", "CN470", "AS923", "AS923-2", "AS923-3", "AS923-4", "KR920", "IN865", "RU864"])]
6263
pub region: String,
6364
#[validate(enumerate = ["1.0.0", "1.0.1", "1.0.2", "1.0.3","1.0.4", "1.1.0"])]

vendors/example-vendor/profiles/example-EU868.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
[profile]
2+
# ID.
3+
#
4+
# Vendor Profile ID (16 bit).
5+
#
6+
# See also (4.2.4):
7+
# https://resources.lora-alliance.org/technical-recommendations/tr005-lorawan-device-identification-qr-codes
8+
id = 0
9+
210
# Region Common-name.
311
#
412
# Please refer to the LoRaWAN Regional Parameters specification for the available

0 commit comments

Comments
 (0)