onDataReceived

open fun onDataReceived(bytes: ByteArray)(source)

Called when serial data is received.