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
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to