[Tinyos-help] Tiny development environment (Ubuntu Jeos + Xubutos special souce)

2008-04-30 Thread Ariel Mauricio Nunez Gomez
Hi everyone,

I want to share with you my tinyos environment setup. It is based on Ubuntu
Jeos , and
uses samba for file access (meaning you can edit the files with your favor
native editor, and don´t have the copy paste troubles associated with ubuntu
virtual machines. And use ssh (putty in windows) so you can use your
favorite shell in case you have a unix flavored os or get rid of the ugly
windows console with the copy/paste/mark problems.

The good thing is that the Virtual machine  in a zip file can be less than
200MB and less than 400MB when uncompressed.
And that you can assign it as little as 100 megs of ram and have a decent
behaviour.

I have started a page on the wiki with a draft of the
instructions,
I have them since the start of april and haven´t taken time to polish them
and publish the vm.

If anyone want´s to try to follow the instructions, complete them and upload
the vm on a public place, you are very welcome. Note that I used ubuntu
gutsy at that time, but it would probably be better to use hardy lts now
that it is out.

Best Regards,
Ariel.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Ubuntu package installation problem

2008-04-30 Thread Ariel Mauricio Nunez Gomez
On Tue, Apr 29, 2008 at 4:47 PM, Kevin Klues <[EMAIL PROTECTED]> wrote:

> I've reverted the entire repository back to the old one until i get
> these bugs figured out.
>
> if you messed up your system in the meantime, you need to do
>
> sudo apt-get update
> sudo dpkg --remove --ignore-depends=tinyos-msp430,tinyos-avr,tinyos nesc
> sudo apt-get install nesc
>
> Kevin
>
> On Tue, Apr 29, 2008 at 12:46 PM, Matthias Gauger <[EMAIL PROTECTED]>
> wrote:
> > Hello Kevin,
> >
> >  I tried to install the updated packages this morning using the Ubuntu
> > update manager. However, it failed to install "avr-binutils-tinyos" - It
> > complains that it is supposed to overwrite "/usr/lib/libiberty.a" which
> > belongs to the package binutils-dev.
> >
> >  Since performing the partial update I am also not able to compile any
> > TinyOS programs for the TelosB platform anymore. I get the following
> error
> > message:
> >
> >  msp430-gcc:
> /home/xubuntos/sources/nesc-1.2.9/debian/usr/lib/ncc/tdspecs:
> > No such file or directory
> >
> >
> >  Any idea what is happening here?
> >
> >
> >  Thanks,
> >
> >
> >  Matthias
> >
> >
> >  Kevin Klues schrieb:
> >
> >
> >
> > > I spent some time playing with the repo today (apparently I'm the
> > > maintainer now :) ) and pushed the newer versions of avr-gcc in there
> > > as well as did some general cleanup.  Let me know if this fixes your
> > > problems.
> > >
> > > Kevin
> > >
> > >
> >
>
>
>
> --
> ~Kevin
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Ariel Núñez // Project Manager // Keydome Ltda
Barranquilla // Colombia // South America
[EMAIL PROTECTED] // +57(300)8438443 // +57(317)3205876
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Display sensor readings on TinyOS's console

2008-04-17 Thread Ariel Mauricio Nunez Gomez
Maria,

You can save it to a txt by piping the output to a file,
like this
java net.tinyos.tools.Listen >> my_log.txt

On Thu, Apr 17, 2008 at 1:21 PM, Maria Taramigkou <
[EMAIL PROTECTED]> wrote:

>
>
> Thank you very much for the prompt an swer!!
> I should mention though, that i use telosb motes!
> I have some more questions:
> Are these readings being saved somewhere in the tinyos so that i can
> extract them in a .txt?
>
>
>  2008/4/17, rami halloush <[EMAIL PROTECTED]>:
>
> > Hi,
> >
> > You don't have to do that. Run the TOSBase on the base station (a mica
> > node attached to a PC via a programming board, the mib510 for instance). and
> > then run the Listen java application at the pc. For details refer to lesson6
> > in the tinyos tutorial, at the following link:
> >
> > http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson6.html
> >
> > Cheers,
> > Rami Halloush
> > WAVES Lab
> > Michigan State University
> >
> >
> > *Maria Taramigkou <[EMAIL PROTECTED]>* wrote:
> >
> > Hi everyone!
> > I'm new , I have the appropriate hardware (3 sensors),and I'm trying to
> > display sensor readings on TinyOs's console.Should I write any code for that
> > or is it embbeded in the operating system?
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> >
> >  --
> > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
> > it 
> > now.
> >
> >
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] RE: TinyOS 2.0 upgrade

2008-03-21 Thread Ariel Mauricio Nunez Gomez
Neil,

One approach that has worked really well for me when using vmware for tinyos
development is to use putty and samba shares.

