Hi,
I have the following code which behaves not as expected:
fwdPayload = (nx_struct dsrPacket*) call Packet.getPayload
(&fwdMessage, 30);
printf("Packet payload length: %d\n", call Packet.payloadLength
(&fwdMessage));printfflush();
The second line should print out that the packet's payload is 30 as I
understand but for the first run I always get a length of 243 the
following runs produce a correct value of 30. Does anyone have an idea
what could have gone wrong? The fwdMessage was not used before this
line of code.
David
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help