Re: [Tinyos-help] Multihop doubt

2006-05-21 Thread Philip Levis


On May 20, 2006, at 3:38 AM, <[EMAIL PROTECTED]>  
<[EMAIL PROTECTED]> wrote:



Hello. I'm trying a b-mac implementation that i have done for cc2420,
and i'm trying to use multihop to prove it. The c2420Radio that i have
done advises the aplication when the radio is on so it could know when
surge could send. But i don't reallry know how multihop works, so my
question is where should i advise multihop when the radio is on? if
anybody could help me to understand multihop working


The best paper to read is Alec Woo's paper from SenSys 2003:

http://www.cs.berkeley.edu/~awoo/sensys_awoo03.pdf

If you have a CC2420 BMAC implementation, I'm sure a lot of people on  
this list would love to use it... feel free to email me if you'd like  
to check it into the TinyOS tree somewhere.


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


[Tinyos-help] Help me with MIG!

2006-05-21 Thread Hieu Tran
Hi all!  In some java examples, I see some program is generated with MIG (Message Interface Generator). I know it is a tool to generate Java classes for TinyOS packet from C structures but I do not know how it work? Where can I find the document that mention to this issue?  Thanks! 
		Be a chatter box. Enjoy free PC-to-PC calls  with Yahoo! Messenger with Voice.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] reinstalling tinyos problem: "Error -1610 the configuration data for this product is corrupt"

2006-05-21 Thread Gelu Contiu
 Hi all ! Does anyone know what the following error means when trying to reinstall the TinyOS 1.1.11:"Error -1610 the configuration data for this product is corrupt. Contact your support personnel"This version of tinyos was previously installed on my PC, but I decided  to delete it because of some problems, and now I try to reinstall it.  My fault is that I didn't use the unninstall wizard and I manually  deleted all the files. Now, when I try to reinstall it, I get this  error.     I deleted everything that might be related to tinyos, nesc and cygwin from the windows register too.   I searched for this error number on the internet, but I couldn't find anything.   Do I have to reinstall Windows so that it will work ? Any help is appreciated.  Thanks a lot,  Gelu  
		Be a chatter box. Enjoy free PC-to-PC calls  with Yahoo! Messenger with Voice.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Help - clock drift value

2006-05-21 Thread andrea labo

Hi to everyone,
i'm studing the time synchronization on telosb motes.

Does anyone know the clock drift value of the telos motes in ppm?

Thanks a lot.
Andrea.

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


[Tinyos-help] RE: Fw: debug with jtag and mica2

2006-05-21 Thread s n

Hi, all,

are there some documents about how to debug with jtag step by step? I have 
read http://www.tinyos.net/tinyos-1.x/doc/nesc/debugging.html, but still I 
have some problem.

I use AVR JTAG ICE II, mib510, mica2. Now I have the following problem:
1. it is said that for mib510 board, AVR JTAG ICE doesn't need external 
power supply. But in my test, It doesn't work (the lights are off). So I 
have to use USB to supply power
2. The avr studio 4 can't communicate with jtag pod, no matter  through usb 
port or serial port
3. I tried "ice-insight build/mica2/main.exe", it can display the debug 
windows, however it can't implement because it can't connect with jtag pod. 
The same for ice-gdb command.


Thanks !

ning


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


[Tinyos-help] Help me with java!

2006-05-21 Thread Hieu Tran
Hi all!     I try to compile and run the ListenRaw class in net/tinyos/tools. This file is compiled successfully, however when I run : java ListenRaw -h (-h mean help) the Cygwin window display "Exception in thread "main" java.lang.NoClassDefFoundError: ListenRaw".     I check in www.java.sun.com it said this error is because of no definition of the class could be found. What does it mean? Can you help me to solve this trouble?  Thanks!
		Ring'em or ping'em. Make  PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Help me with java!

