At the risk of repeating myself...if you do a full TOS install you
should get everything you need to run PC side programs. I don't know
what TOS version or OS you are interested in so I can't pontificate
on where to get the exact components. But at the level where I have
stalled one needs this minimum set for a runtime only (top down):

    tinytools.jar -- actually I can't find the real name now ...
      but it's the classes in the tools/java directory
      (you only really need a small subset, in my case:
       util, message, packet, tools)
       -- or write your own if you are feeling brave

    getenv.dll or libgetenv.so -- so Java can get the MOTECOM envvar
       -- this is only required if you use the tinytools.jar

    javacomm20_win32, TOSCOMM, or equivalent javax.comm JNI and jar,
      this depends on the TOS version you use as (I think) T2
      converted to using their own TOSCOMM library. This gives Java
      access to I/O ports, which apparently didn't seem important
      to it's inventors

    (possibly) a USB to serial driver for your hardware interface

I suggest that you work through some of the TOS tutorial to get to
the point where you have a working communication system, and then
start extracting the components you need.

MS

Sandeep Chatterjee wrote:
> @Eric
> By 'no Tiny' OS what i meant was that is it possible for me to use only 
> java classes to access data from com ports without any knowledge of tiny OS.
> 
> @Michael
> Thank you very much for the information. If I dont use the whole TOS 
> package, but only the javax.comm package, is it possible for me to read 
> the packets sent by the motes if I know the format (the motes are all 
> programmed in TOS and are capable to send the packets)? and where can i 
> get the updated javax. comm package? 
> 
> Thanks and reagrds
> Sandeep
> 
> 
> On Wed, Mar 2, 2011 at 2:50 AM, Eric Decker <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> 
> 
>     On Mon, Feb 28, 2011 at 4:10 AM, Sandeep Chatterjee
>     <[email protected] <mailto:[email protected]>> wrote:
> 
>         Dear sir, 
> 
>         I have a question. I have motes of crossbow Inc which were
>         developed in collaboration with UCB (if i am correct), and i
>         want to interface them on my PC using only java and no tinyos.
>         is that even possible? I am a novice in this area.
> 
> 
>     what do you mean by "no tinyos"?
> 
>     TinyOS is what runs down on the mote.
>      
> 
> 
>         Thanks and  regards
>         Sandeep Chatterjee
>         IIT Roorkee
> 
>         _______________________________________________
>         Tinyos-help mailing list
>         [email protected]
>         <mailto:[email protected]>
>         
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
> 
> 
> 
>     -- 
>     Eric B. Decker
>     Senior (over 50 :-) Researcher
> 
> 
> 
> 
> 
> -- 
> Sandeep Chatterjee
> 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to