Re: [Tinyos-help] Simple Hardware Interrupt

2007-03-23 Thread Michael Schippling
Strangely enough I too am "...creating a ultrasound ranger as a..." I've got a ping signal going to INT3 of a mica2 and need to figure out how to write an interrupt handler for it. I want to get one of the timers running real fast and use it to time the spacing of multiple ping interrupts to locat

[Tinyos-help] unsubscribe

2007-03-23 Thread Rick Li
unsubscribe ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] any command for resetting TMOTE SKY

2007-03-23 Thread Simon Davis
I think you want to implement the WDT watchdog timer to reset the mote automatically after problems. See message number 10518. Regards Simon Davis ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-

Re: [Tinyos-help] Fwd: question on forwarding engine in tinyos-2.x

2007-03-23 Thread Philip Levis
On Mar 23, 2007, at 9:43 AM, Avinash Sridharan wrote: Hi Phil, By service rates of a packet I mean the service rate that the queue is giving to each packet. Since the buffer space for the clients and the forwarders are different the probability that you serve a client packet should be low

[Tinyos-help] Possible problem in TOSSIM (tinyos-2.x)

2007-03-23 Thread Bernardo Avila Pires
Greetings! My name is Bernardo, I'm a college student and I am new to both tinyOS and tinyOS community. I have recently tried to update some of my code to tinyOS-2.x and I have run into a little problem in TOSSIM: no radio message is sent! I have then started to delve the sourcecodes and afte

[Tinyos-help] any Data Aggregation application on Tinyos-2.x?

2007-03-23 Thread LE KHAC HIEU
Hi group, I'm wondering if you know any application using data aggregation which can work on tinyos-2.x. (or can be easily ported to tinyos-2.x). Thanks, ~Hieu ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.be

[Tinyos-help] Simple Hardware Interrupt

2007-03-23 Thread Brian Vaughan
I'm creating an ultrasound ranger as part of a more complicated system. I'm creating the actual ultrasound sensor. I need to use the general purpose IO pins from the 51pin connector for two jobs. On one mote I need to send a high or low signal to one of the pins. On the second mote I need to cr

Re: [Tinyos-help] Fwd: question on forwarding engine in tinyos-2.x

