From fa37133fd99044d8ee472bb1432d6894eac174ff Mon Sep 17 00:00:00 2001 From: LDannijs Date: Wed, 8 Nov 2023 16:20:56 +0100 Subject: [PATCH 1/2] Update explanation of vendorprofileID --- README.md | 5 +++-- vendor/example/windsensor-profile.yaml | 5 +++-- vendor/index.yaml | 2 ++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 474650d827..6520b8b2e2 100644 --- a/README.md +++ b/README.md @@ -209,9 +209,10 @@ There are many other fields that can be set: hardware versions, firmware version Each referenced end device profile needs to be defined in the **End device profile**, with the same filename as the profile ID: `vendor//.yaml`: ```yaml -# Vendor profile ID, can be freely issued by the vendor +# Vendor profile ID, can be freely issued by the vendor. NOTE: The vendor profile ID is different from the vendorID. +# The vendor Profile ID should be an incremental counter for every unique device listed in the vendor's folder. # This vendor profile ID is also used on the QR code for LoRaWAN devices, see -# https://lora-alliance.org/wp-content/uploads/2020/10/LoRa_Alliance_Vendor_ID_for_QR_Code.pdf +# https://lora-alliance.org/wp-content/uploads/2020/11/TR005_LoRaWAN_Device_Identification_QR_Codes.pdf vendorProfileID: 0 # LoRaWAN MAC version: 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4 or 1.1 diff --git a/vendor/example/windsensor-profile.yaml b/vendor/example/windsensor-profile.yaml index 711231155b..6ea6210f9e 100644 --- a/vendor/example/windsensor-profile.yaml +++ b/vendor/example/windsensor-profile.yaml @@ -1,6 +1,7 @@ -# Vendor profile ID, can be freely issued by the vendor +# Vendor profile ID, can be freely issued by the vendor. NOTE: The vendor profile ID is different from the vendorID. +# The vendor Profile ID should be an incremental counter for every unique device listed in the vendor's folder. # This vendor profile ID is also used on the QR code for LoRaWAN devices, see -# https://lora-alliance.org/sites/default/files/2020-10/LoRa_Alliance_Vendor_ID_for_QR_Code.pdf +# https://lora-alliance.org/wp-content/uploads/2020/11/TR005_LoRaWAN_Device_Identification_QR_Codes.pdf vendorProfileID: 0 # LoRaWAN MAC version: 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4 or 1.1 diff --git a/vendor/index.yaml b/vendor/index.yaml index 42356c51c5..3ad9bc2f9a 100644 --- a/vendor/index.yaml +++ b/vendor/index.yaml @@ -1,3 +1,5 @@ +# To find your vendor's ID, please look here: https://resources.lora-alliance.org/document/lora-alliance-vendor-id-20230915 + vendors: - id: example name: Example From fa61f95952776bc0263080c52f0c1117cb561324 Mon Sep 17 00:00:00 2001 From: LDannijs Date: Wed, 15 Nov 2023 13:06:12 +0100 Subject: [PATCH 2/2] make validate --- vendor/example/windsensor-profile.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/example/windsensor-profile.yaml b/vendor/example/windsensor-profile.yaml index 6ea6210f9e..27e9c129f6 100644 --- a/vendor/example/windsensor-profile.yaml +++ b/vendor/example/windsensor-profile.yaml @@ -1,4 +1,4 @@ -# Vendor profile ID, can be freely issued by the vendor. NOTE: The vendor profile ID is different from the vendorID. +# Vendor profile ID, can be freely issued by the vendor. NOTE: The vendor profile ID is different from the vendorID. # The vendor Profile ID should be an incremental counter for every unique device listed in the vendor's folder. # This vendor profile ID is also used on the QR code for LoRaWAN devices, see # https://lora-alliance.org/wp-content/uploads/2020/11/TR005_LoRaWAN_Device_Identification_QR_Codes.pdf