Hi Lizhao,

On Sat, May 9, 2009 at 2:52 AM, Lizhao You <[email protected]> wrote:
> I am sorry for the my confusing description. In fact, BlinkToRadio only has
> 2B nodeid(default 00 01) and 2B counter(increase per pkt), whose length is
> less than 16bytes. I thought RF230Sniffer can print this two field, but the
> result turned to be: 21:39:32 "rx" 13817759 55952 0 17. No payload existed.

Ok, the thing is that it cannot put the whole message into the serial
message payload, so the last field (which is the array) is omitted.

You need 3.5 bytes for "rx", 4.5 for 13817759, 2.5 for 55952, 1.5 for
0, 1.5 for 17 and 18.5 for the 17 byte payload. That adds up to 32
bytes but the payload of the message is 28 bytes at most.

Add the following define to the sniffer application makefile:
TOSH_DATA_LENGTH=40, that will fix your problem and show the proper
payload.

Miklos
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to