// Path: baseble/src/main/java/com/vise/baseble/common/BleConstant.java
// public static final int DEFAULT_CONN_TIME = 10000;
// 
// Path: baseble/src/main/java/com/vise/baseble/common/BleConstant.java
// public static final int DEFAULT_MAX_CONNECT_COUNT = 5;
// 
// Path: baseble/src/main/java/com/vise/baseble/common/BleConstant.java
// public static final int DEFAULT_OPERATE_TIME = 5000;
// 
// Path: baseble/src/main/java/com/vise/baseble/common/BleConstant.java
// public static final int DEFAULT_RETRY_COUNT = 3;
// 
// Path: baseble/src/main/java/com/vise/baseble/common/BleConstant.java
// public static final int DEFAULT_RETRY_INTERVAL = 1000;
// 
// Path: baseble/src/main/java/com/vise/baseble/common/BleConstant.java
// public static final int DEFAULT_SCAN_REPEAT_INTERVAL = -1;
// 
// Path: baseble/src/main/java/com/vise/baseble/common/BleConstant.java
// public static final int DEFAULT_SCAN_TIME = 20000;


import static com.vise.baseble.common.BleConstant.DEFAULT_CONN_TIME;
import static com.vise.baseble.common.BleConstant.DEFAULT_MAX_CONNECT_COUNT;
import static com.vise.baseble.common.BleConstant.DEFAULT_OPERATE_TIME;
import static com.vise.baseble.common.BleConstant.DEFAULT_RETRY_COUNT;
import static com.vise.baseble.common.BleConstant.DEFAULT_RETRY_INTERVAL;
import static com.vise.baseble.common.BleConstant.DEFAULT_SCAN_REPEAT_INTERVAL;
import static com.vise.baseble.common.BleConstant.DEFAULT_SCAN_TIME;
package com.vise.baseble.common;


/**
 * @Description: 蓝牙通信相关配置
 * @author: <a href="http://xiaoyaoyou1212.360doc.com">DAWI</a>
 * @date: 2017/10/16 11:46
 */
public class BleConfig {
    private static BleConfig instance;

    private int scanTimeout = DEFAULT_SCAN_TIME;//扫描超时时间（毫秒）
    private int connectTimeout = DEFAULT_CONN_TIME;//连接超时时间（毫秒）
    private int operateTimeout = DEFAULT_OPERATE_TIME;//数据操作超时时间（毫秒）
    private int connectRetryCount = DEFAULT_RETRY_COUNT;//连接重试次数
    private int connectRetryInterval = DEFAULT_RETRY_INTERVAL;//连接重试间隔（毫秒）
// Path: baseble/src/main/java/com/vise/baseble/common/BleConstant.java
// public static final int DEFAULT_CONN_TIME = 10000;
// 
// Path: baseble/src/main/java/com/vise/baseble/common/BleConstant.java
// public static final int DEFAULT_MAX_CONNECT_COUNT = 5;
// 
// Path: baseble/src/main/java/com/vise/baseble/common/BleConstant.java
// public static final int DEFAULT_OPERATE_TIME = 5000;
// 
// Path: baseble/src/main/java/com/vise/baseble/common/BleConstant.java
// public static final int DEFAULT_RETRY_COUNT = 3;
// 
// Path: baseble/src/main/java/com/vise/baseble/common/BleConstant.java
// public static final int DEFAULT_RETRY_INTERVAL = 1000;
// 
// Path: baseble/src/main/java/com/vise/baseble/common/BleConstant.java
// public static final int DEFAULT_SCAN_REPEAT_INTERVAL = -1;
// 
// Path: baseble/src/main/java/com/vise/baseble/common/BleConstant.java
// public static final int DEFAULT_SCAN_TIME = 20000;


// Path: baseble/src/main/java/com/vise/baseble/common/BleConfig.java
import static com.vise.baseble.common.BleConstant.DEFAULT_CONN_TIME;
import static com.vise.baseble.common.BleConstant.DEFAULT_MAX_CONNECT_COUNT;
import static com.vise.baseble.common.BleConstant.DEFAULT_OPERATE_TIME;
import static com.vise.baseble.common.BleConstant.DEFAULT_RETRY_COUNT;
import static com.vise.baseble.common.BleConstant.DEFAULT_RETRY_INTERVAL;
import static com.vise.baseble.common.BleConstant.DEFAULT_SCAN_REPEAT_INTERVAL;
import static com.vise.baseble.common.BleConstant.DEFAULT_SCAN_TIME;

package com.vise.baseble.common;


/**
 * @Description: 蓝牙通信相关配置
 * @author: <a href="http://xiaoyaoyou1212.360doc.com">DAWI</a>
 * @date: 2017/10/16 11:46
 */
public class BleConfig {
    private static BleConfig instance;

    private int scanTimeout = DEFAULT_SCAN_TIME;//扫描超时时间（毫秒）
    private int connectTimeout = DEFAULT_CONN_TIME;//连接超时时间（毫秒）
    private int operateTimeout = DEFAULT_OPERATE_TIME;//数据操作超时时间（毫秒）
    private int connectRetryCount = DEFAULT_RETRY_COUNT;//连接重试次数
    private int connectRetryInterval = DEFAULT_RETRY_INTERVAL;//连接重试间隔（毫秒）
    private int operateRetryCount = DEFAULT_RETRY_COUNT;//数据操作重试次数