I think the answer to your question is 'yes', but it could be 'no' depending
on what you want to run TinyOS on: the motes or a PC.

If you want to run TinyOS on motes originally and then forward the data via
wires that works fine. The motes that TinyOS runs on can communicate either
via the UART chip serially or via whatever radio is on them. In the former
case, the data is usually received by a PC basestation connected to the mote
serially. In the latter case, the data can be (eventually) received by a
mote basestation that is connected to a pc either via USB, DB9, or in some
cases an Ethernet programming board. Once the data arrives at any one of
these places, you can do anything you want with it...

Of course a packet built for the radio cannot be sent directly over TCP --
which I'm assuming is what you're wired network will use. It must be
encapsulated or reformatted. The TinyOS source includes a java tool that
intercepts packets over a serial line and can forward them via sockets. The
tool is called the SerialForwarder and has a Java and C implementation. That
tool could be used as a starting point to whatever custom tool you might
need, if any.

The above has assumed that you want to run the TinyOS protocol on motes. If
you want to run it on a PC, then you would need to replace the radio layer
with, say, a socket layer. Put another way, you'd create a component to
replace radio functionality with TCP functionality. 

TinyOS includes the TOSSIM simulator that we sometimes refer to as the 'pc
platform', but I don't believe that it communicates at all with sockets
except to a Java GUI.

I hope that helps. 

-kw

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:tinyos-users-
> [EMAIL PROTECTED] On Behalf Of George Walk
> Sent: Friday, September 03, 2004 6:47 AM
> To: [EMAIL PROTECTED]
> Subject: [Tinyos-users] Protocol question
> 
> Is there any reason that Tiny OS protocol stack could not run over a
> wired network? I am working on an application that needs the
> capabilities of Tiny OS and motes, but would also need to be primarily
> connected via a wired configuration.
> 
> Thanks,
> George Walk
> Rhumb Line Software, Inc.
> 
> _______________________________________________
> Tinyos-users mailing list
> [EMAIL PROTECTED]
> http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to