Re: [Tinyos-help] Use of the SerialForwarder

2010-03-09 Thread Arik Sapojnik
If you are executing your program and the SF on the same PC, you should use address 127.0.0.1 (localhost). Arik On Wed, Mar 10, 2010 at 01:44, David Rodenas Herráiz wrote: > Hi > > I have an application in C++, and I realized that I have to make a client > socket (I made a server and It doesn

Re: [Tinyos-help] TOSSIM compile error

2010-03-09 Thread Ziadyassin
Dear all, I installed TinyOS correctly, but while compiling TOSSIM I encountered the following error message : " $ make micaz pc mkdir -p build/micaz compiling BlinkAppC to a micaz binary ncc -o build/micaz/main.exe -Os -Wall -Wshadow -Wnesc-all -target=micaz -fnesc- cfile=build/micaz/app.c -

Re: [Tinyos-help] tinyos-2.x and MATLAB

2010-03-09 Thread Yee Wei Law
Found a solution/workaround, run your Java program using sudo. The extensions can then be found. On 10 March 2010 00:46, Yee Wei Law wrote: > Well, I'm also on Snow Leopard and I'm also having problem with Java not > finding the getenv and toscomm library when they are all in > /Library/java/Ext

[Tinyos-help] some questions about 4bitle

2010-03-09 Thread Islam Hegazy
Hi All, Going through the latest version 1.17 of 4bitle in LinkEstimatorP.nc, I have the following questions: 1) Why is the inquality added to the footer of the beacons and it is not used by the receiving party? 2) The calculations of the inqualities and ETXs are done using unsigned int. Howev

[Tinyos-help] Use of the SerialForwarder

