A basic_basic_serial_port is always the lowest layer.
typedef basic_serial_port lowest_layer_type;
Name |
Description |
---|---|
Rebinds the serial port type to another executor. |
|
The type of the executor associated with the object. |
|
A basic_basic_serial_port is always the lowest layer. |
|
The native representation of a serial port. |
Name |
Description |
---|---|
Assign an existing native serial port to the serial port. |
|
Start an asynchronous read. |
|
Start an asynchronous write. |
|
basic_serial_port [constructor] |
Construct a basic_serial_port without opening it. |
Cancel all asynchronous operations associated with the serial port. |
|
Close the serial port. |
|
Get the executor associated with the object. |
|
Get an option from the serial port. |
|
Determine whether the serial port is open. |
|
Get a reference to the lowest layer. |
|
Get the native serial port representation. |
|
Open the serial port using the specified device name. |
|
Move-assign a basic_serial_port from another. |
|
Read some data from the serial port. |
|
Send a break sequence to the serial port. |
|
Set an option on the serial port. |
|
Write some data to the serial port. |
|
~basic_serial_port [destructor] |
Destroys the serial port. |
The basic_serial_port
class provides a wrapper over serial port functionality.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: asio/basic_serial_port.hpp
Convenience header: asio.hpp