Manage Rs-232/422/485 Mode - Asus AAEON SRG-ADIO User Manual

Iot gatewey system
Table of Contents

Advertisement

3.7.3.1

Manage RS-232/422/485 Mode

Check Current Mode by entering the following command:
$ sudo uartmode -p
PORTNO
PORTNO
0
1
Example: will return mode for COM1
$ sudo uartmode -p
The command will output a single number. Refer to the table below for each mode:
Switch Mode: by entering the following command:
$ sudo uartmode -p
Refer to the tables above for
The system will return the following:
Chapter 3 – Gateway Setup and Configuration
PORTNO
is the label of each port:
System Name
/dev/ttyMU0
/dev/ttyMU1
0
PORTMODE
COM Mode
0
RS-232
1
RS-485 2-wire
2
RS-422/RS-485 4-wire
PORTNO
Port Label
COM1
COM2
-m
PORTMODE
PORTNO
and
PORTMODE
34

Advertisement

Table of Contents
loading

Table of Contents