[Tinyos-help] cannot run tossim in python

2006-12-20 Thread preeti k
Hello, I have compiled the Blink application but an unable to run it. After 'from tinyos.tossim import *' , when i say 't=tossim([])', i get an errot saying 'NameError: tossim not defined' In the tossim lesson i came across some python commands to get the variables. But here again i get error

[Tinyos-help] reading temp and converting to celcius

2006-12-20 Thread olcay çelik
hello i took a graduation project which was measuring temperature and displaying on a webserver. I have searching internet since 1 mount and laslty found a header information from tinyos data and i found a C# code which is calculating temperature. but i was unable to understand some part of

[Tinyos-help] make: *** [sim-exe] Error 1

2006-12-20 Thread Βάσω Καρυώτη
I get that: make: *** [sim-exe] Error 1 after I run this: make micaz sim What should I do? - Χρησιμοποιείτε Yahoo! Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των

[Tinyos-help] Transporting UserButton to Tinyos-2.x

2006-12-20 Thread migueltsilva
Hello, I need help transporting UserButton from moteiv to T2, I have try with no sucess, can someonde help with this? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] Error: No Packet Handler

2006-12-20 Thread Tony Ling
Hello, I am trying to run Ocilloscope.nc from \opt\tinyos-1.x\contrib\xbow\apps and view its results using MOTEVIEW 1.2 I am using MIB510 configuration board and MICA2 sensor with the MTS 310 sensorboard. I receive this error as my output: error: no packet handler for tos type 0x0a Does

[Tinyos-help] import _TOSSIM

