Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
PROPERTY_INDICATE |
32 |
public static final int |
PROPERTY_NOTIFY |
16 |
public static final int |
PROPERTY_READ |
2 |
public static final int |
PROPERTY_SIGNED_WRITE |
64 |
public static final int |
PROPERTY_WRITE |
8 |
public static final int |
PROPERTY_WRITE_NO_RESPONSE |
4 |
public static final int |
WRITE_TYPE_NO_RESPONSE |
1 |
public static final int |
WRITE_TYPE_SIGNED |
4 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
DEFAULT_CONNECTION_BUG_FIX_TIMEOUT |
60 |
public static final int |
DEFAULT_GATT_REFRESH_DELAY |
500 |
public static final int |
DEFAULT_MAX_BOND_RETRIES |
3 |
public static final int |
DEFAULT_MAX_CONNECTION_FAIL_HISTORY_SIZE |
25 |
public static final double |
DEFAULT_MINIMUM_SCAN_TIME |
5.0 |
public static final double |
DEFAULT_RSSI_AUTO_POLL_RATE |
10.0 |
public static final int |
DEFAULT_RSSI_MAX |
-30 |
public static final int |
DEFAULT_RSSI_MIN |
-120 |
public static final int |
DEFAULT_RUNNING_AVERAGE_N |
10 |
public static final double |
DEFAULT_SCAN_KEEP_ALIVE |
12.5 |
public static final int |
DEFAULT_TX_POWER |
-50 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final double |
DEFAULT_AUTO_SCAN_DELAY_AFTER_RESUME |
0.5 |
public static final double |
DEFAULT_AUTO_UPDATE_RATE |
0.0202 |
public static final double |
DEFAULT_CLASSIC_SCAN_BOOST_TIME |
0.5 |
public static final double |
DEFAULT_DELAY_BEFORE_IDLE |
20.0 |
public static final double |
DEFAULT_IDLE_UPDATE_RATE |
0.5 |
public static final double |
DEFAULT_MANAGER_STATE_POLL_RATE |
0.1 |
public static final double |
DEFAULT_SCAN_INFINITE_INTERVAL_TIME |
10.0 |
public static final double |
DEFAULT_SCAN_INFINITE_PAUSE_TIME |
0.5 |
public static final double |
DEFAULT_UH_OH_CALLBACK_THROTTLE |
30.0 |
public static final double |
MAX_CLASSIC_SCAN_TIME |
7.0 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
DEFAULT_MAX_CONNECTION_FAIL_HISTORY_SIZE |
25 |
public static final int |
DEFAULT_MTU_SIZE |
23 |
public static final int |
GATT_READ_MTU_OVERHEAD |
1 |
public static final int |
GATT_WRITE_MTU_OVERHEAD |
3 |
public static final int |
INVALID_TX_POWER |
-2147483648 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final double |
DEFAULT_CRASH_RESOLVER_TIMEOUT |
50.0 |
public static final double |
DEFAULT_TASK_TIMEOUT |
12.5 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
PersistenceLevel_BOTH |
3 |
public static final int |
PersistenceLevel_DISK |
2 |
public static final int |
PersistenceLevel_MEMORY |
1 |
public static final int |
PersistenceLevel_NONE |
0 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
ADVERTISE_ANDROID_VERSION_NOT_SUPPORTED |
20 |
public static final int |
ADVERTISE_FAILED_ALREADY_STARTED |
3 |
public static final int |
ADVERTISE_FAILED_DATA_TOO_LARGE |
1 |
public static final int |
ADVERTISE_FAILED_FEATURE_UNSUPPORTED |
5 |
public static final int |
ADVERTISE_FAILED_INTERNAL_ERROR |
4 |
public static final int |
ADVERTISE_FAILED_TOO_MANY_ADVERTISERS |
2 |
public static final int |
ADVERTISE_SUCCESS |
0 |
public static final int |
AUTH_RETRY_STATE_IDLE |
0 |
public static final int |
AUTH_RETRY_STATE_MITM |
2 |
public static final int |
AUTH_RETRY_STATE_NO_MITM |
1 |
public static final int |
BOND_FAIL_REASON_NOT_APPLICABLE |
-1 |
public static final int |
BOND_FAIL_REASON_NOT_AVAILABLE |
42 |
public static final int |
BOND_SUCCESS |
0 |
public static final int |
CONN_CANCEL |
256 |
public static final int |
CONN_FAIL_ESTABLISH |
62 |
public static final int |
CONN_LMP_TIMEOUT |
34 |
public static final int |
CONN_NO_RESOURCES |
4 |
public static final int |
CONN_SUCCESS |
0 |
public static final int |
CONN_TERMINATE_LOCAL_HOST |
22 |
public static final int |
CONN_TERMINATE_PEER_USER |
19 |
public static final int |
CONN_TIMEOUT |
8 |
public static final int |
DEVICE_BOND_BONDED |
12 |
public static final int |
DEVICE_BOND_BONDING |
11 |
public static final int |
DEVICE_BOND_UNBONDED |
10 |
public static final int |
DEVICE_CONNECTED |
2 |
public static final int |
DEVICE_CONNECTING |
1 |
public static final int |
DEVICE_DISCONNECTED |
0 |
public static final int |
DEVICE_DISCONNECTING |
3 |
public static final int |
DEVICE_ERROR |
-2147483648 |
public static final int |
GATT_AUTH_FAIL |
137 |
public static final int |
GATT_BUSY |
132 |
public static final int |
GATT_CMD_STARTED |
134 |
public static final int |
GATT_CMD_WRITE |
82 |
public static final int |
GATT_DB_FULL |
131 |
public static final int |
GATT_ENCRYPED_MITM |
0 |
public static final int |
GATT_ENCRYPED_NO_MITM |
141 |
public static final int |
GATT_ERR_UNLIKELY |
14 |
public static final int |
GATT_ERROR |
133 |
public static final int |
GATT_HANDLE_VALUE_CONF |
30 |
public static final int |
GATT_HANDLE_VALUE_IND |
29 |
public static final int |
GATT_HANDLE_VALUE_NOTIF |
27 |
public static final int |
GATT_ILLEGAL_PARAMETER |
135 |
public static final int |
GATT_INSUF_AUTHENTICATION |
5 |
public static final int |
GATT_INSUF_AUTHORIZATION |
8 |
public static final int |
GATT_INSUF_ENCRYPTION |
15 |
public static final int |
GATT_INSUF_KEY_SIZE |
12 |
public static final int |
GATT_INSUF_RESOURCE |
17 |
public static final int |
GATT_INTERNAL_ERROR |
129 |
public static final int |
GATT_INVALID_ATTR_LEN |
13 |
public static final int |
GATT_INVALID_CFG |
139 |
public static final int |
GATT_INVALID_HANDLE |
1 |
public static final int |
GATT_INVALID_OFFSET |
7 |
public static final int |
GATT_INVALID_PDU |
4 |
public static final int |
GATT_MORE |
138 |
public static final int |
GATT_NO_RESOURCES |
128 |
public static final int |
GATT_NOT_ENCRYPTED |
142 |
public static final int |
GATT_NOT_FOUND |
10 |
public static final int |
GATT_NOT_LONG |
11 |
public static final int |
GATT_OP_CODE_MAX |
31 |
public static final int |
GATT_PENDING |
136 |
public static final int |
GATT_PREPARE_Q_FULL |
9 |
public static final int |
GATT_READ_NOT_PERMIT |
2 |
public static final int |
GATT_REQ_EXEC_WRITE |
24 |
public static final int |
GATT_REQ_FIND_INFO |
4 |
public static final int |
GATT_REQ_FIND_TYPE_VALUE |
6 |
public static final int |
GATT_REQ_MTU |
2 |
public static final int |
GATT_REQ_NOT_SUPPORTED |
6 |
public static final int |
GATT_REQ_PREPARE_WRITE |
22 |
public static final int |
GATT_REQ_READ |
10 |
public static final int |
GATT_REQ_READ_BLOB |
12 |
public static final int |
GATT_REQ_READ_BY_GRP_TYPE |
16 |
public static final int |
GATT_REQ_READ_BY_TYPE |
8 |
public static final int |
GATT_REQ_READ_MULTI |
14 |
public static final int |
GATT_REQ_WRITE |
18 |
public static final int |
GATT_RSP_ERROR |
1 |
public static final int |
GATT_RSP_EXEC_WRITE |
25 |
public static final int |
GATT_RSP_FIND_INFO |
5 |
public static final int |
GATT_RSP_FIND_TYPE_VALUE |
7 |
public static final int |
GATT_RSP_MTU |
3 |
public static final int |
GATT_RSP_PREPARE_WRITE |
23 |
public static final int |
GATT_RSP_READ |
11 |
public static final int |
GATT_RSP_READ_BLOB |
13 |
public static final int |
GATT_RSP_READ_BY_GRP_TYPE |
17 |
public static final int |
GATT_RSP_READ_BY_TYPE |
9 |
public static final int |
GATT_RSP_READ_MULTI |
15 |
public static final int |
GATT_RSP_WRITE |
19 |
public static final int |
GATT_SERVICE_STARTED |
140 |
public static final int |
GATT_SIGN_CMD_WRITE |
210 |
public static final int |
GATT_STATUS_NOT_APPLICABLE |
-1 |
public static final int |
GATT_SUCCESS |
0 |
public static final int |
GATT_UNSUPPORT_GRP_TYPE |
16 |
public static final int |
GATT_WRITE_NOT_PERMIT |
3 |
public static final int |
GATT_WRONG_STATE |
130 |
public static final int |
PROFILE_GATT |
7 |
public static final int |
SERVER_CONNECTED |
2 |
public static final int |
SERVER_CONNECTING |
1 |
public static final int |
SERVER_DISCONNECTED |
0 |
public static final int |
SERVER_DISCONNECTING |
3 |
public static final int |
STATE_BLE_ON |
15 |
public static final int |
STATE_BLE_TURNING_OFF |
16 |
public static final int |
STATE_BLE_TURNING_ON |
14 |
public static final int |
STATE_OFF |
10 |
public static final int |
STATE_ON |
12 |
public static final int |
STATE_TURNING_OFF |
13 |
public static final int |
STATE_TURNING_ON |
11 |
public static final int |
UNBOND_REASON_AUTH_CANCELED |
3 |
public static final int |
UNBOND_REASON_AUTH_FAILED |
1 |
public static final int |
UNBOND_REASON_AUTH_REJECTED |
2 |
public static final int |
UNBOND_REASON_AUTH_TIMEOUT |
6 |
public static final int |
UNBOND_REASON_DISCOVERY_IN_PROGRESS |
5 |
public static final int |
UNBOND_REASON_REMOTE_AUTH_CANCELED |
8 |
public static final int |
UNBOND_REASON_REMOTE_DEVICE_DOWN |
4 |
public static final int |
UNBOND_REASON_REMOVED |
9 |
public static final int |
UNBOND_REASON_REPEATED_ATTEMPTS |
7 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
NON_APPLICABLE_REQUEST_ID |
-1 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
LOAD_STATE__LOADED |
2 |
public static final int |
LOAD_STATE__LOADING |
1 |
public static final int |
LOAD_STATE__NOT_LOADED |
0 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
DEFAULT_CONNECTION_FAIL_RETRY_COUNT |
2 |
public static final int |
DEFAULT_FAIL_COUNT_BEFORE_USING_AUTOCONNECT |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
DEFAULT_CONNECTION_FAIL_RETRY_COUNT |
2 |
public static final int |
DEFAULT_FAIL_COUNT_BEFORE_USING_AUTOCONNECT |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final java.lang.String |
ACTION_DISCOVERY_FINISHED |
"android.bluetooth.adapter.action.DISCOVERY_FINISHED" |
public static final java.lang.String |
ACTION_DISCOVERY_STARTED |
"android.bluetooth.adapter.action.DISCOVERY_STARTED" |
public static final java.lang.String |
ACTION_STATE_CHANGED |
"android.bluetooth.adapter.action.STATE_CHANGED" |
public static final int |
ERROR |
-2147483648 |
public static final java.lang.String |
EXTRA_PREVIOUS_STATE |
"android.bluetooth.adapter.extra.PREVIOUS_STATE" |
public static final java.lang.String |
EXTRA_STATE |
"android.bluetooth.adapter.extra.STATE" |
public static final int |
STATE_OFF |
10 |
public static final int |
STATE_ON |
12 |
public static final int |
STATE_TURNING_OFF |
13 |
public static final int |
STATE_TURNING_ON |
11 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final java.lang.String |
ACTION_ACL_CONNECTED |
"android.bluetooth.device.action.ACL_CONNECTED" |
public static final java.lang.String |
ACTION_ACL_DISCONNECT_REQUESTED |
"android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED" |
public static final java.lang.String |
ACTION_ACL_DISCONNECTED |
"android.bluetooth.device.action.ACL_DISCONNECTED" |
public static final java.lang.String |
ACTION_BOND_STATE_CHANGED |
"android.bluetooth.device.action.BOND_STATE_CHANGED" |
public static final java.lang.String |
ACTION_DISAPPEARED |
"android.bluetooth.device.action.DISAPPEARED" |
public static final java.lang.String |
ACTION_FOUND |
"android.bluetooth.device.action.FOUND" |
public static final java.lang.String |
ACTION_PAIRING_REQUEST |
"android.bluetooth.device.action.PAIRING_REQUEST" |
public static final java.lang.String |
ACTION_UUID |
"android.bluetooth.device.action.UUID" |
public static final int |
BOND_BONDED |
12 |
public static final int |
BOND_BONDING |
11 |
public static final int |
BOND_NONE |
10 |
public static final int |
ERROR |
-2147483648 |
public static final java.lang.String |
EXTRA_BOND_STATE |
"android.bluetooth.device.extra.BOND_STATE" |
public static final java.lang.String |
EXTRA_DEVICE |
"android.bluetooth.device.extra.DEVICE" |
public static final java.lang.String |
EXTRA_PREVIOUS_BOND_STATE |
"android.bluetooth.device.extra.PREVIOUS_BOND_STATE" |
public static final java.lang.String |
EXTRA_REASON |
"android.bluetooth.device.extra.REASON" |
public static final java.lang.String |
EXTRA_RSSI |
"android.bluetooth.device.extra.RSSI" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
GATT_SERVER |
8 |
public static final int |
STATE_DISCONNECTED |
0 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
SCAN_CALLBACK_TYPE_POST_LOLLIPOP |
-2 |
public static final int |
SCAN_CALLBACK_TYPE_PRE_LOLLIPOP |
-1 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
STATE_CONNECTED |
2 |
public static final int |
STATE_CONNECTING |
1 |
public static final int |
STATE_DISCONNECTED |
0 |
public static final int |
STATE_DISCONNECTING |
3 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
DEFAULT_MAX_SIZE |
50 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final double |
FEET_PER_METER |
3.28084 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final java.lang.String |
NULL_MAC |
"DE:CA:FF:C0:FF:EE" |
public static final java.lang.String |
NULL_STRING |
"NULL" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final java.lang.String |
STANDARD_UUID_TEMPLATE |
"00000000-0000-1000-8000-00805f9b34fb" |