NiimbotLink

interface NiimbotLink(source)

The two-way packet link to a printer: BLE in the app, a script in tests.

Properties

Link copied to clipboard
abstract val received: ReceiveChannel<NiimbotPacket>

Packets the printer sent, in arrival order. Closed when the link is gone.

Functions

Link copied to clipboard
abstract suspend fun send(packet: NiimbotPacket)