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.configs.jni;
008
009public class ConfigJNI {
010    public String serializedString;
011
012    public native int SetConfigs(String network, int deviceHash, double timeoutSeconds, boolean futureProofConfigs,
013            boolean overrideIfDuplicate);
014
015    public native int GetConfigs(String network, int deviceHash, double timeoutSeconds);
016
017    public static native String Serializedouble(int spn, double val);
018
019    public static native String Serializeint(int spn, int val);
020
021    public static native String Serializeboolean(int spn, boolean val);
022
023    public static native double Deserializedouble(int spn, String str);
024
025    public static native int Deserializeint(int spn, String str);
026
027    public static native boolean Deserializeboolean(int spn, String str);
028}