sergensio(5)

sergensio5

How to use a serial gensio

Overview

NOTE: sergensio is deprecated, the functionality for it is not done with the acontrol() and control() functions in the main gensio type.

A sergensio object is a type of gensio that provides serial port functions. It cannot be directly created, instead you create a gensio that has serial port capabilities and cast it using the gensio_to_sergensio() function.

A sergensio object may be a client, meaning that you can set serial port parameters for that gensio. This is what you would normally expect, and works for all serial port types.

A sergensio object may also be a server, meaning that it can receive requests from the remote end to set serial port parameters. Currently only the telnet gensio has server capability, so a remote end may request that serial port parameters be set.

Using a client sergensio

Asynchronous events

Using a server sergensio

Asynchronous events

Known problems

None.

Releases

3 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11–12
  2. 13

Author

Corey Minyard <[email protected]>

From libgensio-dev 2.8.13-7 in Debian 13 (Trixie). Parsed by carta from the page's man source.