[Tinyos-help] windows-based app
Benjamin Madore
bcmadore at cs.pitt.edu
Mon Apr 2 07:35:41 PDT 2007
On Fri, March 30, 2007 3:48 pm, Bill Leal said:
> I'm developing a tiny-os app that has a network of tmotes, one of which is
> attached via usb to a pc. On the pc side I'd like all the software to run in
> native windows (no cygwin). I'd prefer to write the software in C#. In any
> case, I'll need a component like Listen to handle the usb communication.
>
> I've poked around, looking for resources in C# that let me access a usb
> device, and it looks like it would be pretty complicated if I had to roll my
> own.
I was under the impression that motes used a generic USB serial driver to
emulate a serial port. The USB is a bridge, and the cpu supports serial
communications.
C# should then access the serial interface on the virtual port. Just like
Listen, listen raw, etc. use the serial interface.
> Any ideas or pointers?
Look around here: http://www.codeproject.com/system/serial_com.asp
> Thanks, Bill
--
The difference between the right word and the almost right word is really a
large matter- it's the difference between a lightning bug and the lightning.
-Twain
More information about the Tinyos-help
mailing list