What I do is setup samba shares on the virtual machine for the whole home
folder(I
have there all the tinyos projects and other files (even a copy of
notepadd++ portable and putty portable).

If you name your virtual machine something like xubuntos, you can easily use
\\xubuntos on windows explorer and use putty's excelent console.

@Kevin: what do you think about adding putty portable, notepadd ++ portable
and the samba share to your Xubuntos VM? It would lower the barrier for
windows newcomers.

Regars,
Ariel.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Hello

2008-03-21 Thread Ariel Mauricio Nunez Gomez
The cc2430 has a cc2420 radio, it uses a 8051 mcu.
Here is a link to the info on texas site:
focus.ti.com/docs/prod/folders/print/*cc2430*.html

There was a WG formed to port tinyos to the CC2430 and they have had prrety
impressive advances.
http://www.tinyos8051wg.net/

Shirley, I guess you should really start working with tinyos 2.x, I'd guess
tinyos 1.x is not supported at all on that platform.

Regards,
Ariel
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Deluge T2 and Radio Shutdown (was Deluge T2 and Serial Port)

2008-03-06 Thread Ariel Mauricio Nunez Gomez
Hello Razvan,

I would like to know your opinion on this subject. If it doesn't require too
many changes to Deluge base I'd like to tackle it on Holy Week .

What is required to make Deluge T2 compatible with shutting down the
radio(to use the shared uart or for low power sensing)?
Or possibly shutting on and off deluge on demand?

Regards,
Ariel.

On Thu, Dec 6, 2007 at 4:16 AM, weiping SONG <[EMAIL PROTECTED]> wrote:

> Hi Ariel,
>
> I will also face the similar problem  as  you ,  I think we  could  use
> LPL  tech.
>
> regards,
>
> Weiping
>
> Ariel Mauricio Nunez Gomez wrote:
> > Thanks for your answer Mike,
> >
> > Does anyone know what would be the required steps to make radio sleep
> > possible?
> >
> > I'll start studying Deluge T2 code meanwhile.
> >
> > Thanks in advance,
> > Ariel.
> >
> > On Dec 5, 2007 3:28 PM, Chieh-Jan (Mike) Liang <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> > Hi Ariel,
> >
> > At the current state, Deluge T2 doesn't offer StdControl interface
> to
> > start and stop itself. In addition, my impression is that when
> Deluge
> > was first designed, its network part didn't really consider sleep
> > schedule.
> >
> > Mike
> >
> > Ariel Mauricio Nunez Gomez wrote:
> > > By the way Mike,
> > >
> > > I am developing an application that reads from the serial port
> > for 700ms
> > > and uses the radio for 300ms, and then serial again.
> > > I tried the simple steps described in the tutorial to get it
> > working,
> > > tested it on the base station and it reboot itself after 3 or 4
> > seconds
> > > and reverted to the last program image.
> > >
> > > Do you have any idea about what happens in this case?
> > > How should I use Deluge when the radio has to be completely
> > shutdown for
> > > long periods of time?
> > >
> > > Regards,
> > > Ariel.
> > > PS: I'm using tinyos-2.x post 2.0.2, on ubuntu feisty and tmote
> > sky.
> > >
> > > On Dec 3, 2007 8:26 PM, Chieh-Jan (Mike) Liang
> > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > > mailto:[EMAIL PROTECTED]>>> wrote:
> > >
> > > Hi Ariel,
> > >
> > > Thank you for reporting this. Dissemination folder structure
> was
> > > recently changed, and the Makefile needs to be updated.
> > >
> > > Mike
> > >
> > >
> > > Ariel Mauricio Nunez Gomez wrote:
> > >  > When trying to use Deluge T2 in a recent cvs checkout
> > (post 2.0.2)
> > >  > I am getting the error:
> > >  >
> > >  > *component DisseminatorC not found*
> > >  >
> > >  > When trying to run *./burn /dev/ttyUSB0 telosb *on
> > > *apps/deluge/Blink*
> > >  >  From this thread
> > >  >
> > >
> > <
> http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-June/025984.html
> > > <
> >
> http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-June/025984.html
> >>:
> > >  > the problem seems to be path related.
> > >  > I checked on my filesystem and DisseminatorC.nc was
> > located on:
> > >  > */opt/tinyos-2.x/tos/lib/net/DisseminatorC.nc
> > >  > /home/ariel/tinyos- 2.x/tos/lib/net/drip/DisseminatorC.nc*
> > >  >
> > >  > After a diff, only the dates were different so I guessed
> > it just
> > > changed
> > >  > place.
> > >  > After that I added /lib/net/drip to the  cflags in
> > bnp.extra .
> > >  > * bnp.extra: line 11*
> > >  > *-  CFLAGS += -I$(TOSDIR)/lib/net -I$(DELUGE_DIR)
> > >  > -I$(DELUGE_DIR)/FlashVolumeManager*
> > >  > +*  CFLAGS += -I$(TOSDIR)/lib/net -I$(TOSDIR)/lib/net/drip
> > >  > -I$(DELUGE_DIR) -I$(DELUGE_DIR)/FlashVolumeManager *
> > >  >
> > >  > and got rid of the error.
> > >  >
> > >  > I guess that change is documented somewhere, but I think
> > this is a
> > 

Re: [Tinyos-help] tmote connect and Tinyos-2.x

2008-03-04 Thread Ariel Mauricio Nunez Gomez
One thing I have noticed is that protocol autodiscovery works better if the
mote is receiving packets during the Tmote Connect boot.

Try configuring a BlinkToRadio application with a high sending frecuency,
leave it running and reboot the Tmote Connect.

BTW, what does the web status show you?
Does the status nc command work?

Ariel.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] tmote connect and Tinyos-2.x

2008-03-04 Thread Ariel Mauricio Nunez Gomez
> > So I think this is a long winded way of asking how to update my
> > firmware, and where to get the latest firmware, and if this will help
>