2006-12-20 Thread preeti k
Hi, I am trying to find why tossim does not run. I guess there is a problem with the statement ' import _TOSSIM' in the TOSSIM.py file that gets generated. IF i comment out the import statement and just import TOSSIM, i get following output *** import TOSSIM Traceback (most recent

RE: [Tinyos-help] Timer.nc

2006-12-20 Thread Firat TARAKTAS
I think, it should be command result_t start(TIMER_REPEAT, 200); Firat TARAKTAS Project Engineer GENETLAB INFORMATION TECHNOLOGIES Kayisdagi Caddesi Kar Plaza D Blok Kat:3 34752 Icerenkoy / Istanbul / TURKIYE Tel: +90 (216) 573 00 85 (int. 354) Fax:+90 (216) 469 85 07 mailto:[EMAIL

[Tinyos-help] Raw Active Message

2006-12-20 Thread Phaneeth Kumar
Hi Everybody! I am building an application primarily intended for lossless transmission of sensor data to the base PC. For that purpose I require that I address individual motes and command them to start and stop collecting data, reading lost packets from their EEPROM, etc. I worked out

[Tinyos-help] Best physical nodes to test on.

2006-12-20 Thread Christian Brenninkmeijer
Hi Everyone, We currently writing Sensor network application code for TOSSIM. Could anyone suggest which would be the best types of physical nodes to buy. Ideally so the transfer from TOSSIM to real hardware is not too difficult. We would like to test our material on some small not to

[Tinyos-help] Reading RSSI values from Tmote Sky

2006-12-20 Thread Milton Aguiar
Hi all: I've tryed to do what is suggested in http://www.moteiv.com/community/Reading_RSSI_values_from_Tmote_Sky but when i try to compile my application an error occurs: In component `CC2420ControlM': C:/cygwin/opt/moteiv/tos/lib/CC2420Radio/CC2420ControlM.nc: In function

[Fwd: Re: [Tinyos-help] Reading RSSI values from Tmote Sky]

2006-12-20 Thread Milton Aguiar
---BeginMessage--- Hi: And how i can do what you have suggested? The applicaion that i use wasn't developed by me. Can you give a help? Thanks ! Milton Joe Polastre escreveu: Your application needs to handle the RSSI.dataReady() event or provide a default event handler. -Joe On

[Tinyos-help] Tossim TCP connection

2006-12-20 Thread olcay çelik
Hello i want to ask a simple question. Is it possible to make a tcp connection to TOSSIM to recieve datas. ? If possible How ? any document relating to this plese share your experience Thanks. Kind Regards.. Mahmut Olcay Celik _

Re: [Tinyos-help] Transporting UserButton to Tinyos-2.x

2006-12-20 Thread Philip Levis
On Dec 20, 2006, at 4:08 AM, migueltsilva wrote: Hello, I need help transporting UserButton from moteiv to T2, I have try with no sucess, can someonde help with this? There's been some discussion in the core WG about how to present Buttons. Gil (author of TEP 114) has concluded that

Re: [Tinyos-help] python version

2006-12-20 Thread Philip Levis
On Dec 20, 2006, at 6:39 AM, Krisakorn Rerkrai wrote: Hi, I just got the same problem after upgrading to 2.0.0-3. My fix was referred to Phil's comment. I added one more flag (-shared) in PLATFORM_BUILD_FLAGS like this PLATFORM_BUILD_FLAGS= -fpic -shared -W1,--enabled-auto-image-base Then

Re: [Tinyos-help] make: *** [sim-exe] Error 1

2006-12-20 Thread Philip Levis
On Dec 20, 2006, at 3:31 AM, Βάσω Καρυώτη wrote: I get that: make: *** [sim-exe] Error 1 after I run this: make micaz sim What should I do? You should give more information. :) E.g., what does it print out before that error? Nothing at all? Phil

Re: [Tinyos-help] cannot run tossim in python

2006-12-20 Thread Philip Levis
On Dec 20, 2006, at 12:23 AM, preeti k wrote: Hello, I have compiled the Blink application but an unable to run it. After 'from tinyos.tossim import *' , when i say 't=tossim([])', i get an errot saying 'NameError: tossim not defined' In the tossim lesson i came across some python commands

[Tinyos-help] make: *** [RadioCountMsg.class] Error 127

2006-12-20 Thread Βάσω Καρυώτη
I am trying to build a TOSSIM aplication (the RadioCountToLeds to be excact) and right after I typemake micaz sim I get an error and here are the last three lines of the output javac RadioCountMsg.java make: javac: command not found make: *** [RadioCountMsg.class] Error 127

Re: [Tinyos-help] Best physical nodes to test on.

2006-12-20 Thread Michael Schippling
We just had a big go-round about this a couple weeks ago if you want to search back for all the fun. I think Joe P. convinced me that the moteiv products had good bang-fer-buck, however they have fewer I/O lines available, vis the mica's (probably moot in all cases but mine...). If you go with

Re: [Tinyos-help] make: *** [RadioCountMsg.class] Error 127

2006-12-20 Thread Michael Schippling
You probably don't have the java SDK bin directory in your PATH env var. In the cygwin shell window try: type javac to which you should see something like: javac is /cygdrive/c/JAVA/j2sdk1.4.2_04/bin/javac Here's a sample from my PATH setting: export PATH

[Tinyos-help] Erros with tos-check-env and make platform docs

2006-12-20 Thread Mohamed Ahmed
Hi, When I run tos-check-env, I got the following problem: tos-check-env completed with errors: -- WARNING: No dot in current path. -- WARNING: tos-check-env could not find the 'dot' executable which is part of the ATT Graphviz package. Please install version 1.1.0 of Graphviz if you'd

Re: [Tinyos-help] reading temp and converting to celcius

2006-12-20 Thread Benjamin Madore
On Wed, December 20, 2006 6:21 am, olcay çelik said: in this code especially in the variable declaration a, b, c and Rthr what is it ? i did not understand please someone help me because i have to write my own code. and my second question is in the simulation environment how can i see the

Re: [Tinyos-help] Erros with tos-check-env and make platform docs

2006-12-20 Thread Michael Schippling
strangely enough those error messages are related... Graphviz is the product that contains dot which generates pretty network diagrams, such as the TOS wiring charts. I thought that G.V. was part of the main tinyos install, so you might just search your machine and see that the path to it's bin

Re: [Tinyos-help] reading temp and converting to celcius

2006-12-20 Thread Michael Schippling
Just a note on the battery code...if you are using mica2 (and perhaps others...) the reading called battery from ADC7 is coming from a fixed voltage reference, however the Vref for the converter _is_ the battery. Therefore, as the battery droops, the apparent value on ADC7 _increases_. That's why

[Tinyos-help] shell script for all export

2006-12-20 Thread Mohamed Ahmed
Hi, It seems that whenever I open cygwin, I have to run the four export command shown in Step 5: Install the TinyOS-2.x given in the website http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html Otherwise, for instance make micaz will not work. Could you please tell

Re: [Tinyos-help] shell script for all export

2006-12-20 Thread Michael Schippling
There is a master script that is run at shell startup time in: C:/cygwin/etc/profile (or where ever your cygwin is installed) It should also source a personal version in $HOME/.bash_profile where HOME would usually default to something like: C:/cygwin/home/[your-user-name] Anything

[Tinyos-help] Re: did you figure out the TOSSIM problem?

2006-12-20 Thread preeti k
Add the following shared flag to the build flags in sim.extra file PLATFORM_BUILD_FLAGS= -fpic -shared -W1,--enabled-auto-image-base That should solve the problem. -Preeti On 12/21/06, Mikhail Nesterenko [EMAIL PROTECTED] wrote: Let me know if you do because I seem to have the same

[Tinyos-help] Re: Tinyos-help Digest, Vol 44, Issue 66

2006-12-20 Thread Tarun Bansal
You can use Serial Forwarder for this purpose. That will create a pipe from a specified serial port to TCP port of your choice. check: http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson6.html Tarun Bansal Message: 6 Date: Wed, 20 Dec 2006 17:42:32 + From: olcay çelik [EMAIL