You're correct about the lack of RFC2464 compliance (no ff:fe); I had it for a while and took it out because it was annoying to type. I guess this isn't a very good attitude towards standards, so if people feel strongly about this we can put it back in.
The reason I haven't added support for long EUI-64 based addressing is because the messaging layer used by tinyos doesn't support using 64-bit addressing mode. While it would still be possible to use 64-bit based IP addresses, it's a little silly since (a) you'd still have to manually guarantee that 16-bit short ids are unique in your network, and (b) you wouldn't be able to use the L2 address as part of the 6lowpan compression scheme. Steve On Mon, Sep 21, 2009 at 7:41 AM, Markus Becker <[email protected]> wrote: > Hello, > > I am currently trying out BLIP from tinyos-2.x CVS head. When working with it, > a few questions came up: > > IPAddressP allows for setting the 16 bit short address (which also changes > TOS_NODE_ID). From that the Link Local Address is derived by: > > EUI-48 = PAN_ID(16*'0') + 16*'0' + 16 bit TOS_NODE_ID > 6LOWPAN_IP_ADDR = FE80::/64 + 16*'0' + EUI-48 > > According to RFC 4944 Section 6 and 7 shouldn't this be: > > EUI-48 = PAN_ID(16*'0') + 16*'0' + 16 bit TOS_NODE_ID > 6LOWPAN_IP_ADDR = FE80::/64 + EUI48_TO_EUI64_RFC2464(EUI-48) > where EUI48_TO_EUI64_RFC2464(EUI-48) inserts FF:FE in the middle? > > Could additionally the setting of the long address, which is also described in > RFC4944, be added to the IPAddress interface? > > E.g. like this: > > command void IPAddress.setLongAddr(ieee_eui64_t newAddr) {}; > > I am trying to put the SerialID of the DS2411 chip to some use, instead of > using TOS_NODE_ID for the IPv6 address. > > BR, > Markus > > ------------------------------------------------ > | ATTENTION: NEW TELEPHONE EXTENSION! > ------------------------------------------------ > | Dipl.-Ing. Markus Becker > | Communication Networks > | Mobile Research Center > | TZI - Center for Computing Technologies > | University Bremen > | Germany > ------------------------------------------------ > | web: http://www.comnets.uni-bremen.de/~mab/ > | mailto: [email protected] > | telephone: +49 421 218 62379 > | building: NW1 room: N2260 > ------------------------------------------------ > -- stephen dawson-haggerty http://cs.berkeley.edu/~stevedh uc berkeley wireless and embedded systems lab berkeley, ca 94720 _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