The instructions on how to update the firmware are on the Tmote Connect
datasheet. 
I have a copy of the latest firmware (got it from moteiv support before the
end of last year).
I don't know if I'm allowed to redistribute it :(
(Joe Polastre still reads this mailing list, maybe he can authorize me to
send it to you or post it on the wiki page)

Regards,
Ariel
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] increase BaseStation baud rate

2008-02-24 Thread Ariel Mauricio Nunez Gomez
Giovanni:

I did the process once using Boomerang (Moteiv's tinyos distribution).
 It was on their support section. Using the wayback machine on archive.org I
got the following link:
http://web.archive.org/web/20070702230725rn_1/www.moteiv.com/community/Moteiv_Community

(It takes a long time to load)

And now the direct link:
http://web.archive.org/web/20070615020251/www.moteiv.com/community/Change_the_default_UART_baud_rate

Work-around
>
> Increase the default baud rate.
>
>1. Compile TOSBase for another baud rate using the "baud" make
>extra. For instance, you can compile and install TOSBase for 262144 baud
>like this:
>
>make tmote baud,262144 install,1
>
>2. Set your TOS_PLATFORMS environment variable to specify the file
>used by Serial Forwarder to override the default serial port specifications
>for the various platforms
>
>export TOS_PLATFORMS="`cygpath -m $HOME`/.platform.properties"
>
>3. To automatically generate the $TOS_PLATFORMS file if it does not
>yet exist, run Serial Forwarder once then quit
>
>java net.tinyos.sf.SerialForwarder -no-gui
># Hit CTRL-C
>
>4. Edit the $TOS_PLATFORMS file and change the baud rate for tmote
>to your new baud rate, for instance 262144
>
>tmote=telos,2,262144
>
>5. Run serial forwarder as normal, specifying the tmote platform to
>use the new baud rate
>
>

On Sun, Feb 24, 2008 at 1:05 PM, Giovanni Abu-Aita <[EMAIL PROTECTED]>
wrote:

> Sikar,
>
> Could you please tell us where you found the example for tinyos.1.xbecause I 
> am looking for something similar for Micaz motes.
>
> Thank you.
>
>
> *Sikar Chan <[EMAIL PROTECTED]>* wrote:
>
> Hi All
>
> Does any Tmote Sky user tried to modify the baud rate of BaseStation from
> 115200 to higher?
>
> I saw one example but it seems to be in tinyos 1.x.
> I would like to know the method in tinyos 2.x
>
> Please help~~
>
> Thanks.
>
> Regards
> Sikar Chan
>
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
> --
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
> now.
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Xubuntos/VMWare Server 1.04 not resuming

2008-01-28 Thread Ariel Mauricio Nunez Gomez
Xubuntos is just a small configuration of Xubuntu. I guess a proper place to
ask that kind of questions is a Vmware / Ubuntu / Xubuntu forum.

Now about your specific issue:
I'd suggest you configure your virtual machine to boot from a live cd iso
(Xubuntos would be fine), then mount the vm hard disk and rescue your
working folder, back it up on some safe place and reinstall ubuntu.

Regards,
Ariel.

On Jan 28, 2008 11:32 AM, antonio gonga <[EMAIL PROTECTED]> wrote:

>
> Hey all,
>
> I have a very big problem that I'm unable to solve. I was nicely working
> on Virtual Machine, and I decided to have a break, and then I suspended the
> virtual machine. When I tried to resume it, I got 4 exceptions and from then
> I'm unable to access Xubuntos again.
>
> When I press resume/start button it starts(just the progress bar) and
> suddenly  it stops restoring the virtual machine.
>
> I have so much work on that.. how can I solve this problem?
> How can I retrieve my work from the virtual machine?
>
> Thanks in advance..
>
>
>
>
> --
> Express yourself instantly with MSN Messenger! MSN 
> Messenger
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Why there isnot a tinyos2.0.exe for windows user , which can install everything needed like MoteWork?

2007-12-24 Thread Ariel Mauricio Nunez Gomez
I think the closest you'll get for a "download and play" version of tinyos
for windows is to follow Kevin's Xubuntos VM
instructions.

BTW, Philip's explanation was excelent, these kind of "open source-ish"
replies don't appear often in "academic-ish" mailing lists like this one.
LOL.

On Dec 22, 2007 8:34 PM, Philip Levis <[EMAIL PROTECTED]> wrote:

>
> On Dec 21, 2007, at 11:13 PM, zhiyong yang wrote:
>
> > HI:
> > Why there isnot a tinyos2.0.exe for windows user ,which can install
> > everything needed like MoteWork?
> > If there is the software named something like  tinyos2.0.exe,which
> > can install everything needed (java,tools,compiler,tinyos2.0
> > tree.) ,just like MoteWork, it will save a lot of time of many
> > people.
> > I think the www.tinyos.net  should provide this software.
> >
>
> Because it's actually a huge amount of fairly boring work, for which
> it's hard to find volunteers.
>
> Phil
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Ariel Núñez // Project Manager // Keydome Ltda
Barranquilla // Colombia // South America
[EMAIL PROTECTED] // +57(300)8438443 // +57(317)3205876
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Adding NesC syntax files to tinyos debs

2007-12-19 Thread Ariel Mauricio Nunez Gomez
I just checked and there was no one for Gedit. This is the one I created
based on the cpp one.
It goes in */usr/share/gtksourceview-2.0/language-specs/ncc.lang *on Ubuntu
Gutsy.

I doesn't (yet) automatically apply the style to .nc files (you have to
check View-> Highlight mode -> Sources -> NesC) I have been playing with
mimetypes, but no luck yet.

