001/*
002 * Copyright (C) Cross The Road Electronics.  All rights reserved.
003 * License information can be found in CTRE_LICENSE.txt
004 * For support and suggestions contact support@ctr-electronics.com or file
005 * an issue tracker at https://github.com/CrossTheRoadElec/Phoenix-Releases
006 */
007package com.ctre.phoenixpro.hardware.jni;
008
009public class HardwareJNI {
010    public enum Context {
011        ContextAPI(0),
012        ContextDiagServer(1);
013
014        public final int value;
015
016        private Context(int value) {
017            this.value = value;
018        }
019    }
020
021    public static native int getDeviceHash(int context, int deviceId, String model);
022}