On Jun 28, 2006, at 3:51 PM, Ben Kelley wrote:
Hi,
I'm going through the tutorial on Mate and having some issues with
send_lqi
(or maybe not) on T-Sky/telosb. If I am reading the documentation
right,
send_lqi acts as a drop-in for send, and thus the packets forwarded
via
send_lqi would be output at the root node as the data. I have run
the mica
pc sim, and see the traffic just fine using TOSSIM and the
VMBufferReader.
Now I just get
Received UART message containing type NONE, ignoring.
Received UART message containing type NONE, ignoring.
Received UART message containing type NONE, ignoring.
Anytime a message comes over the UART. I have gotten directly
connected
nodes to send other UART data and have it recognized.
22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16
38 0A F2
1B F2 1B F3 1B F2 1B F3 1B F3 1B F4 1B F3 1B F3 1B F2 1B
22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16
38 0A F1
1B F3 1B F3 1B F3 1B F2 1B F2 1B F2 1B F3 1B F2 1B F2 1B
22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16
38 0A F3
1B F3 1B F2 1B F3 1B F4 1B F4 1B F4 1B F4 1B F4 1B F4 1B
22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16
38 0A F5
1B F4 1B F4 1B F4 1B F4 1B F4 1B F5 1B F5 1B F4 1B F6 1B
22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16
38 0A F5
1B F5 1B F5 1B F6 1B F6 1B F6 1B F6 1B F6 1B F7 1B F7 1B
22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 55 00 00 00 01 16
38 0A F6
1B F7 1B F7 1B F7 1B F7 1B F7 1B F7 1B F8 1B F7 1B
Is a sample from the data via net.tinyos.tools.Listen
It's configured at 57600 for the data rate.
Also, when I am compiling BombillaTelosB, I see a cannot find
MateBufferMsg
AM type in the log.
Because it's using multihop routing, it will me AM_MATEROUTEMSG
(0x1b): you can see it above in the log, after the address. The
packet format is:
802.15.4 header
Multihop Header
I think the problem is that tos/lib/MultihopLQI changed the packet
format, and I didn't update Mate' to consider this fact. E.g., if you
look at
tos/lib/MultihopLQI/Multihop.h
and
tos/lib/VM/types/mhop.h
The structures are different. If you change tos/lib/VM/types/mhop.h
to be the kind of wasteful
typedef struct MultihopMsg {
uint16_t sourceaddr;
uint16_t originaddr;
int16_t seqno;
int16_t originseqno;
uint16_t hopcount;
uint8_t data[(TOSH_DATA_LENGTH - 10)];
} TOS_MHopMsg;
(wasteful in that it has 16-bit sequence numbers and hopcounts) does
it work?
Phil
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help