Hello, On Sun, Aug 22, 2010 at 3:13 PM, Jon Smirl <[email protected]> wrote: > 6lowpan spec provides a clue on how to handle this: > > A short IEEE 802.15.4 address is 16 bits in length. Short addresses > are mapped into the restricted space of IEEE EUI-64 addresses by > setting the middle 16 bits to 0xfffe, the bottom 16 bits to the short > address, and all other bits to zero. As a result, an IID generated > from a short address has the form: > > 0000:00ff:fe00:XXXX
IIRC there should be also PAN ID somewhere > > where XXXX carries the short address. The universal/local bit is > zero to indicate local scope. > > If we convert the short addresses to this format for the upper layers > will have a fixed address format. On transmit look for this pattern > and then convert back to short address mode. struct ieee802154_addr > can be eliminated and replaced with u8[ALEN]. While it's possible to have this in 6lowpan, it looks like a hack for me from the generic IEEE 802.15.4 POV. -- With best wishes Dmitry ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Linux-zigbee-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
