|
typedef struct TOS_Msg { /* The following fields are
transmitted/received on the radio. */ uint16_t addr; uint8_t type; uint8_t group; uint8_t length; } typedef struct { uint8_t board_id; //!< Unique sensorboard id uint8_t
packet_id; //!< Unique packet type for
sensorboard uint16_t node_id; } XSensorHeader; typedef struct { uint16_t vref; uint16_t
thermistor; uint16_t light; uint16_t mic; uint16_t accelX; uint16_t accelY; uint16_t magX; uint16_t magY; } __attribute__ ((packed))
XSensorMTS310Data; Note that Serial Framer will add delimiter
bytes (0x7e), protocol mode (0x42), and escape bytes (0x7d). 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
