Interfaces Serial interface
Digi TransPort WR Routers User Guide
40
Serial interface
TransPort devices have a single serial port that provides access to the command-line interface.
Configure the serial interface
By default, the serial interface is enabled. To change serial configuration settings, use the serial
command.
Command line
Disable the serial interface
digi.router> serial state off
digi.router> save config
Enable CLI access for the serial interface
digi.router> serial state cli
digi.router> save config
Enable PySerial access for the serial interface
digi.router> serial state python
digi.router> save config
Enter a description for the serial interface
digi.router> serial description “Command line access”
digi.router> save config
Set the baud rate
For example, to set the baud rate to 9600, enter:
digi.router> serial baud 9600
digi.router> save config
Set the data bits
For example, to set the data bits to 7, enter:
digi.router> serial databits 7
digi.router> save config
Set the stop bits
For example, to set the stop bits to 2, enter:
digi.router> serial stopbits 2
digi.router> save config
Set the parity
For example, to set the parity to odd, enter:
digi.router> serial parity odd
digi.router> save config