That would probably work ... but the c# code included in msrsense uses the registry to identify tmotes, ignoring other attached usb devices. That means the user doesn't have to specify the com details.
------------------------- Bill Leal Computer Science and Engineering The Ohio State University 395 Dreese Laboratories 2015 Neil Avenue Columbus, OH 43210-1277 Fax: +1-815-301-8202 > -----Original Message----- > From: Benjamin Madore [mailto:[EMAIL PROTECTED] > Sent: Monday, April 02, 2007 10:36 AM > To: Bill Leal > Cc: [email protected] > Subject: Re: [Tinyos-help] windows-based app > > > 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 _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
