pioneers / tenshi

(archived) Control System Next
https://rqou.com/project-tenshi/build/artifacts/
Apache License 2.0
1 stars 39 forks source link

Smartsensor Unique ID Allocation Scheme #99

Open nikitakit opened 10 years ago

nikitakit commented 10 years ago

Smart sensors should be allocated unique 64-bit (8 byte) IDs. I will be updating this with proposed schemes for allocation

Potential design considerations:

nikitakit commented 10 years ago

My proposal:

Vendor IDs are:

Sub-id:

(since we may end up using our own computers during production, let's work this into the plan)

This makes the tradeoff of not doing the category/subcategory for enumeration, but instead works on the problem of ensuring that all IDs are unique, across different computers and years of PiE.

nikitakit commented 10 years ago

Suggestion: change to

ArcaneNibble commented 10 years ago

final suggestion accepted, sounds good