[Tinyos-help] Help in reading Data of Listen and ListenRaw

Pablo Gil Montaño pgilmon at yahoo.es
Sun Sep 24 03:23:18 PDT 2006


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 <singhals.sumit at gmail.com> 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060924/8e81cb62/attachment.htm


More information about the Tinyos-help mailing list