[Tinyos-help] which component will be used?

2006-10-24 Thread Zhao Stephen

I found there are many files named as RadioCRCPacket.nc in TOS dir.
Thus I am puzzled which "RadioCRCPacket.nc " will be invoked in an
application program? Actually, I want to know what criteria should be
used when invoking system component.

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


[Tinyos-help] mote transmission distance

2006-10-24 Thread Tony Han
Hi All,

I have a question about the transmission distance among different types
of motes.  For 900MHz mica2, the max distance is around 60m, Is
that for lower frequency such as 433MHz or 315Mhz will have longer
transmission distance than 900MHz? what about micz? Any suggestions
will be appreciate.

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

Re: [Tinyos-help] Need help in running BcastInject.java from Lesson 7

2006-10-24 Thread Michael Schippling


I believe the missing files are generated by "mig" from TOS
header files. Try building the whole tools/java tree from the
top makefile. If that doesn't work I would then search for
the file names in the app dirs and makefiles to see if I could
figure out how to run mig by hand.

MS

cruz emilda wrote:

Hai,
   While learning Lesson & in the Tutorial TinyOS 1.x
,I tried to run BcastInject.java.. But I got Exception
that the Class file not found..So I tried to compile
that BcastInject Java file..I got 5 errors saying that
"cannot resolve symbol SimpleCmdMsg.. and
...LogMsg"..Need help...
 Thanking in Advance,
Regards,
Emilda



__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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


[Tinyos-help] LowPoerListening

2006-10-24 Thread Ian Welch
I would like to use LowPowerListening to help save power while my Motes are inactive and waiting for commands. I found the Interface in /chips/cc1000/LowPowerListening.nc what module does this interface wire to??Thanks

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

[Tinyos-help] Surge Reliable

2006-10-24 Thread [EMAIL PROTECTED]
I would like to know if the preinstalled program in mica2 is surge_reliable and if the program Surge-View works with this this mica2 program.


Prueba el Nuevo Correo Terra; Seguro, rápido, fiable.



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

Re: [Tinyos-help] Receiving Delta Messages

2006-10-24 Thread Joe Polastre

Multihop is for forwarding messages up a multihop tree, it is not for
dissemination down the tree.  Thus, there is no "Receive" interface,
because the destination is the base station.  Multihop does provide
"Snoop" and "Intercept" which allow you to monitor messages as they
traverse the tree towards a base station.

-Joe

On 10/15/06, Tim Spargo <[EMAIL PROTECTED]> wrote:

Hi,

I am using Tmote sky mote with Delta application (which uses Multihop).

Could someone please point me to a basic Application/code snippet which
receives messages? Please include any event handler code. I would like to
send messages from the base stn. to a paricular mode in the Network.

>From the tmote-sky-quickstart.pdf it says to use:

components Multihop;
...
AppM.Send -> MultiHop.Send[APP_ID];
AppM.Receive -> MultiHop.Receive[APP_ID];

However I get a compile error on the Receive statement only, since Multihop
doesn't appear to provide the Receive interface. I am able to get a clean
compile using the GenericComm component, but I am guessing I will run into
trouble with Multihop.

Another idea is to just use the "Intercept" interface to process the
message, and forward message not addressed to this mote.

Thanks,
Tim

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


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


Re: [Tinyos-help] From Mica2 to Tmote

2006-10-24 Thread Joe Polastre

You have to wait for the radio to finish starting up before sending
the first packet.

-Joe

On 10/24/06, Ee Foong Lee <[EMAIL PROTECTED]> wrote:

Hi guys,

I'm having problem with tmote. The app works this way. The sender send out a
packet when the timer is fired up each second. The receiver will receive the
packet anf forward it to the pc through serial for displaying the data. The
receiver will collect 10 packets and stop the timer. This app works fine
with mica2. Unfortunately, when I run it using tmote, the receiver will only
receive 9 packets but ignoring always the first packet. What will be the
problem here?


Thanks alot.


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



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


[Tinyos-help] Re: Make pc - missing components and interfaces

2006-10-24 Thread Andreas Wapf
Philip Levis  cs.stanford.edu> writes:
> There are several services and abstractions which exist on TinyOS  
> platforms but not in simulation. You are undoubtedly encountering  
> some of these.

Are these abstractions, which exists for the simulator, all in the
tos/platform/pc directory? Or is there anywhere else a list of the implemented
abstractions?

There is no abstraction for the Voltage, isn't it?

Andreas

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


Re: [Tinyos-help] not getting the entire packet of data

2006-10-24 Thread Benjamin Madore
Whomever,

I hate to complain, but English is my first language and I have trouble
understanding this. There are many people here who have difficulty with
English and they are not going to be able to help you at all.