Regards,
Ariel.

PD: Maybe we should check out with the package maintainer to see how
feasible it would be to make it put it in the right place.


ncc.lang
Description: Binary data
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Adding NesC syntax files to tinyos debs

2007-12-18 Thread Ariel Mauricio Nunez Gomez
Hi everyone,

I would like to know what you think about adding Vim, Gedit and Kate syntax
files for NesC to the tinyos deb packages.

Regards,
Ariel.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Fwd: [Tinyos-help] Help: UART rx function

2007-12-11 Thread Ariel Mauricio Nunez Gomez
(I always forget to hit reply all) :(

-- Forwarded message --
From: Ariel Mauricio Nunez Gomez <[EMAIL PROTECTED]>
Date: Dec 11, 2007 3:42 PM
Subject: Re: [Tinyos-help] Help: UART rx function
To: [EMAIL PROTECTED]


Yes, Mciahel is right, please check the message I posted on a recent thread
yesterday with a file attached.

Ariel.


On Dec 11, 2007 2:46 PM, Michael Schippling < [EMAIL PROTECTED]> wrote:

> I'm not sure exactly how the UART works, or whether it's different for
> various platforms...but...I think there is an event you can implement
> to get bytes as they arrive so you don't have to do your own interrupt
> checking...e.g. tos/interfaces/HPLUART.nc has put() and get() that hides
> the lowlevel implementation. Perhaps that will help?
>
> MS
>
>
> [EMAIL PROTECTED] wrote:
> > Hello!
> >
> > I have to send and receive with the UART extention of my tmote-sky. I
> have a functionaly interfate that change the TTL signal
> >
> > with the RS-232 standard of the pc.
> > To send data from the tmote there aren't problems.
> > There are some problems with the receive the packet of byte...
> > This program below send a packet of byte and receive one single byte
> perfectly:
> >
> > event void ResourceCmd.granted(uint8_t rh)
> > {
> > int i;
> > bool rx = FALSE;
> >
> > // Make any necessary UART changes
> > call UartControl.setClockSource (SSEL_SMCLK);
> > call UartControl.setClockRate(UBR_SMCLK_9600, UMCTL_SMCLK_9600);
> >
> > // Send a packet
> > for (i = 0; i < 10; i++)
> > {
> > call UartControl.tx ( READ_DATA[i] );
> > while (! call UartControl.isTxEmpty() );
> > }
> >
> > // rx a single byte
> > while (! call UartControl.isRxIntrPending())
> > {//wait for data in rx buffer
> >
> > field_string[0] = call UartControl.rx();
> > if (field_string[0] == 'A')
> > call Leds.greenToggle();
> > }
> > call ResourceCmd.release ();
> > }
> >
> > Since I haven't to receive a single byte but a packet of byte, I think
> to insert in the rx while cicle field_string[i] with a
> >
> > for cicle that increment the variable i.
> > In a simple manner I try to receice 2 byte.
> > I try with somuch type of solution but with bad results.
> > A solution that seem functionally is:
> >
> >
> > // rx a packet of 2 byte
> > while (! call UartControl.isRxIntrPending() && rx == FALSE)
> > {
> > //wait for data in rx buffer
> >
> > code[0] = call UartControl.rx();
> >
> > if (code[0] == 0x41)
> > {
> > call Leds.greenToggle();
> > rx = TRUE;
> > }
> > }
> > rx = FALSE;
> > while (! call UartControl.isRxIntrPending () && rx == FALSE)
> > {
> > //wait for data in rx buffer
> >
> > code[1] = call UartControl.rx();
> >
> > if (code[1] == 0x0D)
> > {
> > call Leds.redToggle();
> > rx = TRUE;
> > }
> > }
> >
> > for (i = 0; i < 12; i++)
> > code[i]= 0x00;
> >
> > call ResourceCmd.release();
> > rx = FALSE;
> >
> >>From the pc I send to the mote with "free serial port monitor" this
> packet "0x41, 0x0D" and the red and green led doesn't
> >
> > turn on forever, but only sometimes. Sometimes the green led turn on,
> sometimes the red led, sometimes all the led and
> >
> > sometimes no one.
> >
> > This method can function with some change?
> > If someone know a metod to receive and save a string of byte can help
> me, please?
> >
> > Thank you so much
> >
> >
> >
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
> --
> Platform: WinXP/Cygwin
> TinyOS version: 1.x, Boomerang
> Programmer: MIB510
> Device(s): Mica2, MicaZ, Tmote
> Sensor board: homebrew
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Ariel Núñez // Project Manager // Keydome Ltda
Barranquilla // Colombia // South America
[EMAIL PROTECTED] // +57(300)8438443 // +57(317)3205876



-- 
Ariel Núñez // Project Manager // Keydome Ltda
Barranquilla // Colombia // South America
[EMAIL PROTECTED] // +57(300)8438443 // +57(317)3205876
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Deluge T2 and Radio Shutdown (was Deluge T2 and Serial Port)

2007-12-05 Thread Ariel Mauricio Nunez Gomez
Thanks for your answer Mike,

Does anyone know what would be the required steps to make radio sleep
possible?

I'll start studying Deluge T2 code meanwhile.

Thanks in advance,
Ariel.

On Dec 5, 2007 3:28 PM, Chieh-Jan (Mike) Liang <[EMAIL PROTECTED]> wrote:

> Hi Ariel,
>
> At the current state, Deluge T2 doesn't offer StdControl interface to
> start and stop itself. In addition, my impression is that when Deluge
> was first designed, its network part didn't really consider sleep
> schedule.
>
> Mike
>
> Ariel Mauricio Nunez Gomez wrote:
> > By the way Mike,
> >
> > I am developing an application that reads from the serial port for 700ms
> > and uses the radio for 300ms, and then serial again.
> > I tried the simple steps described in the tutorial to get it working,
> > tested it on the base station and it reboot itself after 3 or 4 seconds
> > and reverted to the last program image.
> >
> > Do you have any idea about what happens in this case?
> > How should I use Deluge when the radio has to be completely shutdown for
> > long periods of time?
> >
> > Regards,
> > Ariel.
> > PS: I'm using tinyos-2.x post 2.0.2, on ubuntu feisty and tmote sky.
> >
> > On Dec 3, 2007 8:26 PM, Chieh-Jan (Mike) Liang <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> > Hi Ariel,
> >
> > Thank you for reporting this. Dissemination folder structure was
> > recently changed, and the Makefile needs to be updated.
> >
> > Mike
> >
> >
> > Ariel Mauricio Nunez Gomez wrote:
> >  > When trying to use Deluge T2 in a recent cvs checkout (post 2.0.2
> )
> >  > I am getting the error:
> >  >
> >  > *component DisseminatorC not found*
> >  >
> >  > When trying to run *./burn /dev/ttyUSB0 telosb *on
> > *apps/deluge/Blink*
> >  >  From this thread
> >  >
> > <
> http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-June/025984.html
> > <
> http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-June/025984.html
> >>:
> >  > the problem seems to be path related.
> >  > I checked on my filesystem and DisseminatorC.nc was located on:
> >  > */opt/tinyos-2.x/tos/lib/net/DisseminatorC.nc
> >  > /home/ariel/tinyos- 2.x/tos/lib/net/drip/DisseminatorC.nc*
> >  >
> >  > After a diff, only the dates were different so I guessed it just
> > changed
> >  > place.
> >  > After that I added /lib/net/drip to the  cflags in bnp.extra.
> >  > * bnp.extra: line 11*
> >  > *-  CFLAGS += -I$(TOSDIR)/lib/net -I$(DELUGE_DIR)
> >  > -I$(DELUGE_DIR)/FlashVolumeManager*
> >  > +*  CFLAGS += -I$(TOSDIR)/lib/net -I$(TOSDIR)/lib/net/drip
> >  > -I$(DELUGE_DIR) -I$(DELUGE_DIR)/FlashVolumeManager *
> >  >
> >  > and got rid of the error.
> >  >
> >  > I guess that change is documented somewhere, but I think this is
> a
> >  > possible bug.
> >  >
> >  > Regards,
> >  > Ariel
> >  >
> >  >
> >  >
> >
> 
> >
> >  >
> >  > ___
> >  > Tinyos-help mailing list
> >  > Tinyos-help@Millennium.Berkeley.EDU
> > <mailto:Tinyos-help@Millennium.Berkeley.EDU>
> >  >
> >
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> >
> >
> >
>
>
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Deluge T2 and Serial Port (was Deluge T2 component DisseminatorC not found)

2007-12-04 Thread Ariel Mauricio Nunez Gomez
By the way Mike,

I am developing an application that reads from the serial port for 700ms and
uses the radio for 300ms, and then serial again.
I tried the simple steps described in the tutorial to get it working, tested
it on the base station and it reboot itself after 3 or 4 seconds and
reverted to the last program image.

Do you have any idea about what happens in this case?
How should I use Deluge when the radio has to be completely shutdown for
long periods of time?

Regards,
Ariel.
PS: I'm using tinyos-2.x post 2.0.2, on ubuntu feisty and tmote sky.

On Dec 3, 2007 8:26 PM, Chieh-Jan (Mike) Liang <[EMAIL PROTECTED]> wrote:

> Hi Ariel,
>
> Thank you for reporting this. Dissemination folder structure was
> recently changed, and the Makefile needs to be updated.
>
> Mike
>
>
> Ariel Mauricio Nunez Gomez wrote:
> > When trying to use Deluge T2 in a recent cvs checkout (post 2.0.2)
> > I am getting the error:
> >
> > *component DisseminatorC not found*
> >
> > When trying to run *./burn /dev/ttyUSB0 telosb *on *apps/deluge/Blink*
> >  From this thread
> > <
> http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-June/025984.html
> >:
> > the problem seems to be path related.
> > I checked on my filesystem and DisseminatorC.nc was located on:
> > */opt/tinyos-2.x/tos/lib/net/DisseminatorC.nc
> > /home/ariel/tinyos-2.x/tos/lib/net/drip/DisseminatorC.nc*
> >
> > After a diff, only the dates were different so I guessed it just changed
> > place.
> > After that I added /lib/net/drip to the  cflags in bnp.extra.
> > * bnp.extra: line 11*
> > *-  CFLAGS += -I$(TOSDIR)/lib/net -I$(DELUGE_DIR)
> > -I$(DELUGE_DIR)/FlashVolumeManager*
> > +*  CFLAGS += -I$(TOSDIR)/lib/net -I$(TOSDIR)/lib/net/drip
> > -I$(DELUGE_DIR) -I$(DELUGE_DIR)/FlashVolumeManager *
> >
> > and got rid of the error.
> >
> > I guess that change is documented somewhere, but I think this is a
> > possible bug.
> >
> > Regards,
> > Ariel
> >
> >
> > 
> >
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>


-- 
Ariel Núñez // Project Manager // Keydome Ltda
Barranquilla // Colombia // South America
[EMAIL PROTECTED] // +57(300)8438443 // +57(317)3205876
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Deluge T2 component DisseminatorC not found

2007-12-03 Thread Ariel Mauricio Nunez Gomez
When trying to use Deluge T2 in a recent cvs checkout (post 2.0.2)
I am getting the error:

*component DisseminatorC not found*

When trying to run *./burn /dev/ttyUSB0 telosb *on *apps/deluge/Blink*
>From this 
>thread:
the problem seems to be path related.
I checked on my filesystem and DisseminatorC.nc was located on:
*/opt/tinyos-2.x/tos/lib/net/DisseminatorC.nc
/home/ariel/tinyos-2.x/tos/lib/net/drip/DisseminatorC.nc*

After a diff, only the dates were different so I guessed it just changed
place.
After that I added /lib/net/drip to the  cflags in bnp.extra.
*bnp.extra: line 11*
*-  CFLAGS += -I$(TOSDIR)/lib/net -I$(DELUGE_DIR)
-I$(DELUGE_DIR)/FlashVolumeManager*
+*  CFLAGS += -I$(TOSDIR)/lib/net -I$(TOSDIR)/lib/net/drip -I$(DELUGE_DIR)
-I$(DELUGE_DIR)/FlashVolumeManager*

and got rid of the error.

I guess that change is documented somewhere, but I think this is a possible
bug.

Regards,
Ariel
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] How to read->send an entire log very fast

