EmbDev.net

Forum: µC & Digital Electronics AVB Controller entity ID


von RICHARD F. (Company: Rhodes University) (richardfoss)


Rate this post
useful
not useful
If I am writing a controller application, how do I create the controller 
GUID that goes into the controller entity ID field of, for example a 
CONNECT_RX AVDECC command?

Thanks for any help with this!

: Edited by Admin
von Andre L. (andrelabelle)


Rate this post
useful
not useful
IEEE Std 1722.1-2013 just says it should be unique. It makes sense to 
use a host interface MAC-48 and append a random number to make up 64 
bits.

von Richard Foss (Guest)


Rate this post
useful
not useful
Hi Andre,
Thanks for the post and apologies for the slow reply. I had previously 
received an answer from Jeff Koftinoff, which confirmed what you 
indicated. I think it would be helpful to quote Jeff, and I don't think 
he would mind:

"The controller is an entity. The same rules apply for the entity as 
others; specifically, it needs to be unique on the network, it needs to 
be prefixed by a IEEE assigned OUI  MA-L  MA-M or MA-S

Typically, people find the “Primary MAC address” of the computer that 
the controller is running on.

This is a six byte value: UU:VV:WW:XX:YY:ZZ.

You then convert this to an EUI-64 in the way IEEE specifies: 
UU:VV:WW:FF:FE:XX:YY:ZZ
And this would then be the controller’s Entity ID (GUID is an old term 
which has different definitions)

If you need more than one controller per computer, then you would 
replace the middle FF:FE with two byte values so that each controller 
running on the computer would get a unique ID."

My AVDECC messages are working fine with this approach.

Regards,
Richard.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.