2010-03-09 Thread David Rodenas Herráiz
Hi I have an application in C++, and I realized that I have to make a client socket (I made a server and It doesn't work) to connect to SerialForwarder and receive messages from the mote to PC. What is the address of the SerialForwarder? RecvAddr.sin_port=htons(Port); RecvAddr.sin_family=AF

Re: [Tinyos-help] unsatisfied statements in 4bit link estimator

2010-03-09 Thread Islam Hegazy
Hi All, Although I discovered that I was working in a wrong directory 'le' instead of '4bitle', the unsatisfied statements claim still hold. minPkt = BLQ_PKT_WINDOW; for (i = 0; i < NEIGHBOR_TABLE_SIZE; i++) { ne = &NeighborTable[i]; if (ne-

Re: [Tinyos-help] what does "TOSH_uwait(5)" mean?

2010-03-09 Thread Eric Decker
Always a good place to start is with the provided documentation before sending stuff to the lists. For example, I did a very simple search of the repo: from the top level... find . -exec grep -nHi tosh_uwait \{\} \; and got: ./doc/txt/tep102.txt:235:the TOSH_uwait macro from TinyOS 1.x. ./tos/

Re: [Tinyos-help] Application in C++ for Tinyos

2010-03-09 Thread David Rodenas Herráiz
Hi Jordi I've seen that Blip is in TinyOS 2.1, isn't it? I'm using TinyOS 2.x. Can I use it? I have a problem, I have to program something in another application, and I only need to receive messages. I don't know what to do! Thanks a lot! David Date: Tue, 9 Mar 2010 19:28:15 +0100 Subject: Re

Re: [Tinyos-help] Sensor is always on...

2010-03-09 Thread Daniel Garcia Aubert
Hi Michael! Thanks! I tried your request but I think only works in TinyOS 1.x. I hope TinyOS 2.x handle sensor. And it isn´t always on. Any idea? Regards! -- Daniel García Aubert Universidad Carlos III de Madrid. ___ Tinyos-help mailing list Tinyos-

Re: [Tinyos-help] XSensorMTS400 equivalent for Micaz mote

2010-03-09 Thread Michael Schippling
What version of TOS are you using? With a way old T1.1.7 I get a couple errors in the Voltage component when compiling contrib/xbow/apps/XSensorMTS400 for micaz which should be pretty easy to eliminate...There's probably some new stuff in Moteworks too. MS Mark Patrick Cabrera wrote: > Thank

[Tinyos-help] Put CPU in sleep mode (power save)

2010-03-09 Thread Daniel Garcia Aubert
Hi all! Well, I wrote an application in TinyOS 2.1 for MicaZ platform and MTS310CB sensorboard. The application use radio (CTP + LPL), timer (TimerMilliC), LEDs (LedsC) and sensor (TempC). Testing with Avrora 1.7.110 I saw that CPU state never is lower than Idle. The CPU comsumption seems very hig

[Tinyos-help] Cannot form a mesh network through moteview

2010-03-09 Thread wendy guo
Hi, All I have a problem in setting up the mesh network through moteview/Xmesh. Background: Windows XP, Tinyos 2.x and Moteview 2.0. I plan to use total 8 MicaZ nodes including one sensor node working with mib510 gateway. First I was able to successfully download the Xmesh micaz\MTS300\XMTS30

Re: [Tinyos-help] Application in C++ for Tinyos

2010-03-09 Thread Jordi Soucheiron
Hi David, Using blip it's really easy to make a C++ program to interact with motes. You could try to use it. Good luck 2010/3/9 David Rodenas Herráiz > Hi all > > I'm trying to make an application in C++ language for PC to read and > display messages on screen. I made a socket to connect the ap

Re: [Tinyos-help] XSensorMTS400 equivalent for Micaz mote

2010-03-09 Thread Michael Schippling
There are only minor differences between the mica2 and Z (aside from the radio itself and the INT2 extra pin connection that it needs), so you should be able to plug and play. I have a pinout list here: http://www.etantdonnes.com/Motes/ATMEGApins.txt MS Mark Patrick Cabrera wrote: > I would lik

Re: [Tinyos-help] Reading a voltage from an ADC pins

2010-03-09 Thread Michael Schippling
Sounds like you've calibrated your ADC. The usual formula is: Vread = Vin/Vref * ADCrange where: Vread is the ADC reading, Vin is the input signal, Vref is the ADC reference voltage, ADCrange is the full scale ADC value... 1024 for 10 bits and 4096

[Tinyos-help] Application in C++ for Tinyos

2010-03-09 Thread David Rodenas Herráiz
Hi all I'm trying to make an application in C++ language for PC to read and display messages on screen. I made a socket to connect the application and the mote to port 9001, but it doesn't read anything! Dows anyone know of an application made in C++ for Tinyos? I need an example! Thanks! D

[Tinyos-help] what does "TOSH_uwait(5)" mean?

2010-03-09 Thread Li, Haixia
Hi all: Can anyone tell me what the "TOSH_uwait(5)" means? This statement appeared in the Tinyos1. And I want to know how to use it in the tinyos 2.x. Thank you. Thanks, Haixia Li ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu htt

[Tinyos-help] Reading a voltage from an ADC pins

2010-03-09 Thread Areej Khaddaj
Hello.. I'm trying to read an external voltage connected to an ADC pin. What I'm reading from the Mote, is different from the input voltage. I have made lts of measurements, plotted them, and concluded that my input voltage and the "read" value are related perfectly linearly by the following e

Re: [Tinyos-help] tinyos-2.x and MATLAB

2010-03-09 Thread Yee Wei Law
Well, I'm also on Snow Leopard and I'm also having problem with Java not finding the getenv and toscomm library when they are all in /Library/java/Extensions. On 4 November 2009 02:47, Abhay Ghatpande wrote: > Has anyone managed to get MATLAB working with tinyos-2.x? > I am using MATLAB R2009b o

[Tinyos-help] Problem with log function, help needed

2010-03-09 Thread Kartik Siddhabathula
Hi All, I am having problem with my log function as sometimes my log read gives inconsistent values. Also, I am having some issues with the code which am sending as an attachment, like my send is executed only once whereas it should execute 10 times. Also whenever log contains the correct values i

[Tinyos-help] XSensorMTS400 equivalent for Micaz mote

2010-03-09 Thread Mark Patrick Cabrera
I would like to interface the MTS400 sensor board with Micaz motes, and I have found the application XSensorMTS400 available at contrib/xbow folder. But I think the codes are intended for Mica2 connections. Does anybody know an equivalent version of this for Micaz motes? Please help me. - Patrick

Re: [Tinyos-help] `Send.sendDone' called asynchronously from `completeSend'"

2010-03-09 Thread Miklos Maroti
Hi! Use the official tinyos-2.x codebase. Miklos On Tue, Mar 9, 2010 at 10:42 AM, Barosan, I. wrote: > > Hello, > > I just started with tinyOs and I get this warning : > > /opt/MoteWorks/tos/radio/rf230/RF230RadioRawM.nc:601: warning: > `Send.sendDone' called asynchronously from `completeSend'

[Tinyos-help] `Send.sendDone' called asynchronously from `completeSend'"

2010-03-09 Thread Barosan, I.
Hello, I just started with tinyOs and I get this warning : /opt/MoteWorks/tos/radio/rf230/RF230RadioRawM.nc:601: warning: `Send.sendDone' called asynchronously from `completeSend'". How I can get rid of it ? Should I add async keyord to all the components that use the interface Send ? Any

Re: [Tinyos-help] Problem Compiling For TOSSIM

2010-03-09 Thread Ziadyassin
Dear all, I installed TinyOS correctly, but while compiling TOSSIM I encountered the following error message : " $ make micaz pc mkdir -p build/micaz compiling BlinkAppC to a micaz binary ncc -o build/micaz/main.exe -Os -Wall -Wshadow -Wnesc-all -target=micaz -fnesc- cfile=build/micaz/app.c -

[Tinyos-help] Problem with Microphone mts300 (iris platform)

2010-03-09 Thread Alessandro Pinzuti
When I call the command readToneDetector() the output is always the same, how if the microphone detects always a sound the code that I used is the following:       event void Boot.booted(){               call Microphone.enable();       }       void report_tone(){           if(call Microphone