public static interface BrickletRS232.FrameReadableListener extends DeviceListener
BrickletRS232.setFrameReadableCallbackConfiguration(short)
.
The frame count parameter is the number of frames that can be read.
This listener is triggered only once until BrickletRS232.read()
or BrickletRS232.readFrame()
is called. This means, that if you have configured a frame size of X bytes,
you can read exactly X bytes using the BrickletRS232.readFrame()
function, every time the listener triggers without checking the frame count parameter.
.. versionadded:: 2.0.4$nbsp;(Plugin)Modifier and Type | Method and Description |
---|---|
void |
frameReadable(short frameCount) |
Copyright © 2021 Tinkerforge GmbH. All rights reserved.