I also am trying to use TOSBase with SimpleCmd. I would like to analyze the packet data received by listen. If someone can help which field in the data is Sequence number.

Thanks,
Bhushan

Pablo Gil Montaño <[EMAIL PROTECTED]> wrote:
I think that if you just send packets to the UART, they don't have either seqNo or dest address (they are set to zero). TOSBase sends the packets so that you can see those fields (perhaps it sets them before sending them through the UART.


Sumit Gupta <[EMAIL PROTECTED]> escribió:
thanx. but i have a doubt abt seq no. If I see as per your order then seq no. is always zero. It doesnt seem right or am I looking at wrong bytes? Pls advice.

Regards,
Sumit

On 9/24/06, Pablo Gil Montaño <[EMAIL PROTECTED]> wrote:
I know the format received with Listen, just in case it can help you, I describe the fields in order, and beteween parantheses the number of bytes.

Length (1)
Frame Control Field (2)
Dat sequence number (1)
Dest PAN address (2)
Dest address (2)
Active Message ID (1)
Group ID (1)
The rest dispayed bu Listen is the payload (it will depend on the data structure you are sending).

You must take into account the fact that when you have two bytes, the first one displayed on screen is the lower byte, so if you have 01 00 in the address field it corresponds with address 0x0001.


Sumit Gupta <[EMAIL PROTECTED] > escribió:
Please help me in reading data. Its comming from same mote and read by ListenRaw and Listen (ran one after another not simulataneously) but the out put is having different formats which confused me alot. Can anyone please help me here. Also ListenRaw output doesnt match exactly with format mentioned in Chapter - 6 of tinyos tutorial. I need a guidance here. Please.

Thanks in advance.

OUTPUT OF ListenRaw:

7E 42 14 00 00 00 00 00 7D 5E 00 11 7D 5D 00 00 00 00 00 00 C0 03 00 00 00 00 8A
 0B 7D 5E 00 F4 3B 00 00 D1 E8
7E

7E 42 14 00 00 00 00 00 7D 5E 00 11 7D 5D 00 00 00 00 00 00 C0 03 00 00 00 00 8A
 0B 7D 5E 00 F5 3B 00 00 65 9E
7E

7E 42 14 00 00 00 00 00 7D 5E 00 11 7D 5D 00 00 00 00 00 00 C0 03 00 00 00 00 87
 0B 7D 5E 00 F6     3B 00 00 DD 53
7E

   
OUTPUT OF Listen (with SerialForwarder):

14 00 00 00 00 00 7E 00 11 7D 00 00 00 00 00 00 D2 03 00 00 00 00 9F 0B 7E 00 1C 3D 00 00

14 00 00 00 00 00 7E 00 11 7D 00 00 00 00 00 00 D2 03 00 00 00 00 9F 0B 7E 00 1D 3D 00 00

14 00 00 00 00 00 7E 00 11 7D 00 00 00 00 00 00 D2 03 00 00 00 00 A2 0B 7E 00 1E 3D 00 00

14 00 00 00 00 00 7E 00 11 7D 00 00 00 00 00 00 DD 03 00 00 00 00 9B 0B 7E 00 CE 3D 00 00

14 00 00 00 00 00 7E 00 11 7D 00 00 00 00 00 00 DD 03 00 00 00 00 9E 0B 7E 00 CF 3D 00 00

Regards,
Sumit
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com




LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to