Hello Johny!
Thank you, this patch solved my problem! Now I'm able to test heterogeneous networks with IRIS and Tmote nodes. Regards, Sebastian Scheibe Johny Mattsson wrote: On 8 December 2012 04:11, Sebastian Scheibe wrote: 1) The last byte of the 6LowPAN frame (packet of Iris node) contains zeros and as per Wireshark it is an ICMPv6 RPL option (1-Byte padding). Can this be the reason, why the base station does not receive the solicitation messages of the IRIS node? Why does that byte padding happen? (How) can I fix it? My bad. The fix is this: diff --git a/tos/chips/rf212/RF212BarePacketP.nc b/tos/chips/rf212/RF212BarePack index 3764047..51459ac 100644 --- a/tos/chips/rf212/RF212BarePacketP.nc +++ b/tos/chips/rf212/RF212BarePacketP.nc @@ -12,12 +12,12 @@ implementation command uint8_t BarePacket.payloadLength(message_t *msg) { - return call RadioPacket.payloadLength(msg); + return call RadioPacket.payloadLength(msg)+sizeof(rf212_header_t); } command void BarePacket.setPayloadLength(message_t *msg, uint8_t len) { - call RadioPacket.setPayloadLength(msg, len); + call RadioPacket.setPayloadLength(msg, len-sizeof(rf212_header_t)); } Links: ------ [1] mailto:sebastian.sche...@tu-ilmenau.de
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help