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.phoenix6.hardware.jni;
008
009import com.ctre.phoenix6.jni.CtreJniWrapper;
010
011public class HardwareJNI extends CtreJniWrapper {
012    public enum Context {
013        ContextAPI(0),
014        ContextDiagServer(1);
015
016        public final int value;
017
018        private Context(int value) {
019            this.value = value;
020        }
021    }
022
023    public static native int getDeviceHash(int deviceId, String model, String canbus);
024}