To change the serial port mode you can use the command line tool found in /etc/config-tools directory called set_serial_mode.
cd /etc/config-tools/
To use RS485 (default):
./set_serial_mode rs485
To use RS232:
./set_serial_mode rs232
2 Likes