[Tinyos-help] Problem with USB-to-Serial Cable for mote-pc communication
John Regehr
regehr at cs.utah.edu
Sun Jan 4 20:17:14 PST 2009
I used to teach a course based on project boards with serial ports, so of
course students using serial-free laptops had to buy USB-serial
converters. Broadly speaking, these devices (and/or their drivers) are
total pieces of crap. Seriously, about 1 in 3 worked as advertised. My
advice is to keep buying more of them until you find one that works for
you, then buy a small pile of that model.
John Regehr
On Sun, 4 Jan 2009, Philip Levis wrote:
>
> On Jan 4, 2009, at 11:29 AM, Yu (Jason) Gu wrote:
>
>> Hi Phil,
>>
>> For the C-based SF, I started it with:
>>
>> ./sf 9002 /dev/ttyUSB0 57600
>>
>> For the java application, I have:
>>
>> -comm sf at localhost:9002
>>
>> From SF side, I can see the java application connects to the SF and
>> displays:
>>
>> clients 1, read 0, wrote 0
>>
>> But there is no incoming data for the java application. I have
>> double checked this application with a actual serial port (on a dock
>> station for the same laptop), it worked fine for both java-based or
>> C-based SF.
>>
>> Thanks,
>>
>> Jason
>
> Hm. It sounds like there's something funny about your specific USB
> serial dongle then. I've certainly had serial forwarders (Java and C)
> work with them.
>
> Phil
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
More information about the Tinyos-help
mailing list