How are you sending the command?
Your TOS code looks ok, assuming you did add a field to
the ResetMessage.

For working examples there's a horribly complicated example of two
way communication in my posted code:
    http://www.etantdonnes.com/Motes/robocode.tar.gz
and SimpleCmd app does a similar thing.

MS

yvonne er wrote:
Dear all,

For my Body Sensor Network (BSN) project. i am facing problems regarding its servicing - how to control the sensors sending data (from a mote with Oscilloscope program) wirelessly to the pc (another mote with TOSBase attached to pc); the sensors will have to wait for our command "start" or "stop" before sending data over to pc wirelessly.

Meanwhile, i have used java and NesC programs to send commands to the sensors, but i still couldn't command the sensors to start sending its data.

2 files are attached above.

In this OscilloscopeM.nc as attached, i am still not able to enter into this event "ResetCounterMsg.receive(TOS_MsgPtr data)" when i command "start_sensing". I would appreciate the help greatly.

Many thanks and Best regards,
Yvonne



------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to