Communicating via Serial Terminal
The other way to connect to the modem is through a serial connection. By connecting via UART or through USB on an interface board, you will have access to both RS-422 and RS-232 serial terminals. Please note that a serial terminal emulator is required for shell access on these ports.
Finding the Serial Port
When connected through USB on an interface board, the modem enumerates as two serial ports:
- pshell port (RS-422): the Popoto pshell command interface, by default.
- Linux port (RS-232): the modem's Linux terminal, by default.
| Operating System | pshell Port (RS-422) | Linux Port (RS-232) |
|---|---|---|
| Linux | /dev/ttyUSB0 | /dev/ttyUSB1 |
| macOS | /dev/cu.usbserial-<id> or /dev/cu.usbmodem<id> | Second port of the pair |
| Windows | COMn | COMn+1 |
The exact names and numbers depend on the host and any other serial devices attached. To identify the modem's ports, list the serial devices before and after plugging in the USB cable; the new entries belong to the modem, and the first of the pair is the pshell port:
- Linux:
ls /dev/ttyUSB* - macOS:
ls /dev/cu.* - Windows: Device Manager > Ports (COM & LPT)
For this guide, we'll use the pshell port.
Serial Terminal Settings
For USB serial, RS-422, or RS-232 checkout, open any standard serial terminal emulator and use the following settings to connect to the appropriate RS-422 port:
| Serial Setting | Value |
|---|---|
| Baud rate | 115200 bps |
| Parity | None |
| Data bits | 8 |
| Stop bits | 1 |
About 20 seconds after power-on, the modem will present a pshell command prompt on the configured serial console.