Expand description
Serial port configuration enums, constants, and global log level.
Structs§
- Modem
Lines OnOpen - DTR / RTS levels to apply when a port is opened (
None= platform default: unchanged on desktop, asserted on Android). Deasserting DTR keeps Arduino-style boards from resetting on open; on Linux the kernel still pulses DTR briefly.
Enums§
- Clear
Buffer - Buffer types for clearing serial port buffers
- Data
Bits - Number of bits per character for serial communication
- Flow
Control - Flow control modes for serial communication
- LogLevel
- Logging level for controlling plugin verbosity
- Parity
- Parity checking modes for serial communication
- Stop
Bits - Number of stop bits for serial communication
Constants§
- BLUETOOTH
- Bluetooth serial port
- PCI
- PCI serial port
- UNKNOWN
- Port type constants for identifying serial port types
- USB
- USB serial port
Functions§
- get_
log_ level - Gets the current global log level
- set_
log_ level - Sets the global log level for the plugin