Package edu.wpi.first.hal.can
Class CANJNI
- java.lang.Object
-
- edu.wpi.first.hal.JNIWrapper
-
- edu.wpi.first.hal.can.CANJNI
-
public class CANJNI extends JNIWrapper
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.wpi.first.hal.JNIWrapper
JNIWrapper.Helper
-
-
Field Summary
Fields Modifier and Type Field Description static int
CAN_IS_FRAME_11BIT
static int
CAN_IS_FRAME_REMOTE
static int
CAN_SEND_PERIOD_NO_REPEAT
static int
CAN_SEND_PERIOD_STOP_REPEATING
-
Constructor Summary
Constructors Constructor Description CANJNI()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
FRCNetCommCANSessionMuxReceiveMessage(IntBuffer messageID, int messageIDMask, ByteBuffer timeStamp)
static void
FRCNetCommCANSessionMuxSendMessage(int messageID, byte[] data, int periodMs)
static void
getCANStatus(CANStatus status)
-
Methods inherited from class edu.wpi.first.hal.JNIWrapper
forceLoad, suppressUnused
-
-
-
-
Field Detail
-
CAN_SEND_PERIOD_NO_REPEAT
public static final int CAN_SEND_PERIOD_NO_REPEAT
- See Also:
- Constant Field Values
-
CAN_SEND_PERIOD_STOP_REPEATING
public static final int CAN_SEND_PERIOD_STOP_REPEATING
- See Also:
- Constant Field Values
-
CAN_IS_FRAME_REMOTE
public static final int CAN_IS_FRAME_REMOTE
- See Also:
- Constant Field Values
-
CAN_IS_FRAME_11BIT
public static final int CAN_IS_FRAME_11BIT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CANJNI
public CANJNI()
-
-
Method Detail
-
FRCNetCommCANSessionMuxSendMessage
public static void FRCNetCommCANSessionMuxSendMessage(int messageID, byte[] data, int periodMs)
-
FRCNetCommCANSessionMuxReceiveMessage
public static byte[] FRCNetCommCANSessionMuxReceiveMessage(IntBuffer messageID, int messageIDMask, ByteBuffer timeStamp)
-
getCANStatus
public static void getCANStatus(CANStatus status)
-
-