Check that Vendor Profile ID for a vendor is unique
See original GitHub issueSummary
Check that VendorProfileID for profiles of a vendor is unique. Refs; https://github.com/TheThingsNetwork/lorawan-stack/pull/5323
Why do we need this?
To make sure that we can query LoRaWAN device profiles with the (VendorID,VendorProfileID) tuple.
What is already there? What do you see now?
Currently, most device profiles don’t have the VendorProfileID defined. For the few ones that are defined, the values are basically copy-pasted into multiple profiles.
What is missing? What do you want to see?
If VendorProfileID is defined, it must be a unique value for each profile of a given vendor.
How do you propose to implement this?
I guess you’d need to ask users. @Jaime-Trinidad: Let’s do this as an example for The Things Products and The Things Industries devices.
Can you do this yourself and submit a Pull Request?
Can test.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
identifierForVendor | Apple Developer Documentation
An alphanumeric string that uniquely identifies a device to the app's vendor.
Read more >How to add a vendor ID to a vendor's profile
Click on the PRO Details tab within the Vendors Profile. · Click the pencil icon on the Vendor ID section. · To update,...
Read more >ARC Vendor ID Lookup - AP Payment Status & Remittance Form
ARC Vendor ID Lookup. This form can be used to search for a Vendor ID Number in our Financial System (ARC) for all...
Read more >Vendor ID - WordPress.org
If you edit the user you can find the ID on the address bar of the browser. Here is a great article about...
Read more >Add vendor Id info as User ID of Contact - SAP Community
Thanks a lot for your feedback. It is working fine your scripting code and userd id is filled in automatically with external id...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I think we should indeed go with a mixed approach - make this profile ID part of the vendor’s index file, requiring it to reference the region+profile and codec if available. If available, the firmware / hardware versions may be added as well, in order to allow mapping back (vendor ID, vendor profile ID) to (band ID, brand ID, model ID, HW version, SW version).
It should be unique within each vendor.