package com.fusi24.rfid.config;

public final class Constant {

    /*===================================================================================================*/

    public static final String JWT_TOKEN = "eyJhbGciOiJIUzI1NiJ9.eyJpZEthcnlhd2FuIjo0Mzg4NCwiaWQiOjIsImVtYWlsIjoiYXJpZi53aWR5YUBiZXJhdWNvYWwuY28uaWQiLCJ1c2VybmFtZSI6IkxTREVWIn0.ZgYBPYZgx5CdJAMm29T6_0Es5C199PULqOfwMwdGFz8";
    public final static Integer BAUTRATE = 9600;

    /*===================================================================================================*/

    // API < 3.0
    public final static String PATH = "/dev/ttyS2";
    public final static String PATHNAME = "/proc/gpiocontrol/set_id";

    // API 3.0
    /*public final static String PATH = "/dev/ttyS3"; // Untuk versi 3.0
    public final static String PATHNAME = "/proc/gpiocontrol/set_sam"; // untuk versi 3.0*/

    /*===================================================================================================*/

    //Direct ke BCUI
    public final static String BASE_URL = "http://bcui2.fusi24.com";

    public final static String BEATS_ENDPOINT = "/beats";
    public final static String BEATS2_ENDPOINT = "/beats2";
    public final static String SID_ENDPOINT = "/sid";
    public final static String RFID_ENDPOINT = "/rfid";

    public static final String URL_PHOTO = BASE_URL + BEATS2_ENDPOINT + "/file?path=";

    //Direct ke Production
    /*public final static String BASE_URL = "http://hseautomation.beraucoal.co.id";

    public final static String BEATS_ENDPOINT = "/beats";
    public final static String BEATS2_ENDPOINT = "/beats2";
    public final static String SID_ENDPOINT = "/sid";
    public final static String RFID_ENDPOINT = "/rfid";

    public static final String URL_PHOTO = BASE_URL + BEATS2_ENDPOINT + "/file?path=";*/

    /*===================================================================================================*/

}
