[Tinyos-help] Message format

Milton Aguiar miltonaguiar at netmadeira.com
Thu Jan 4 06:49:17 PST 2007


Hi all:

I'm testing an application with tmotes. When i save the data received in 
the pc in a log file the format of the message that i can observe is the 
following:

1167837572484 Message <MultiHopMsg>

  [sourceaddr=0x0]

  [originaddr=0x1]

  [seqno=0x225]

  [originseqno=0x1ff]

  [ttl=0x3]

  [id=0x22]

  [data=0x47 0x5 0x0 0x0 0x33 0xb 0x0 0x0 0x3 0x52 0x0 0x0 0xff 0xff 
0xff 0xff 0x5a 0x0 ]

1167837572546 Message <MultiHopMsg>

  [sourceaddr=0x0]

  [originaddr=0x0]

  [seqno=0x226]

  [originseqno=0x226]

  [ttl=0x0]

  [id=0x22]

  [data=0x6 0x1 0x0 0x0 0x46 0x1 0x7e 0x0 0x3 0x0 0x7e 0x0 0xff 0xff 
0xff 0xff 0x0 0x0 ]

Now the question i put is how to interpret data? Where is the value of 
temperature, humidity, TSRSensor, PARSensor, Int.Temp and Int.Voltage?? 
I need to manipulate this log file to manipulate the data in Matlab. 
Please can someone give me a help?



More information about the Tinyos-help mailing list