Skip to content

Commit

Permalink
Update explanation of vendorprofileID (#692)
Browse files Browse the repository at this point in the history
* Update explanation of vendorprofileID

* make validate

---------

Co-authored-by: Jaime Trinidad <[email protected]>
  • Loading branch information
LDannijs and Jaime-Trinidad authored Nov 24, 2023
1 parent 6e7a481 commit 3cc947f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/<vendor-id>/<profile-id>.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
Expand Down
5 changes: 3 additions & 2 deletions vendor/example/windsensor-profile.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions vendor/index.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 3cc947f

Please sign in to comment.