I (you) would have to go look at the definition of the LogMsg to
be sure, but it looks like a string of two byte sensor readings
in Low Byte (little-endian) order. The first 0xd4 may be a sequence
number or something but the rest, 0x96 0x00, 0x92 0x00, etc are
probably readings like 0x0096, 0x0092, ...

There is a formula in the Getting Started guides for converting to
lux or something, but I would take the results with a grain of salt
since the sensor is not calibrated.

MS

jurin dan wrote:

   hi

did anybody know when dealing with senselighttolog apps how to convert the data get with the command read_log in to comprehensive data to human being?

 i.e read_log command print this to the screen :

$ java net.tinyos.tools.BcastInject read_log 1
Sending payload: ae 6 0 0 0 1 0 0 0 0 0
Waiting for response to read_log...
Received log message: Message <LogMsg>
 [sourceaddr=0x1]
[log=0xd4 0x0 0x96 0x0 0x92 0x0 0x91 0x0 0x90 0x0 0x90 0x0 0x90 0x0 0x90 0x0 ]


Log values: d4 0 96 0 92 0 91 0 90 0 90 0 90 0 90 0

what is the means of log values and how can i convert to comprehensive data?

  thx

_________________________________________________________________
Play Q6 for your chance to WIN great prizes. http://q6trivia.imagine-live.com/enca/landing

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

Reply via email to