public interface ICANListener
Use the CAN.registerListener(ICANListener)
and
CAN.unregisterListener(ICANListener)
methods to subscribe or
unsubscribe your listener.
The read process must be started in order to receive CANFrame
.
Use CAN.isReading()
, CAN.startRead(java.util.List)
, and
CAN.stopRead()
to know know the status of the process, start or stop
it.
CANFrame
Modifier and Type | Method and Description |
---|---|
void |
frameReceived(CANFrame frame)
Called when a CAN frame is received.
|