package com.device.comm.mylibrary.NativeDevice;

import java.util.UUID;

/**
 * Created by qb on 2015/10/25.
 */
public class XTCConstant {

    public final static String INTENT_BLE_EXTRA_DATA = "standard.ble.BLE_EXTRA_DATA";
    public final static String INTENT_BLE_BONDED = "android.ble.BLE_BONDED";
    public final static String INTENT_BLE_BOND_NONE = "android.ble.BLE_BOND_NONE";
    public final static String INTENT_BLE_DEVICECONNECTED = "android.ble.BLE_DEVICECONNECTED";
    public final static String INTENT_BLE_DEVICEDISCONNECTED = "android.ble.BLE_DEVICEDISCONNECTED";
    public final static String INTENT_BLE_ERROR = "android.ble.BLE_ERROR";
    public final static String INTENT_BLE_DEVICESUPPORT = "android.ble.INTENT_BLE_DEVICESUPPORT";

    //Service
    public final static UUID serviceUUID = UUID.fromString("03011525-0138-4968-bd13-824f74be866c");
    //Characteristic
    public final static UUID write_TC_UUID = UUID.fromString("00001527-0000-1000-8000-00805f9b34fb");
    public final static UUID write_BL_UUID = UUID.fromString("00001529-0000-1000-8000-00805f9b34fb");
    public final static UUID notify_TC_UUID = UUID.fromString("00001526-0000-1000-8000-00805f9b34fb");
    public final static UUID notify_BL_UUID = UUID.fromString("00001528-0000-1000-8000-00805f9b34fb");

    //Descriptor
    public final static UUID BLE_DESCRIPTOR_DESCRIPTOR = UUID.fromString("00002902-0000-1000-8000-00805f9b34fb");
}
