-
-
Constructor Summary
Constructors
Constructor |
Description |
CANData() |
|
-
Method Summary
Modifier and Type |
Method |
Description |
byte[] |
setData(int length,
long timestamp) |
API used from JNI to set the data.
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
Method Details
-
public byte[] setData(
int length,
long timestamp)
API used from JNI to set the data.
- Parameters:
length
- Length of packet in bytes.
timestamp
- CAN frame timestamp in microseconds.
- Returns:
- Buffer containing CAN frame.