Serial port mapping

See the table below to find out how the physical RS485/RS232 serial port lines are mapped into Linux ports within /dev/.


Alternatively, all serial ports with N (eg. /dev/ttyNS0) mentioned below are also accessible via /dev/extcomm/Y/X, where Y is the number of section, and X is the number of the serial port. X and Y are counted from 0.

RS485-1 RS232(485)-2 RS485-3 RS485-4
S167 LTEttyNS0ttymxc0xx

RS485-1.1 RS232(485)-1.2 RS485-1.3 RS485-2.1
M267 LTEttyNS0ttymxc0xx
M567 LTEttyNS0ttymxc0xttyNS1

USB ports

USB converters (FTDI, CH34x, PLxxxx and CPxxxx) are also supported by default. For using other gateways or devices, installation of drivers is necessary.

USB1 /dev/serial/by-port/0
USB2 /dev/serial/by-port/1

LTE modem

The LTE modem is build in the Patron S167, M267 and M567 units.

The unipi-lte package, which makes the use of an LTE modem available, also includes a virtual serial line for communication with the modem via AT commands. Modem settings could be managed for example, by the minicom program, directly from the unit's Linux console (by SSH access).

In the control SW (Node-RED, etc.) the serial line can be used, for example, to send and receive SMS messages or calls.

Modem's serial line for AT commands ttyLTE_AT1

Since this is a virtual serial line, communication parameters (baudrate, parity, etc.) can be selected arbitrarily.