RE: [Tinyos-help] TSR reading in Oscilloscope application

2007-11-08 Thread Saif A. Al-Hiddabi
Sky. Thanks, SAIF -Original Message- From: Peizhao Hu [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 07, 2007 9:18 PM To: Saif A. Al-Hiddabi Cc: 'Tinyos-Help' Subject: Re: [Tinyos-help] TSR reading in Oscilloscope application To achieve what you want to do in TinyOS. You just need

Re: [Tinyos-help] TSR reading in Oscilloscope application

2007-11-07 Thread Michael Schippling
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

[Tinyos-help] TSR reading in Oscilloscope application

2007-11-07 Thread Saif A. Al-Hiddabi
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

Re: [Tinyos-help] TSR reading in Oscilloscope application

2007-11-07 Thread Peizhao Hu
it looks like TinyOS 2.X is slightly better. :-) regards; Peizhao Michael Schippling wrote: 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

Re: [Tinyos-help] TSR reading in Oscilloscope application

2007-11-07 Thread Peizhao Hu
To achieve what you want to do in TinyOS. You just need to modify the following for single reading per packet. // Oscilloscope.h typedef nx_struct oscilloscope { nx_uint16_t version; /* Version of the interval. */ nx_uint16_t interval; /* Samping period. */ nx_uint16_t id; /* Mote id of