无忧卡下行速率
发布网友
发布时间:2023-04-23 12:40
我来回答
共1个回答
热心网友
时间:2023-10-09 14:06
public final static String SPD_DOWNRATE_NO_WORRY_CARD ="SPD_DOWNRATE_NO_WORRY_CARD";
//无忧卡上行速率
public final static String SPD_UPRATE_NO_WORRY_CARD ="SPD_UPRATE_NO_WORRY_CARD";
//无忧卡状态
public final static String STATE_NO_WORRY_CARD ="STATE_NO_WORRY_CARD";
/**
* 各种认证状态
*/
//端口认证
public final static String STATE_PORT_AUTH = "STATE_PORT_AUTH";
//用户认证
public final static String STATE_USER_AUTH = "STATE_USER_AUTH";
//802.1X认证
public final static String STATE_802_1X_AUTH = "STATE_802_1X_AUTH";
//表示当前认证状态
public final static String STATE_CURRENT_AUTH = "STATE_CURRENT_AUTH";
//表示当前的连接状态
public final static String STATE_CONN_STATUS = "STATE_CONN_STATUS";
//表示当前网络类型
public final static String STATE_NET_TYPE = "STATE_NET_TYPE";
//表示当前连接状态
public final static String STATE_NET_STATUS = "STATE_NET_STATUS";
/**
* 各种状态值
*/
//未连接
public final static String STATE_DISCONNECTED = "STATE_DISCONNECTED";
//已连接
public final static String STATE_CONNECTED = "STATE_CONNECTED";
//正在连接
public final static String STATE_CONNECTING = "STATE_CONNECTING";
//正在卸载
public final static String STATE_DISCONNECTING = "STATE_DISCONNECTING";
//未认证
public final static String STATE_UNAUTHED = "STATE_UNAUTHED";
//已认证
public final static String STATE_AUTHED = "STATE_AUTHED";
//正在认证
public final static String STATE_AUTHING = "STATE_AUTHING";
//未知
public final static String STATE_UNKOWN = "STATE_UNKOWN";
/**
* 各种状态码
*/
//未连接成功
public final static int STATUS_CODE_FAILED = 0;
//已连接成功
public final static int STATUS_CODE_SUCCESS = 1;
//无法连接
public final static int STATUS_CODE_UNABLE_CONN = 2;
//正在连接
public final static int STATUS_CODE_CONNECTING = 3;
//无法认证
public final static int STATUS_CODE_UNABLE_AUTH = 4;
//正在认证
public final static int STATUS_CODE_AUTHING = 5;
//正在断开
public final static int STATUS_CODE_DISCONNECTING = 6;
/**
* 设备类型
*/
//无忧卡设备
public final static int DEVICE_TYPE_NO_WORRY_CARD = 0;
//移动设备
public final static int DEVICE_TYPE_MOBILE = 1;
//联通设备
public final static int DEVICE_TYPE_UNICOM = 2;
//电信设备
public final static int DEVICE_TYPE_TELECOM = 3;
//拨号设备
public final static int DEVICE_TYPE_DIAL_UP = 4;
//其他设备
public final static int DEVICE_TYPE_OTHER = 5;
/**
* 设备类型对应的name
*/
//无忧卡设备
public final static String DEVICE_TYPE_NO_WORRY_CARD_NAME = "noWorryCard";
//移动设备
public final static String DEVICE_TYPE_MOBILE_NAME = "mobile";
//联通设备
public final static String DEVICE_TYPE_UNICOM_NAME = "unicom";
//电信设备
public final static String DEVICE_TYPE_TELECOM_NAME = "telecom";
//拨号设备
public final static String DEVICE_TYPE_DIAL_UP_NAME = "dialUp";
//其他设备
public final static String DEVICE_TYPE_OTHER_NAME = "other";
/**
* 各种网络类型
*/
//GPRS
public final static int NET_TYPE_GPRS = 0;
//EDGE
public final static int NET_TYPE_EDGE = 1;
//WCDMA
public final static int NET_TYPE_WCDMA = 2;
//CDMA
public final static int NET_TYPE_CDMA = 3;
//CDMA2000
public final static int NET_TYPE_CDMA2000 = 4;
//TD-SCDMA
public final static int NET_TYPE_TDSCDMA = 5;
//802.11
public final static int NET_TYPE_802_11 = 6;
//其他
public final static int NET_TYPE_OTHER = 7;
/**
* 网络类型对应的name
*/
//GPRS
public final static String NET_TYPE_GPRS_NAME = "gprs";
//EDGE
public final static String NET_TYPE_EDGE_NAME = "edge";
//WCDMA
public final static String NET_TYPE_WCDMA_NAME = "wcdma";
//CDMA
public final static String NET_TYPE_CDMA_NAME = "cdma";
//CDMA2000
public final static String NET_TYPE_CDMA2000_NAME = "cdma2000";
//TD-SCDMA
public final static String NET_TYPE_TDSCDMA_NAME = "tdscdma";
//802.11
public final static String NET_TYPE_802_11_NAME = "802.11";
//其他
public final static String NET_TYPE_OTHER_NAME = "other";
}