2007-11-14 Thread Ariel Mauricio Nunez Gomez
Hello everyone,

I'm using the LogStorage abstraction on tinyos2-x with a tmote sky, my
application fills a very large log (960Kb) and I'm using the same routine
used in 
PacketParrot.
Each Log entry is about 20 bytes and the whole read/send to Base Station
takes about 15 minutes.

I guess the bottle neck is on the Flash read and I'm about to start making
my log entries bigger and then splitting before sending.

I would like to know what you think about the problem. What is the the best
time I should expect to achieve to get all the data from the flash and send
it via the radio?

Thanks in advance,

Ariel.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] (LogWrite in tos2) Resume log after reboot

2007-10-23 Thread Ariel Mauricio Nunez Gomez
Hi,

Is it possible to resume a log after a reboot using LogWrite (Instead of
always calling LogWrite.erase).
I don't mind if I have to use LogRead until I find the current offset, but I
can't find anything similar to LogWrite.setOffset().

Regards,
Ariel.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Tinyos 2.x in Tmote Connect

2007-10-23 Thread Ariel Mauricio Nunez Gomez
Does anybody know how to permanently set protocol and baud rate on tmote
connect?

I always have problems with autodetecting protocol version with tinyos
2.xand Tmote Sky, and when I set it via the remote interface I an
error message
saying it could not be set.

