Package com.tinkerforge
Interface BrickletCANV2.FrameReadListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletCANV2
public static interface BrickletCANV2.FrameReadListener extends DeviceListener
This listener is triggered if a data or remote frame was received by the CAN transceiver. The ``identifier`` return value follows the identifier format described forBrickletCANV2.writeFrame(int, long, int[])
. For details on the ``data`` return value seeBrickletCANV2.readFrame()
. A configurable read filter can be used to define which frames should be received by the CAN transceiver and put into the read queue (seeBrickletCANV2.setReadFilterConfiguration(int, int, long, long)
). To enable this listener, useBrickletCANV2.setFrameReadCallbackConfiguration(boolean)
. \note If reconstructing the value fails, the listener is triggered with null for data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
frameRead(int frameType, long identifier, int[] data)
-