[Tinyos-help] Problem with USB-to-Serial Cable for mote-pc communication

Philip Levis pal at cs.stanford.edu
Sun Jan 4 13:33:12 PST 2009


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


More information about the Tinyos-help mailing list