I am writing an Flash app that uses serproxy with my Arduino. While getting Serproxy setup and running on OS X was not problem I am now moving on to test on Ubuntu. I can't seem to get serproxy to connect.
On Ubuntu I can connect my app to the Arduino IDE just fine. I can monitor the data without issue. So that is working.
On Ubuntu I can launch serproxy and it get the message 'Waiting for clients'. Now I run my app and try to make the connection. I immediately get the message 'Failed to open comm port - connection refused'.
Here is my serproxy.cfg. The only difference between the version on my OS X machine and my Ubuntu machine are on the last 4 lines. I have verified that the Arduino IDE uses the '/dev/ttyUSB0'
Any ideas what is happening?
Config file for serproxy
See serproxy's README file for documentation
Transform newlines coming from the serial port into nils
true (e.g. if using Flash) or false
newlines_to_nils=true
Comm ports used
comm_ports=1,2,3,4
Default settings
comm_baud=115200
comm_databits=8
comm_stopbits=1
comm_parity=none
Idle time out in seconds
timeout=300
Port 1 settings (ttyS0)
net_port1=5331
Port 2 settings (ttyS1)
net_port2=5332
Port 3 settings (ttyS2)
net_port3=5333
Port 4 settings (ttyS3)
net_port4=5334
#sensors on OS X
#serial_device1=/dev/cu.usbserial-A6008jFy
sensor on Ubuntu
serial_device1=/dev/ttyUSB0