Represents a communicator using the SerialPort library for communication with hardware devices.
Gets the identifier for the communication device.
The device identifier.
Checks if the communication device is currently connected.
True if the device is connected, otherwise false.
Connects to the serial port device.
Disconnects from the serial port device.
Sets a callback function to handle incoming data from the serial port.
The function to be called with received data.
Writes data to the serial port.
The data to be written.
Static
Retrieves a list of available serial ports.
A promise resolving to an array of available serial ports.
https://serialport.io/docs/api-bindings-cpp#list
Generated using TypeDoc
Represents a communicator using the SerialPort library for communication with hardware devices.