If you require assistance, please try punctuation, grammar, and whole words.
--
For some reason, the United States is the only country on Earth where
accidents don't happen – it's always somebody's fault, and you can sue that
somebody for neglect.

On Tue, October 24, 2006 5:12 am, primalfear 69 said:
>   helloeverybody,
>
>i changed the TOSH_DATA_LENGTH in the Am.h file from 29 to 55
> (first i changed to 39 instead of 55, then i am not even able to receive the
> packets via the radio..but with 55 packets r being received and
> transmitted.why is it so ?) 
>
> Now the other problem is...even though i am able to receive the
> data packets correctly, the data within the packet is limited to only 29 and
> the rest all bytes are zeros...why the entire packet of data is
> not coming ?should i have to change the data length some
> where else also or nosometimes the remaining zeros (
> i.e the bytes of data after the length increases beyond 29) in the second
> packet are replaced by the data which i gave in the first
> packet...how to avoid this junk data from coming in the next
> packets..
>
>  can anyone help me out with this...
>
>  with
> regards
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


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


[Tinyos-help] From Mica2 to Tmote

2006-10-24 Thread Ee Foong Lee
Hi guys,
 
I'm having problem with tmote. The app works this way. The sender send out a packet when the timer is fired up each second. The receiver will receive the packet anf forward it to the pc through serial for displaying the data. The receiver will collect 10 packets and stop the timer. This app works fine with mica2. Unfortunately, when I run it using tmote, the receiver will only receive 9 packets but ignoring always the first packet. What will be the problem here?

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

Re: [Tinyos-help] SerialForwarder can't read from /dev/ttyUSB0

2006-10-24 Thread Fabrizio Stefani

I've had the same problem on my Ubuntu 6.06. Twice.
The first time I solved reinstalling Java (the JDK 5.0 from Sun, Ubuntu 
packages).
After some tweaking and playing around with the code and the system the 
problem reappeared and this time I solved reinstalling only the TOScomm 
(and maybe the javacomm, I'm not sure).


My 5 cents,
Fabrizio


Philip Levis wrote:

On Oct 23, 2006, at 10:58 AM, Avgoustinos Filippoupolitis wrote:


I am using tmote sky on an Ubuntu Dapper machine. I can program the
mote  without problems. But when I try to use SerialForwarder, it
cannot acces the /dev/ttyUSB0.

I have created a symlink from ttyUSB0 to ttyS0 but the problem
remains. Serialforwarder's GUI starts, but it prompts:
" serial@/dev/ttyS0:19200 died - restarting (java.io.IOException:
Couldn't configure /dev/ttyS0)"
When I try to run Listen with MOTECOM=serial@/dev/ttyS0:19200
it also fails and prompts:
"Error on serial@/dev/ttyS0:19200: java.io.IOException: Couldn't
configure /dev/ttyS0"

I have checked if the mote actually sends data to /dev/ttyUSB0 by using:
stty 19200 raw < /dev/ttyUSB0
od -x < /dev/ttyUSB0

and I could see raw data being sent to the port.
I also tried that with /dev/ttyS0 and it worked.
I have also tried BlackBox and it also works (it displays raw data in
it's GUI's box).

Does anyone has something to suggest?
I am usgin Java.comm 3.0 from Sun.


I have encountered similar Java problems with serial ports under Ubuntu. 
My solution is to use the C-based serial forwarder.


Phil


_
This email has been ClamScanned !
 www.clamav.net
_
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Need help in running BcastInject.java from Lesson 7

2006-10-24 Thread cruz emilda
Hai,
   While learning Lesson & in the Tutorial TinyOS 1.x
,I tried to run BcastInject.java.. But I got Exception
that the Class file not found..So I tried to compile
that BcastInject Java file..I got 5 errors saying that
"cannot resolve symbol SimpleCmdMsg.. and
...LogMsg"..Need help...
 Thanking in Advance,
Regards,
Emilda



__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] not getting the entire packet of data

2006-10-24 Thread primalfear 69
 
  helloeverybody,
 
   i changed the TOSH_DATA_LENGTH in the Am.h file from 29 to 55 (first i changed to 39 instead of 55, then i am not even able to receive the packets via the radio..but with 55 packets r being received and transmitted.why is it so ?) 

 
Now the other problem is...even though i am able to receive the data packets correctly, the data within the packet is limited to only 29 and the rest all bytes are zeros...why the entire packet of data is not coming ?should i have to change the data length some where else also or nosometimes the remaining zeros (
i.e the bytes of data after the length increases beyond 29) in the second packet are replaced by the data which i gave in the first packet...how to avoid this junk data from coming in the next packets..

 
 can anyone help me out with this...
 
 with regards
   
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help