ID253SerialPort

interface ID253SerialPort

Interface describing the functions which a serial port class interacting with a Dasung 253 monitor should implement.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun write(packet: D253Request): D253Response
abstract suspend fun write(arg: D253RequestValue): D253Response
abstract suspend fun write(cmd: D253Attribute, arg: Instant): D253Response

Writes a request to the monitor's serial port and interprets the response.