onDataReceived

open fun onDataReceived(bytes: ByteArray)

Called when serial data is received.