Flexiport multi-port driver

The flexiport driver provides access to a data communications device (such as a serial port or a TCP network port) via the Flexiport library. Any data received over this device is published, and any writes to this driver are written to the device. It does not process the data in any way.

Compile-time dependencies
Provides
  • interface_opaque
Requires
  • none
Configuration requests
  • none
Configuration file options
  • See Properties.
Properties (may also be set in the configuration file)
  • portopts (string)
    • Default: "type=serial,device=/dev/ttyS0,timeout=1"
    • Options to create the Flexiport port with.
  • buffer_size (integer)
    • The size of the buffer to be used when reading. This is the maximum that can be read in one read command
    • Default: 4096
Example
driver
(
  name "sicks3000"
  provides ["laser:0"]
  requires ["opaque:0"]
)

driver
(
  name "flexiport"
  provides ["opaque:0]
  portopts "type=serial,device=/dev/ttyACM0"
)
Author
Geoffrey Biggs