Skip to main content

Module port

Module port 

Source
Expand description

Opening the link to a controller: a local serial device, or a TCP socket for sticks shared over the network (ser2net, socat, a simulator).

Constants§

BAUD_RATE
The Serial API’s fixed line settings: 115200 baud, 8N1, no flow control.

Traits§

Port
A bidirectional byte stream to a controller.

Functions§

open
Opens path: tcp://host:port for a network link, anything else as a local serial device.