Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vendorProfileId #409

Merged
merged 3 commits into from Apr 7, 2022
Merged

vendorProfileId #409

merged 3 commits into from Apr 7, 2022

Conversation

Jaime-Trinidad
Copy link
Contributor

Summary

Add unique vendorProfileId to The Things Product and The Things Industries devices #405

Changes

  • Add a unique vendorProfileId in each profile file, without repeating the Id
  • The Id is a random number

Notes for Reviewers

...

Release Notes

  • ...

Copy link
Member

@KrishnaIyer KrishnaIyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@johanstokking: We are free to assign the vendorProfileID right? Should we follow some internal convention?
Just use linear numbers for each new profile?

Copy link
Member

@johanstokking johanstokking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed we're free to assign them. They're 16 bit. This is already enforced by the JSON schema validator.

I would indeed make them increasing and not jump to 868.

Update in linear numbers
@Jaime-Trinidad
Copy link
Contributor Author

we can establish that 'vendorProfileId' should be filled linear instead of freely choice, what do you think?

@KrishnaIyer
Copy link
Member

KrishnaIyer commented Apr 7, 2022

we can establish that 'vendorProfileId' should be filled linear instead of freely choice, what do you think?

Ideally users can fill any valid value and we only check that it is unique for a given vendor. But if that's too complicated to validate, then I guess it's ok to make it linear.

@johanstokking
Copy link
Member

We can make this part of validation in CI.

Can you file an issue @Jaime-Trinidad ?

@Jaime-Trinidad
Copy link
Contributor Author

Yes I file an issue

@Jaime-Trinidad Jaime-Trinidad merged commit 261215d into master Apr 7, 2022
@Jaime-Trinidad Jaime-Trinidad deleted the TTP-TTI-vendorProfileId branch April 7, 2022 12:24
Bertje pushed a commit to ioTracker/lorawan-devices that referenced this pull request Jun 16, 2022
* vendorProfileId

* update vendorProfileId

Update in linear numbers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants