Re: [Tinyos-help] Beginners help

2006-12-23 Thread Peter Mueller
Hi, Am 23.12.2006 um 23:50 schrieb Philip Levis: On Dec 23, 2006, at 11:23 AM, Peter Mueller wrote: Hi, I'm new to tinyos (but not to uCs etc). I followed the installation guide for the 2.x version and installed cygwin from the package offered on tinyos.net Installation seems to be ok.

[Tinyos-help] make micaz sim error on BlinkToRadio

2006-12-23 Thread miki ven
Dear All, I am trying to compile the "BlinkToRadio" module in tutorial 3 of TinyOS 2.0. The compilation runs smooth for a "make micaz", but not for simulation. I use Fedora core 6.0. Can anyone tell me what the problem is? When i try making the file for simulation (tossim), i get the following

Re: [Tinyos-help] Beginners help

2006-12-23 Thread Philip Levis
On Dec 23, 2006, at 11:23 AM, Peter Mueller wrote: Hi, I'm new to tinyos (but not to uCs etc). I followed the installation guide for the 2.x version and installed cygwin from the package offered on tinyos.net Installation seems to be ok. Only tos-check-env reported a wrong dot version (m

Re: [Tinyos-help] Beginners help

2006-12-23 Thread Michael Schippling
This may be due to cygwin's lovely attempt at emulating UNIX end-of-line behavior, vis CR/LF and DOgS. I've had similar trouble with shell scripts after (silly me) installing cygwin with the _recommended_ UNIX emulation. This may/not explain it: http://www.cygwin.com/cygwin-ug-net/using-textbi

Re: [Tinyos-help] Reading remaining energy in MICAz mote

2006-12-23 Thread Michael Schippling
Beyond the two ideas I already sent, no... MS Firas Daghmash wrote: Hello Thank you for reply, I need a way even it will not reflect the exact remaining energy. I am thinking of using this for assigning some priority schema based on the remaining energy ... any idea?. Regards, If you mean th

Re: [Tinyos-help] Injecting successively commands problem

2006-12-23 Thread Michael Schippling
If you have a program that is opening and closing the socket for each message, it may not be closing correctly and thus blocking subsequent connections. TCP also takes a little time to close so you may run afoul of a timeout. Try "netstat -a" and see if you can find your port number/name and see

[Tinyos-help] Beginners help

2006-12-23 Thread Peter Mueller
Hi, I'm new to tinyos (but not to uCs etc). I followed the installation guide for the 2.x version and installed cygwin from the package offered on tinyos.net Installation seems to be ok. Only tos-check-env reported a wrong dot version (mine is newer). But when I try to compile the Blink examp

[Tinyos-help] count the computation time of a task in Tinyos

2006-12-23 Thread Ch. Papamanthou
I am developing an algorithm on tossim and I want to count the time needed by the simulated mote to execute some code in a task. By using the commands "tos_state.tos_time", I get the same time after the execution (a for loop) is finished. When I am using clock(), I get a difference. Can I use c

Re: [Tinyos-help] Reading remaining energy in MICAz mote

2006-12-23 Thread Firas Daghmash
Hello Thank you for reply, I need a way even it will not reflect the exact remaining energy. I am thinking of using this for assigning some priority schema based on the remaining energy ... any idea?. Regards, > If you mean the battery charge left, you can't really do it > because there is no wa

Re: [Tinyos-help] BaseStation

2006-12-23 Thread Philip Levis
On Dec 22, 2006, at 7:27 PM, ricardo tiago wrote: Hi, Can BaseStationCC2420 acknowledge a msg? I'm sending a msg from mote(ID=5) to BaseStation(ID = 400). Before sending in mote (ID = 5) i have requested a ack , but the ack never comes. I'm using T2. No. BaseStationCC2420 is intended t