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 intCAN_IS_FRAME_11BITstatic intCAN_IS_FRAME_REMOTEstatic intCAN_SEND_PERIOD_NO_REPEATstatic intCAN_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 voidFRCNetCommCANSessionMuxSendMessage(int messageID, byte[] data, int periodMs)static voidGetCANStatus(CANStatus status)-
Methods inherited from class edu.wpi.first.hal.JNIWrapper
forceLoad
-
-
-
-
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
-
-
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)
-
-