Vantron
| Embedded in your success, Embedded in your better life
World-leading provider of embedded/IoT products and solutions
C335 Series Edge Computing Gateways | User Manual
18
COM1 could switch between RS232 and RS485 (default).
Input the following command lines in a host device to enable
RS232
on COM1 and use a
serial communication program (e.g., microcom) to open the port:
Input the following command lines in a host device to enable
RS485
on COM1 and use a
serial communication program (e.g., microcom) to open the port:
~# gpio set uart0 rs232 save
Or
~# gpio set uart0 rs232
~# gpio get uart0
rs232
~# microcom /dev/ttyO2 -s 115200
~# gpio set uart0 rs485 save
Or
~# gpio set uart0 rs485
~# gpio get uart0
rs485
~# microcom /dev/ttyO2 -s 115200