Hi, I would like to warn community what for me is a bug in ieee802.15.4 stack.
It is not huge problem in real hw but it was causing me problems when emulating the stack in Avrora. The problem is that the Sendframe function was sending to TxFIFO one byte more than it actually should be. (It was sending [psduLength] but it should send to txfifo [psduLength - 2(CRC) + 1(Length itself)]) The change i made to solve that: /opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/phy/PhyM.nc 227c227 + call Sendframe.send(psdu,psduLength-1); - call Sendframe.send(psdu,psduLength); The problem in Avrora appears as an ArrayIndexOutOfBoundsException exception in Medium.java. Regards, ------- Rodolfo
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help