Zwirek009 / MADuino

Arduino library for creating multi-agent systems based on Arduino boards - part of my engineers diploma project
0 stars 0 forks source link

Automatic creation of unique ID #9

Closed Zwirek009 closed 6 years ago

Zwirek009 commented 7 years ago

ID should be basen on arduino's MAC address and (maybe) agents role defined by person compiling the agent.

Zwirek009 commented 6 years ago

MAC address is not accessible, considering use of GUID.

Zwirek009 commented 6 years ago

After consult with promoter. I am going to mix few chars agent type with GUID

Zwirek009 commented 6 years ago

Due to small payloads I decided to get only 4 bytes id (nearly 4300 millions of possibilities), pseudo-random by default with possibility to specify them on your own.

Zwirek009 commented 6 years ago

To be applied in:

Zwirek009 commented 6 years ago

Change to 5-chars ASCII visible signs (33-126) due to serialization problems.