|
Another place to look is in xlisten
itself: Basically the format is: Tos Header (5 bytes) defined
in tos/types/AM.h XSensor Header (4 bytes)
defined in contrib/xbow/tools/src/xlisten/xsensors.h typedef struct { uint8_t board_id; //!< Unique sensorboard id uint8_t packet_id; //!< Unique packet type for sensorboard uint16_t node_id; //!< Id of originating node uint16_t data[]; //!< Data payload defaults to 24
bytes } XbowSensorboardPacket; Then the sensorboard specific payload,
in this case mts310: contrib/xbow/tools/src/xlisten/boards/mts310.c Martin __________________________________________________ From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of nandy jones Hi , Thanks for those who have
taken time to reply my last mail...sorry for troubling again but i have
one more querry.....I have been working on the following application......about
which most of them should be familier... Ø To test sensor boards: o First make sure that you are in the
directory: o Go to XSensorMTS300 (or MTS400 based on
the sensor you are using) o Load sensor board on a mote that is
uploaded with the right XSensor application. use the command: o Turn the mote on. o Load a mote on the MIB, turn it off, load
it with TOSBase (from apps/TOSBase folder) using: o Run from /usr/local/bin the following: for which i
got the following as one of the outputs...now i want to know which bytes are
for which measurement...where can i get the information about which bytes
are for Light...Temp...Batery...Mic...etc and how are the conversions
being done..??
Is there any Manual or any document where it specifies /clearly
explains which bytes are being used for the measurements...?? 7e42ffff007d5d1d84010100b0010d028d03e601e60149014901c8000000000000000000009105
[39] mts310 id=01 vref= 1b0 thrm=020d light=038d mic=01e6 accelX=01e6 accelY=0149 magX=0149 magY=00c8 MTS310 [sensor data converted to engineering units]: health: node id=1 parent=0 battery: = 2898 mv temperature=26.10 degC light: = 2575 ADC mv mic: = 486 ADC counts AccelX: = 720.000000 milliG, AccelY: = -2420.000000 milliG MagX: = 44.43 mgauss, MagY: =27.01 mgauss
I would really appreciate if someone could spare sometime and reply back .....i
am thankful to those who have replied to my earlier mail. Thanks in Advance. nandy J Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great
rates starting at 1¢/min. |
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
