EmbDev.net

Forum: AVB Controller entity ID


Author: RICHARD FOSS (Company: Rhodes University) (richardfoss)
Posted on:

Rate this post
0 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!

Author: Andre Labelle (andrelabelle)
Posted on:

Rate this post
0 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.

Author: Richard Foss (Guest)
Posted on:

Rate this post
0 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.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig