[Tinyos-help] TestLocalTime help

2008-05-01 Thread Varun Jain
Hi, I recently installed TinyOS-2.0.2 on Windows/Cygwin. I have ported the Chipcon hardware (CC2420DBK) in TinyOS and I am checking the applications one by one to check the correctness of my port. I was trying the TestLocalTime, it compiles and installs correctly and blinks the LED0. It also

Re: [Tinyos-help] Voltage measurament accuracy

2008-05-01 Thread Flavio Pompermaier
Since I'm working on Tmote Sky (12 bit sampling resolution) I had a look on the relative datasheet at page 23.It says that Vcc= (sampledData/4096)*Vref*(2R/R) and sampling is done in the middle of 2 equal resistors between the Vcc and ground.So, from what I could understand Vref (a stable voltage

[Tinyos-help] MTS 310 and TinyOS 2

2008-05-01 Thread Rogério De Pieri
Dear all, I'm trying to use a MTS310 sensorboard on a mica2 running a Tinyos 2 application but it doesn't work. I did a first test using a Tmote Sky with Oscilloscope application from tutorial and everything woks very well. So a think I'm going by the right way. I need to use Mica2 + MTS310

Re: [Tinyos-help] addition of sensors to expansion port of telosb

2008-05-01 Thread Richard
Sir, I think we must create a board like the smiths-medical have the is compatible also for telosB. It can detect and output the pulse rate and the oxygen saturation. Also we could add the temperature sensor in there to have temperature reading to be send to the ADC port of telosB. But the

Re: [Tinyos-help] TinyOS Search Engine

2008-05-01 Thread David Moss
This is good stuff. I suggest creating a link to this on http://docs.tinyos.net http://docs.tinyos.net/ if it hasn't been done already. -David _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joey Wilson Sent: Wednesday, April 30,

Re: [Tinyos-help] Voltage measurament accuracy

2008-05-01 Thread Michael Schippling
I haven't looked at the battery monitor on the tmote. There appears to be an InternalVoltage module which may be the battery voltage. However I would have to spend the rest of the day tracing through schematics, code, and the MSP manual to figure out what they think they are doing, which could

Re: [Tinyos-help] addition of sensors to expansion port of telosb

2008-05-01 Thread Michael Schippling
Well, I would start by looking at the specs for my sensor to see what kind of signal it puts out. If it's an analog voltage and it's in the 0-3v range you can just connect it to an ADC input and start programming. Otherwise you may need a resistor ladder to reduce the voltage or an op amp to

Re: [Tinyos-help] SplitControlPowerManagerC not checking errors (BUG?)

2008-05-01 Thread Kevin Klues
What sort of functionality are you looking for? Retry calls to start / stop if they don't return success the first time? i.e. continuously post a task until these calls return successfully? Kevin On Wed, Apr 30, 2008 at 2:53 PM, Dimas Abreu Dutra [EMAIL PROTECTED] wrote: Hello all, I've been

Re: [Tinyos-help] SplitControlPowerManagerC not checking errors (BUG?)

2008-05-01 Thread Philip Levis
On May 1, 2008, at 9:46 AM, Kevin Klues wrote: What sort of functionality are you looking for? Retry calls to start / stop if they don't return success the first time? i.e. continuously post a task until these calls return successfully? Well, the first question is whether the component is

Re: [Tinyos-help] SplitControlPowerManagerC not checking errors (BUG?)

2008-05-01 Thread Kevin Klues
I doesnt provide start and stop though. It only uses it. Return EBUSY to whom? Kevin On Thu, May 1, 2008 at 10:14 AM, Philip Levis [EMAIL PROTECTED] wrote: On May 1, 2008, at 9:46 AM, Kevin Klues wrote: What sort of functionality are you looking for? Retry calls to start / stop if

Re: [Tinyos-help] SplitControlPowerManagerC not checking errors (BUG?)

2008-05-01 Thread Philip Levis
On May 1, 2008, at 10:16 AM, Kevin Klues wrote: I doesnt provide start and stop though. It only uses it. Return EBUSY to whom? Kevin Uh, the point is that SplitControl.stop should only return EBUSY if the underlying component is in the starting state. So the question is whether the

[Tinyos-help] Simulator for telosb

2008-05-01 Thread Poonam Hiwal
Hi, Can anyone help me by which simulator can simulate the code for telosb. Thanks, Poonam ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] SplitControlPowerManagerC not checking errors (BUG?)

2008-05-01 Thread Dimas Abreu Dutra
Hello again, I re-read the code and see now that EBUSY should only be returned by SplitControl.stop() on PowerManagerP if a release() command is issued before a granted() is signaled, which I believe should not occur. And the stopping condition variable prevents the EBUSY from being returned by

Re: [Tinyos-help] SplitControlPowerManagerC not checking errors (BUG?)

2008-05-01 Thread Kevin Klues
As the code currently is, you're right, if start or stop ever fails, then there is a chance for lock up. Doing a task repost after checking return conditions shuld fix this problem. As you say though, if FAIL is returned indefinitely, then the task will be reposted forever, but then again you've

Re: [Tinyos-help] TinyOS Search Engine

2008-05-01 Thread Joey Wilson
Great idea. I added the link to the search on this page: http://docs.tinyos.net/index.php/TinyOS_Documentation_Wiki -Joey On Thu, May 1, 2008 at 10:31 AM, David Moss [EMAIL PROTECTED] wrote: This is good stuff. I suggest creating a link to this on http://docs.tinyos.net if it hasn't been

