Re: [Tinyos-help] How to change saved file destination for Listen(JAVA)?

2006-03-21 Thread Bill Hamilton
On Tue, 21 Mar 2006, #AMIT SATPATHY# wrote: Hi! I am currently trying to find a way to store data sent from my motes into a text file for use later. At the moment, i'm using the command java net.tinyos.tools.Listen output.txt to store the data being received from my TOSBase mote. What i

[Tinyos-help] Re: programming micaz solved

2006-03-21 Thread Roberto
I just resolved... that was the rs cable broken ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Re: Multihop stuff

2006-03-21 Thread Colin Couper
Hi I forgot to attach the diagram! Also I've just read the stuff in Moteivs quickstart guide! I however, don't fully understand how to integrate the multihop stuff into my code! Thanks Colin untitled.PNG Description: PNG image ___ Tinyos-help

Re: [Tinyos-help] programming micaz

2006-03-21 Thread Bill Hamilton
On Tue, 21 Mar 2006, Roberto wrote: I used make micaz install mib510,/dev/ttyS0 and it was running correctly, then I tried to reprogram and the message was device is not responding correctly make: [program] Error 2 what can I do to resolve the problem? The 0 in ttyS0 needs to be

[Tinyos-help] Multihop stuff

2006-03-21 Thread Colin Couper
Hi I'm sure this has been asked befor but I couldn't find any direct reference to it! Is it possible to get a mote running TOSBase to multihop to another node which is attached to a pc and if so how do i do it? I've attached a picture to help in the understanding of what I want to do! Thanks

Re: [Tinyos-help] TimerC problem

2006-03-21 Thread serbaumo
HI, another time. I have done what you told me, I don't have anymore the wrnings about timers. But it seems like i have to put high values yet. it's very strange, becuase in the aplication i use to(CntToRfm) there'a another timre that works corrrectly. i have another problem. The protocol works

[Tinyos-help] oscilloscope app

2006-03-21 Thread Roberto
using oscilloscope application I can see the window of the oscilloscope but it does not display data, while in the shell I can see messages in text mode. Does it exist a way to solve the problem? ___ Tinyos-help mailing list

[Tinyos-help] oscilloscope app

2006-03-21 Thread Roberto
I can see messages in the shell like to Received message: 7E 00 0A 7 D 1A 01 00 4A 01 01 00 A0 01 A0 01 A0 01 A0 01 A1 01 A1 01 A1 01 9F 01 A0 01 A2 01 TOS_Msg length is invalid: header_length=136, real_length=31... modifying msg to fit I'm using micaz and with SENSORBOARD=micasb or basicsb the

[Tinyos-help] Strange results when sending uint16_t values.

2006-03-21 Thread Jose L. Ponce
Hi all, I want to control the DAC of my telosb mote using commands from the computer through the USB port. For that, I've programmed an application which receives a message with two fields: uint8_t for the command and uint16_t for the value we want to set the DAC to. There are two commands: set

[Tinyos-help] Does check_size.pl work correctly?

2006-03-21 Thread An Liu
Hi, I am using check_size.pl from cvs: tinyos/tinyos-1.x/contrib/tinybt/tools/check_size.pl to check the size of each component in my program. But I found that some component written by myself can not be displayed. Does anyone know whether this script work correctly? Or does anyone know better

[Tinyos-help] PowerTossim -cpu cycle counting

2006-03-21 Thread MaTiK aKa DaPrOmIsE
Hello, I was trying to run PowerTOSSIM cpu cycle counting code on Cygwin, but I kept getting an error of: Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/5.8/cygwin/C wd.pm line 544, line 1. : No such file or directory at /opt/tinyos-1.x/tos/../tools/scripts/PowerTOSSIM/

[Tinyos-help] using stdio.h

2006-03-21 Thread jose m
Can I use sscanf in my code for the mica2 mote? (#include stdio.h) Horóscopos, Salud y belleza, Chistes, Consejos de amor: el contenido más divertido para tu celular está en Yahoo! Móvil. Obtenelo en http://movil.yahoo.com.ar

[Tinyos-help] TinyDB on mica2 problem

2006-03-21 Thread sjin
Has anyone used mica2 and collected data using tinydb? I cannot get data and need urgent help. Thanks! sjin ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] using stdio.h

2006-03-21 Thread Lin Gu
Grammatically, you can include stdio.h in your program. And I think avr-libc has an implementation of sscanf. This means you can use it on Mica2. But you'd better double check the source code that implements it to make sure it suffices for your need -- sometimes the implementation is partial.

Re: [Tinyos-help] using stdio.h

2006-03-21 Thread Sankar Gorthi
What exactly are you trying to do. If all you want to do is read from the serial port buffer, you should try implementing the UART component in your nesC program. TinyOS generates an even every time a byte is recieved and you can use this to perform your task. Hope that helps. Sankar. On

Re: [Tinyos-help] TOSSIM: 2 motes, 2 different apps

2006-03-21 Thread Andrea Pacini
You can do it with the following trick: switch (TOS_LOCAL_ADDRESS) { case 1: /* CODE FOR APP A HERE */ break; case 2: /* CODE FOR APP B HERE */ break; } In such way you can run the