RS Channels
RSpell exposes each serial line as a standard Linux TTY device.
All channels are available in /run/rspell/channels/<rs-code>/<channel-id>/.
For example, channel 2 of RS485 is available at /run/rspell/channels/485/2.
You can open the device with any Linux serial tool (screen, minicom) or from your application code.
You can use two RS485 channels as one RS422 channel.
This channel is available in /run/rspell/channels/422/....
How to switch it
Switching is done in the Control Center configuration. Once enabled, the paired channels are mapped as a single RS422 line.
Examples
Linux
Use any TTY-aware tool. Example with screen:
screen /run/rspell/channels/485/2 9600
Python
Use a serial library such as pyserial and point it to the channel path.
C
Open the device path and configure it with termios as you would with any serial port.
Rust
Use a serial crate and pass the TTY path to it.