Re: [Tinyos-help] SplitControlPowerManagerC not checking errors (BUG?)

2008-05-01 Thread Philip Levis
On May 1, 2008, at 12:03 PM, Kevin Klues wrote: As the code currently is, you're right, if start or stop ever fails, then there is a chance for lock up. Doing a task repost after checking return conditions shuld fix this problem. As you say though, if FAIL is returned indefinitely, then the

Re: [Tinyos-help] SplitControlPowerManagerC not checking errors (BUG?)

2008-05-01 Thread Kevin Klues
Agreed, but what do you propose as an alternative then? The only one I see is potentially exporting a new interface that a user can wire to that lets them decide what should be done in the case of a failure. Or maybe run in the loop a fixed number of times before giving up and passing through as

[Tinyos-help] stop/start printf using splitcontrol

2008-05-01 Thread Andrew Parson O'Brien
Hello list, I'm under the impression that to share the serial port between AM messages and printf I must start/stop the printf service. I was thinking something like timer fires() start printf service using it's splitcontrol startDone printf things flush() flushDone() stop

Re: [Tinyos-help] Ubuntu package installation problem

2008-05-01 Thread Matthias Gauger
Hello Kevin, The nesc package seems to be working fine now. Thanks for the quick fix! The avr-binutils-tinyos package still does not want to update on my system. Now it complains after the download that the MD5 sum does not match. However, I am not sure whether this error is caused by the

Re: [Tinyos-help] Ubuntu package installation problem

2008-05-01 Thread Kevin Klues
I think I know what might be causeing the md5 sum error. I'll take a look at it when I'm in the office again tomorrow. Kevin On Thu, May 1, 2008 at 2:07 PM, Matthias Gauger [EMAIL PROTECTED] wrote: Hello Kevin, The nesc package seems to be working fine now. Thanks for the quick fix! The

Re: [Tinyos-help] SplitControlPowerManagerC not checking errors (BUG?)

2008-05-01 Thread Vlado Handziski
This is where the modular architecture of the power locks comes to play. I think that the vanilla SplitControlPowerManager should retain a simple policy of either ignoring the FAIL events / not releasing the resource to the requester until it is sure that the device is on (a new request should

[Tinyos-help] Xserve

2008-05-01 Thread 贾鹏
Hi, there our group is considering to set a small system that can set a certain threshold from PC and transmite it to remote sensor node by basestation, and the remote node can reset its light threshold to the new one. And after I reading the xserve manual, I dicover that XML is used in Xserve

Re: [Tinyos-help] SplitControlPowerManagerC not checking errors (BUG?)

2008-05-01 Thread Philip Levis
On May 1, 2008, at 2:43 PM, Vlado Handziski wrote: This is where the modular architecture of the power locks comes to play. I think that the vanilla SplitControlPowerManager should retain a simple policy of either ignoring the FAIL events / not releasing the resource to the requester

Re: [Tinyos-help] SplitControlPowerManagerC not checking errors (BUG?)

2008-05-01 Thread Kevin Klues
The existing component implements the lightweight policy decribed here, and I made a modified version that does an endless task loop this morning. I can either check that one in as EndlessRetryPowerManagerP or just leave it as is for now until a use case for something like this comes up. Kevin

Re: [Tinyos-help] high frequency sampling

2008-05-01 Thread Eric Keller
I think you should be able to use DMA under tinyos-2.x. The issue then becomes a problem of processing all the data before the next frame of data is available. You may want to look into using the hardware multiplier. Eric On Mon, Apr 28, 2008 at 2:39 AM, kuldeep m [EMAIL PROTECTED] wrote: Hi,

Re: [Tinyos-help] SplitControlPowerManagerC not checking errors (BUG?)

2008-05-01 Thread Philip Levis
On May 1, 2008, at 3:57 PM, Kevin Klues wrote: The existing component implements the lightweight policy decribed here, and I made a modified version that does an endless task loop this morning. I can either check that one in as EndlessRetryPowerManagerP or just leave it as is for now until a

[Tinyos-help] Mica2 MPR400CB Problem

2008-05-01 Thread Rogério De Pieri
Dear all, I'm having problems with my motes. I think they aren't 'talking' one to other. My set is: boards MPR400CB Tinyos 2 BlinkToRadio application from http://www.tinyos.net/tinyos-2.x/apps/tutorials/BlinkToRadio/ I've installed the applications by: make mica2 install,1 mib510,/dev/ttyUSB0

[Tinyos-help] Tinyso 1.x or 2.x

2008-05-01 Thread Daniel Pereira
Hi All, I'm developing an aplication with Tinyos and Micaz. So, What's the best version to start my application, v1 or v2? Because the Moteview/Moteworks has installed tinyos 1.x (cygwin). Thanks, Daniel Patrick ___ Tinyos-help mailing list

[Tinyos-help] #include and includes

2008-05-01 Thread 贾鹏
Hi there, anyone can tell me the differences between include and includes? Peng Jia ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Bootloader

2008-05-01 Thread kou ksk
Thanks a lot Sir. This was so kind of you to help me out. I hope this would suffice my purpose. I will inform you as I get some success with this. Thanks and Regards, Koustubh Kulkarni, Indian Institute of Information Technology, Allahabad, India. - Original Message From: Razvan