USB Serial converter POSIX
I'm trying to communicate with my Roomba vacuum cleaner using a USB-to-serial cable but I can't for the life of me get it to work using C++.
I've tried using cutecom and minicom with no success. The only thing I can get it to work with is C# using mono. Is there something special I need to do to be able to write to /dev/ttyUSB0 as if it was a standard serial port? Thanks, |
Welcome to LinuxQuestions.
Nothing special is required to write to a USB serial adapter versus the standard port. Make sure the permissions for the device are set accordingly. Not sure why cutecom would not work since it can talk hex. |
Can you be more specific about 'with no success'? Are you able to open the device node (ie. permission issues?). Does the USB <--> serial dongle work in any other application under Linux (my weapon of choice for these matters is C-Kermit). Do you have a standard serial port? Have you tried to use it? Are you receiving any error messages? If so, it might be helpful if you posted them here.
--- rod. |
All times are GMT -5. The time now is 10:07 PM. |