Fix serial port connections on Linux

add possibility to communicate with arduino boards that appears as ttyACM* on linux,
with boards connected via bluetooth (rfcomm* on linux) and with boards connected
via rs232 (ttyS*).