Module kernel::services::serial_mux
source · Expand description
§Serial Multiplexor
Allows the creation of virtual “ports” over a single serial link
This module includes the service definition, client definition, as well
as a server definition that relies on the SimpleSerial
service to provide the service implementation.
Structs§
- A
PortHandle
is the interface received after opening a virtual serial port using aSerialMuxClient
. - PortInfo 🔒
- A
SerialMuxClient
is the client interface of theSerialMuxService
. - Server implementation for the
SerialMuxService
. - SerialMux is the registered driver type
Enums§
- Well known
SerialMuxService
ports
Functions§
- Takes data from the grant
- Tries to decode a port and message from the given buffer