Regards,

Ariel
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Motes not working as BaseStations

2007-10-22 Thread Ariel Mauricio Nunez Gomez
Thanks Amit.

> Maybe your packet size is too big.try to reduce it below 36
> > bytes.lemme know if that helps
>
> My packets are 26 bytes long.
Ariel.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: Re : [Tinyos-help] tos-check-env errors!!!

2007-10-21 Thread Ariel Mauricio Nunez Gomez
As michael said, you can safely ignore the java related warning.

Ariel.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Motes not working as BaseStations

2007-10-21 Thread Ariel Mauricio Nunez Gomez
Hello everyone,

My environment is:Tmote Sky, Tinyos 2.x CVS updated (2007-09-23) and
2.0.2(both tested), Ubuntu Feisty and jdk/jre version is
1.6.

1. I have two motes that cannot act as BaseStation (reboot randomly, start
losing packets (see [1]))
2. They also change ports whenever they want (/dev/ttyUSB0 -> /dev/ttyUSB2),
Kevin Klues warned me it could be a linux driver problem.
3. I tried with a third, same conditions and it works perfectly.
4.  When I use "lighter" programs on them, such as Blink and some other
tests they work well.

Question: How can I know if it's a usb(Uart1)-related problem (Green led
keeps blinking but red stops randomly)? Would it also affect programming?
Has it happened to any of you?

Thanks in advance for your answers,
Ariel.

[1] Log of malfunctioning motes.
serial@/dev/ttyUSB0:115200: packet too
long
serial@/dev/ttyUSB0:115200:
resynchronising
serial@/dev/ttyUSB0:115200: bad
packet
serial@/dev/ttyUSB0:115200: packet too
long
serial@/dev/ttyUSB0:115200: resynchronising
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Problems with XubunTOS y Tmote Sky.