2006-05-21 Thread Aditya Bhave
You need to type java net.tinyos.tools.ListenRaw COM1from /tools/java directoryassuming the board is connected to COM1 serial port. Also make sure the baud rates of the mote UART and java applications are matching wither 57600 or 19200
On 5/21/06, Hieu Tran <[EMAIL PROTECTED]> wrote:
Hi all!     I try to compile and run the ListenRaw class in net/tinyos/tools. This file is compiled successfully, however when I run : java ListenRaw -h (-h mean help) the Cygwin window display "Exception in thread "main" 
java.lang.NoClassDefFoundError: ListenRaw".     I check in www.java.sun.com it said this error is because of no definition of the class could be found. What does it mean? Can you help me to solve this trouble?
  Thanks!
		Ring'em or ping'em. Make 
 PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice.
___Tinyos-help mailing listTinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-- regards,Aditya Bhave
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] ncc -v ... helpful ... but

2006-05-21 Thread Michael Schippling

Just got around to trying the ncc -v thing and funnily enough
it doesn't list "hardware.h" in it's pre-processing step. It
does mention tos.h, so perhaps nested includes are not detailed?

There is however an explicit listing of the -I source
search path which could allow someone to reverse engineer where
various files are coming from. For instance, for mica2 the
platform directory search order is:

 -I/cygdrive/C/cygwin/opt/tinyos-1.1.7/tos/platform/mica2
 -I/cygdrive/C/cygwin/opt/tinyos-1.1.7/tos/platform/mica128
 -I/cygdrive/C/cygwin/opt/tinyos-1.1.7/tos/platform/mica
 -I/cygdrive/C/cygwin/opt/tinyos-1.1.7/tos/platform/avrmote

thanks
MS

David Gay wrote:

On 5/19/06, Michael Schippling <[EMAIL PROTECTED]> wrote:

As for the include path, I meant the implicit path. For instance
nothing explicitly references hardware.h (in most apps anyway),


hardware.h is referenced from tos.h, which is "magically" included
when you compile a TinyOS program (but if you pass -v to ncc, you will
see somewhere a -fnesc-include=tos option, which is the source of the
magic...)


but it automagically appears in the (pre-)compiled code, and,
various source directories are searched in some (unspecified to me)
order when compiling.


Well, as I said, make sure ncc gets a -v option, and you will see the
full set of include paths searched.


oh, and my (hopefully vanilla and regular-guy kinda) TOS 1.1.7
install doesn't find a man page for ncc...is it really part of
the standard install, and I didn't set my MANPATH right?


I did say "the latest toolchain" ;-) The TinyOS 2.x toolchain is
supposed to work with TinyOS 1.x as of TinyOS 1.1..
But looking at the release date for 1.1.15, I guess my fixes for using
the 2.x toolchain in 1.x haven't made it out of CVS and into a minor
release :-(

David Gay

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


RE: [Tinyos-help] AF_UNIX

2006-05-21 Thread pradeep.ramakrishna

Does it mean if socket is opened with the domain AF_UNIX its for IPC
within the same machine.../??and if AF_INET across machine

-Original Message-
From: Michael Schippling [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 20, 2006 1:37 AM
To: Pradeep T Ramakrishna (WT01 - Broadband Networks)
Cc: tinyos-help@Millennium.Berkeley.EDU
Subject: Re: [Tinyos-help] AF_UNIX

It's so old that I've forgotten the details but it's just one of the
options for internal IPC. I believe it is basically a named pipe in the
filesystem space. It's a convenient way to configure your IPC for local
or 'global' access without having to change the code.

All of the local IPC mechanisms, pipes, queues, etal, probably boil down
to a shared memory implementation in the kernel, they just have
different access semantics. The named pipes are convenient because you
can connect them up by finding the end-points in the file system,
without having to have a common parent process.

Caveat -- all information from memory and one online man page --

MS

[EMAIL PROTECTED] wrote:
> Hi ,
> In sockets  we say that the domain types are like AF_INET and AF_UNIX,

> the first is used for the Internet and the second one for the UNIX
> IPC,does it mean that to AF_UNIX domain is used to communicate with
> the process running in the same machine if yes during what secnarios
do we use them
> 
> bcoz in unix we have pipes and fifos 2 communicate between the process

> which have the same ancestors...in same machine then message queues
> ,shared memory etc between different unrelated process in the same
> machine and sockets between different machine...
> 
> 
> Thanks and Regards,
> Pradeep TR
> 
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any
attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of
viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>
>
> --
> --
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-h
> elp


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

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