Class CANAPIJNI

    • Constructor Detail

      • CANAPIJNI

        public CANAPIJNI()
    • Method Detail

      • initializeCAN

        public static int initializeCAN​(int manufacturer,
                                        int deviceId,
                                        int deviceType)
      • cleanCAN

        public static void cleanCAN​(int handle)
      • writeCANPacket

        public static void writeCANPacket​(int handle,
                                          byte[] data,
                                          int apiId)
      • writeCANPacketRepeating

        public static void writeCANPacketRepeating​(int handle,
                                                   byte[] data,
                                                   int apiId,
                                                   int repeatMs)
      • stopCANPacketRepeating

        public static void stopCANPacketRepeating​(int handle,
                                                  int apiId)
      • readCANPacketNew

        public static boolean readCANPacketNew​(int handle,
                                               int apiId,
                                               CANData data)
      • readCANPacketLatest

        public static boolean readCANPacketLatest​(int handle,
                                                  int apiId,
                                                  CANData data)
      • readCANPacketTimeout

        public static boolean readCANPacketTimeout​(int handle,
                                                   int apiId,
                                                   int timeoutMs,
                                                   CANData data)
      • readCANPeriodicPacket

        public static boolean readCANPeriodicPacket​(int handle,
                                                    int apiId,
                                                    int timeoutMs,
                                                    int periodMs,
                                                    CANData data)