platform_interface library
The platform layer of skio_usb_serial, for tests and custom backends.
Replace UsbSerialPlatform.instance with a fake in tests to exercise app code without hardware.
Classes
- SerialConnection
- An open port as seen by the platform layer.
- UnsupportedUsbSerialPlatform
- A platform where USB serial is not available. Every call reports AccessStatus.unsupported or throws Unsupported.
- UsbSerialPlatform
-
The platform side of
skio_usb_serial.