2007-10-20 Thread Ariel Mauricio Nunez Gomez
It installs *inside* the virtual machine, so it is safe to install it (Your
vista hard drive and partitions will be ok).
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] tos-check-env problem

2007-10-12 Thread Ariel Mauricio Nunez Gomez
Have you just installed tinyos? If so, what installation method did you use?

Did you follow all instructions from Step 5 in
http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html?

Ariel
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Re: [Tinyos-devel] Mailing list bug: automatic reply to list

2007-09-28 Thread Ariel Mauricio Nunez Gomez
I meant to send that message to the whole list. (Phillip, sorry for sending
it twice to your inbox)
You are right, maybe I just have to be a little bit more careful, it's just
that most of the lists I'm subscribed to, have the reply to list behavior by
default.

Regards,
Ariel.

On 9/28/07, Ariel Mauricio Nunez Gomez <[EMAIL PROTECTED]> wrote:


> toPhilip Levis <[EMAIL PROTECTED]>
> date
> Sep 28, 2007 3:51 PM
> subject
> Re: [Tinyos-devel] Mailing list bug: automatic reply to listI apologize
> for not having followed the proper path. The right thing as you point it
> out, would have been making a poll.
>
> Sincerely,
> Ariel.
>
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Data Viewing

2007-09-28 Thread Ariel Mauricio Nunez Gomez
On 9/28/07, John W. Barron <[EMAIL PROTECTED]> wrote:
>
> If made changes to SerialPacket.java (Long.toHexString) , Will this do
> the same thing?


Yes, but I would really encourage you to "extend" the message reader class
and override the message received method.
Trying to change things on the higher level possible, without hacking it
directly would be safer in case you update your  tinyos  source tree.

If so, what all do i need to recompile for changes to
> take effect


Assuming that you already have installed a jdk (javac works). Just type make
on the folder that has the file.
   cd tinyos-2.x/support/sdk/java/net/tinyos/tools
   make

Thanks a lot for your help and time,
> John  Barron


I have received a lot of help from the kind devs on this group, I'm just
trying to pay it forward.
Ariel.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Re: Mailing list bug: automatic reply to list

2007-09-28 Thread Ariel Mauricio Nunez Gomez
The mail to these addresses bounced:
   [EMAIL PROTECTED], [EMAIL PROTECTED]
And they are registered as the mail list administrators.

Does anybody know the e-mail of the new administrators?

Ariel.


On 9/25/07, Ariel Mauricio Nunez Gomez <[EMAIL PROTECTED]> wrote:
>
> Hello list admin
>
> Could you please set up the mailing list preferences so the reply to:
> field is filled with [EMAIL PROTECTED] I can see people are already
> used to  "reply to all", but I imagine a lot of unaware users have replied
> only to the sender of the message and some information may have lost in the
> way.
>
> Thanks in advance,
> Ariel.
>
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Data Viewing

2007-09-27 Thread Ariel Mauricio Nunez Gomez
The java file is located there:
/tinyos-2.x/support/sdk/java/net.tinyos.tools.MsgReader.java

And the method you'd want to modify is:
...
  public void messageReceived(int to, Message message) {
long t = System.currentTimeMillis();
//Date d = new Date(t);
System.out.print("" + t + ": ");
System.out.println(message);
  }
...
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Data Viewing

2007-09-26 Thread Ariel Mauricio Nunez Gomez
http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson4.html

It's mentioned on the end of the Mig section of the tutorial.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Data Viewing

2007-09-25 Thread Ariel Mauricio Nunez Gomez
I usually do something like this:

java net.tinyos.tools.MsgReader TheMsg >> the_log.txt &&

It then goes to the background, if I want to see it while it's being logged,
I call:

tail -f the_log.txt

Ariel.

On 9/25/07, Cadet John W. Barron <[EMAIL PROTECTED]> wrote:
>
> Yes this is the current way I do it, How would I recover a message_t
> sent to the serial port? (in a useful display that could be logged to be
> analyzed later? )
>
> John
>
> Kevin Klues wrote:
> > For the current printf implementation, the tutorial here shows you how
> > to use it.  Including how to decode the messages it transmits into
> > ascii.  Its probably going to change in the near future though, so
> > keep a look out.
> >
> > http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson15.html
> >
> >
> >
> > Kevin
> >
> > On 9/25/07, John W. Barron <[EMAIL PROTECTED]> wrote:
> >
> >> With all the PrintF questions, I was wondering... How does everyone
> >> view their data. If I send a Message_t to serail what are my options
> >> besides hex? I mostly send PrintF messages to serail and read the Comm
> >> port with Windows Hyperterminal. I KNOW there are better ways, but how
> >> to "decode" fields in the Message_t varible to ASCII?
> >>
> >> Thanks
> >> John Barron
> >>
> >> Winxp/cygwin
> >> moteiv Tmote Sky
> >> TOS 2.0.2
> >>
> >> 
> >> This message was sent using IMP, the Internet Messaging Program.
> >>
> >>
> >> ___
> >> Tinyos-help mailing list
> >> Tinyos-help@Millennium.Berkeley.EDU
> >>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >>
> >>
> >
> >
> >
>
>
> --
>
> V/R
>
> C/Col John W. Barron
> cadet Wing Commander
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Ariel Núñez
Project Manager
Keydome
[EMAIL PROTECTED]
+57(300)8438443
+57(317)3205876
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Mailing list bug: automatic reply to list