2007-03-23 Thread Avinash Sridharan
Hi Phil, By service rates of a packet I mean the service rate that the queue is giving to each packet. Since the buffer space for the clients and the forwarders are different the probability that you serve a client packet should be lower then the probability that you serve a forwarded packet (assu

Re: [Tinyos-help] Fwd: question on forwarding engine in tinyos-2.x

2007-03-23 Thread Philip Levis
On Mar 23, 2007, at 9:11 AM, Avinash Sridharan wrote: Hi Phil, I agree that if you apply rate control to the client it would limit the packet generation, but the reason I say the queueing dynamics would override these affects is that rate control algorithm assume all packets have the same

Re: [Tinyos-help] Fwd: question on forwarding engine in tinyos-2.x

2007-03-23 Thread Avinash Sridharan
Hi Phil, I agree that if you apply rate control to the client it would limit the packet generation, but the reason I say the queueing dynamics would override these affects is that rate control algorithm assume all packets have the same service rate. But since the queue is biased towards the forwar

Re: [Tinyos-help] Fwd: question on forwarding engine in tinyos-2.x

2007-03-23 Thread Philip Levis
On Mar 22, 2007, at 10:35 PM, Avinash Sridharan wrote: Hi Phil, But even if we apply rate controllers at the sources (say for each of the clients) the inherent unfairness in the queuing dynamics would over ride the effects of the rate controllers to provide fairness. If you apply rate c

RE: [Tinyos-help] Please Help Me to Continuously READ DATA FROM theEEPROM

2007-03-23 Thread Siirtola Harri
At a quick glance, I didn't see how you write the data to flash. Are you sure there are more than one packet of data? Mostly the reason for inexistent data is forgetting to flush the flash buffer, which actually burns the data to flash. Regards, Harri From

[Tinyos-help] Re: Tinyos-help Digest, Vol 47, Issue 89

2007-03-23 Thread Urs Hunkeler
Hi Bandara, I'm always a bit hesitant when people say that one part of their program must be correct because of whatever reason. If what you're saying is correct then the only difference between the two testing programs would be that the program that doesn't wait for the confirmation just jumps to

Re: [Tinyos-help] Please Help Me to Continuously READ DATA FROM the EEPROM on a Micaz MOTE

2007-03-23 Thread Thusitha Asela
Hi, I didn't try it on TOSSIM. But it should work in Motes. Regards, Bandara. - Original Message From: Dasarath Weeratunge <[EMAIL PROTECTED]> To: Thusitha Asela <[EMAIL PROTECTED]> Sent: Friday, March 23, 2007 1:58:30 AM Subject: Re: [Tinyos-help] Please Help Me to Continuously READ D

[Tinyos-help] Is there any special procedure to follow when we want to Read EEPROM or to BCast SEVERAL Packets Continuously?????

2007-03-23 Thread Thusitha Bandara
Hi Hunkeler, Yes. Your understanding is correct. This is a part of the protocol which i am going to implement. So it needs to communicate with the Base Station, before it broadcast its packets. So in my application: *First Sense the Sensor Data and store them in the EEPROM as a Packet

[Tinyos-help] Please Help Me to Continuously READ DATA FROM the EEPROM

2007-03-23 Thread Thusitha Bandara
Hi Hunkeler, Yes. Your understanding is correct. This is a part of the protocol which i am going to implement. So it needs to communicate with the Base Station, before it broadcast its packets. So in my application: *First Sense the Sensor Data and store them in the EEPROM as a Packet

[Tinyos-help] Re: Tinyos-help Digest, Vol 47, Issue 89

2007-03-23 Thread Thusitha Bandara
Hi Hunkeler, Yes. Your understanding is correct. This is a part of the protocol which i am going to implement. So it needs to communicate with the Base Station, before it broadcast its packets. So in my application: *First Sense the Sensor Data and store them in the EEPROM as a Packet.

Re: [Tinyos-help] Is it normal behaviour????

2007-03-23 Thread Aurélien Francillon
Le vendredi 23 mars 2007 08:59, Spidernet Lists a écrit : > Hi, > Is it normal that when i am running the "Blink" application. The Leds > are blinking BUT does the CPU enter the "sleep mode" and never gets out > of this. I am using GDB to debug and when i do the Run coomand,, the > process keeps ru

RE: [Tinyos-help] Is it normal behaviour????

2007-03-23 Thread Firat TARAKTAS
Hi, I think it is normal. Because "hurry-up and sleep" is the main idea of TinyOS. In 1 sec period, toggling Leds are not so long enough that you couldn't achieve to stop the debug session in a working (awake, not sleep) mode. Firat TARAKTAS Electrical&Electronics Engineer Reseracher GENETLA

Re: [Tinyos-help] Please help me with this simple interface problem.

2007-03-23 Thread Urs Hunkeler
Hi Alborz, Is there an Interface StepMotor? If so, does this interface provide a command "init"? Otherwise in CarTowerM.nc, do you have a line like "uses interface StdControl as StepMotor;" ? My guess is that you want to call the init() command of the StdControl interface of StepMotorC (StepMotor

[Tinyos-help] Please help me with this simple interface problem.

2007-03-23 Thread Alborz Sedaghat
Hello. I have a file named "StepMotorM.nc" and it contains "result_t command StdControl.init() {..." Now i want my other file which is called "CarTowerM" to be able to wire to the StdControl.init() in the "StepMotorM", like below. __ module CarTowerM {...

[Tinyos-help] Is it normal behaviour????

2007-03-23 Thread Spidernet Lists
Hi, Is it normal that when i am running the "Blink" application. The Leds are blinking BUT does the CPU enter the "sleep mode" and never gets out of this. I am using GDB to debug and when i do the Run coomand,, the process keeps running and leds keep toggling at the specified rate. But if I hi