The tmote Oscilloscope program strikes me as another of the expertly
obfuscated TOS demo apps that is nearly impossible to follow or
modify...IMHO.

I think the business end of the data collection/aggregation happens
in the tinyos-1.x/tos/lib/Oscope/OscopeM.nc file, and you may be
able to reverse-engineer how it works in order to save yourself.

Or you might find it easier to go back to the 'standard' Oscilloscope
demo app in the TOS 1.1.x tree. There you only need to reverse-engineer
the DemoSensor thing, which is a wrapper-upon-wrapper-upon-ADCC interface
and can be found in tinyos-1.x/tos/platform/msp430/DemoSensorC.nc for
the tmote.

MS


Saif A. Al-Hiddabi wrote:
Hi,

I need some help to modify the Oscilloscope application so that it reads only the TSR sensor and not the entire set of sensors. I also need to have one reading per packet sent. The current Oscilloscope application sends 10 readings per packet for the six sensors and this makes the application slow. I tried to see where this can be modified in “OscilloscopeTmoteSkyM.nc” and “OscilloscopeTmoteSky.nc” but no luck and things looks complicated in the code. Thanks in advance for any help.

Regards,

SAIF


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

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

Reply via email to