2007-09-25 Thread Ariel Mauricio Nunez Gomez
Hello list admin

Could you please set up the mailing list preferences so the reply to: field
is filled with [EMAIL PROTECTED] I can see people are already used to
"reply to all", but I imagine a lot of unaware users have replied only to
the sender of the message and some information may have lost in the way.

Thanks in advance,
Ariel.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Mailing list bug: automatic reply to list

2007-09-25 Thread Ariel Mauricio Nunez Gomez
Hello list admin

Could you please set up the mailing list preferences so the reply to: field
is filled with [EMAIL PROTECTED] I can see people are already used to
"reply to all", but I imagine a lot of unaware users have replied only to
the sender of the message and some information may have lost in the way.

Thanks in advance,
Ariel.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Timer and Uart0 Conflict

2007-09-25 Thread Ariel Mauricio Nunez Gomez
Vlado,

Thanks for your reply, It does work now.
I also had trouble with decoding a sequence (missing random bytes) and it
was solved too.

Regards,
Ariel.


>
> On 9/25/07, Vlado Handziski <[EMAIL PROTECTED]> wrote:
> >
> > OK, I repeated the test while exciting the uart0 pins on the mote, and
> > it does lock-up. The problem is in your usage of "start-edge detection"
> > i.e. urxse : 1 in the config struct. In this case, the MCU generates a
> > single RX interrupt that has to be handled manually, before one can start
> > with normal byte receive. The current code in the stack relies on the
> > automatic clearing of the RX flag, thus the lock-up that you see.
> >
> > Vlado
> >
> > On 9/25/07, Vlado Handziski < [EMAIL PROTECTED]> wrote:
> > >
> > > Hi Ariel,
> > >
> > > unfortunately I can not reproduce the bug that you are seeing on my
> > > testing tmote sky node.The red led is blinking both with and without
> > > that line. Can you send me a binary image of the application to rule out
> > > different source trees.
> > >
> > > Vlado
> > >
> > > On 9/25/07, Vlado Handziski < [EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi Ariel,
> > > >
> > > > I'll take a look at the issue later today and get back to you.
> > > >
> > > > Vlado
> > > >
> > > > On 9/25/07, Ariel Mauricio Nunez Gomez < [EMAIL PROTECTED]> wrote:
> > > >
> > > > > Hello everyone,
> > > > >
> > > > > I am trying to use Timer0 and Uart0 (Tinyos 2.0.2 (cvs updated 4
> > > > > days ago), Tmote Sky, Ubuntu Feisty).
> > > > > As you can see, led0 blinks if timer is fired, and led1 blinks
> > > > > when a byte is received over the serial port.
> > > > >
> > > > > Problem: When I request the serial port, led0 stops blinking.
> > > > >
> > > > > Note: The serial port can be disconnected and it will show the
> > > > > same behavior.
> > > > >
> > > > > Thanks in advance,
> > > > > Ariel
> > > > >
> > > > >  code snippet
> > > > >
> > > > >
> > > > >   event void Boot.booted()
> > > > >   {
> > > > > call Timer0.startPeriodic( 1000 );
> > > > > //call SerialResource.request(); //Uncomment this line to
> > > > > disable Timer0
> > > > >   }
> > > > >
> > > > >   event void Timer0.fired()
> > > > >   {
> > > > > call Leds.led0Toggle();
> > > > >   }
> > > > >
> > > > >   event void SerialResource.granted(){
> > > > > call UartStream.enableReceiveInterrupt ();
> > > > >   }
> > > > >   async event void UartStream.receivedByte(uint8_t byte){
> > > > > call UartStream.disableReceiveInterrupt();
> > > > > call Leds.led1Toggle();
> > > > > call UartStream.enableReceiveInterrupt();
> > > > >   }
> > > > >
> > > > >
> > > > > ___
> > > > > Tinyos-help mailing list
> > > > > Tinyos-help@Millennium.Berkeley.EDU
> > > > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>


-- 
Ariel Núñez
Project Manager
Keydome
[EMAIL PROTECTED]
+57(300)8438443
+57(317)3205876
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Error on motelist

2007-09-19 Thread Ariel Mauricio Nunez Gomez
While using Ubuntu with tinyos-2.0.2 downloaded via apt-get

The first time I plug the mote in:

[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ motelist
Reference  Device   Description
--  -
M4AIXE2D   /dev/ttyUSB0 Moteiv tmote sky

A motelist for the second time:

[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ motelist
Use of uninitialized value in substitution (s///) at /usr/bin/motelist line
90.
Use of uninitialized value in pattern match (m//) at /usr/bin/motelist line
91.
Reference  Device   Description
--  -
M4AIXE2D (none) Moteiv tmote sky

Tried with a different mote, and got the same result.
Does anyobdy have any idea of what's happening there?

In /usr/bin/motelist
88my $port = "$syspath/$f->{SysDev}:1.0";
89($f->{DriverName} = readlink("$port/driver")) =~ s{^.*/}{} if -l
"$port/driver";
90($f->{SerialDevName} = (glob("$port/tty*"),undef)[0]) =~ s{^.*/}{};
91$f->{SerialDevNum} = $1 if $f->{SerialDevName} =~ /(\d+)/;
92$f->{SerialDevName} = getSerialDevName( $f->{SerialDevNum} ) || "
(none)";
93  }

Ariel.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help