SmartServer IoT Ethernet, RS-485 Ports, and USB Ports
The SmartServer IoT's Ethernet ports are eth0 and eth1, the two RS-485 serial ports are /dev/ttymxc2 and /dev/ttymxc4, and the four USB ports are /media/usb0-3.
SmartServer IoT RS-485 Port Settings
To use one of the RS-485 serial ports, you must set the bus type to Custom, which causes the remaining communication parameters for the port to be ignored. As a result, your custom RS-485 driver needs to implement the code to set the communication parameters for the port, and configure the port to operate in RS-485 mode.  See Sample Code for a Custom RS-485 Driver, below.
Sample Code for a Custom RS-485 Driver
The custom RS-485 driver needs to include code to configure the port for RS-485 use, and also set the communications parameters for the port.  The following example is written in C, but a nodeJS driver would need to do the same thing.
struct serial_rs485 rs485conf; // Set up the port for RS485 mode, RTS to xmit etc. memset(&rs485conf, 0, sizeof(rs485conf)); // Make sure all other RS485 port parameters are cleared The serial port parameters either need to be set via code in the driver, the conf file listed above needs to be edited (JSON), or else something like stty needs to be used in the console to set this up manually. struct termios SerialPortSettings; /* Create the structure */ // Set up the port attributes (baud rate, parity etc. 19,200 N81) tcgetattr(g_fd, &SerialPortSettings); /* Get the current attributes of the Serial port */ SerialPortSettings.c_cflag &= ~PARENB; /* Disables the Parity Enable bit(PARENB),So No Parity */ SerialPortSettings.c_iflag &= ~(ICANON | ECHO | ECHOE | ISIG); /* Non Cannonical mode */ SerialPortSettings.c_oflag &= ~OPOST;/*No Output Processing*/ if((tcsetattr(g_fd,TCSANOW,&SerialPortSettings)) != 0) { /* Set the attributes to the termios structure*/ |