public class SP2Device extends BLDevice
DEFAULT_BYTES_SIZE, DEFAULT_TIMEOUT, DESC_A1, DESC_FLOUREON, DESC_HYSEN, DESC_MP1, DESC_RM_2, DESC_RM_2_2HOME_PLUS_GDT, DESC_RM_2_HOME_PLUS, DESC_RM_2_PRO_PLUS, DESC_RM_2_PRO_PLUS_2, DESC_RM_2_PRO_PLUS_2_BL, DESC_RM_MINI, DESC_RM_MINI_SHATE, DESC_RM_PRO_PHICOMM, DESC_SP1, DESC_SP2, DESC_SP2_HONEYWELL_ALT1, DESC_SP2_HONEYWELL_ALT2, DESC_SP2_HONEYWELL_ALT3, DESC_SP2_HONEYWELL_ALT4, DESC_SP3, DESC_SPMINI, DESC_SPMINI_OEM_ALT1, DESC_SPMINI_OEM_ALT2, DESC_SPMINI_PLUS, DESC_SPMINI2, DESC_UNKNOWN, DEV_A1, DEV_FLOUREON, DEV_HYSEN, DEV_MP1, DEV_RM_2, DEV_RM_2_2HOME_PLUS_GDT, DEV_RM_2_HOME_PLUS, DEV_RM_2_PRO_PLUS, DEV_RM_2_PRO_PLUS_2, DEV_RM_2_PRO_PLUS_2_BL, DEV_RM_MINI, DEV_RM_MINI_SHATE, DEV_RM_PRO_PHICOMM, DEV_SP1, DEV_SP2, DEV_SP2_HONEYWELL_ALT1, DEV_SP2_HONEYWELL_ALT2, DEV_SP2_HONEYWELL_ALT3, DEV_SP2_HONEYWELL_ALT4, DEV_SP3, DEV_SPMINI, DEV_SPMINI_OEM_ALT1, DEV_SPMINI_OEM_ALT2, DEV_SPMINI_PLUS, DEV_SPMINI2, DISCOVERY_DEST_PORT, DISCOVERY_RECEIVE_BUFFER_SIZE, INITIAL_IV, INITIAL_KEY, log| Modifier | Constructor and Description |
|---|---|
protected |
SP2Device(short deviceType,
String deviceDesc,
String host,
Mac mac) |
|
SP2Device(String host,
Mac mac) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getState() |
void |
setState(boolean state) |
auth, auth, chgLen, close, createInstance, decryptFromDeviceMessage, discoverDevices, discoverDevices, discoverDevices, getAes, getDescOfType, getDeviceDescription, getDeviceType, getHost, getMac, getRawPayloadBytesPadded, removeNullsFromEnd, reverseBytes, sendCmdPkt, sendCmdPkt, sendCmdPkt, sendCmdPkt, sendPkt, sendPkt, subbytes, subbytesTillNullprotected SP2Device(short deviceType,
String deviceDesc,
String host,
Mac mac)
throws IOException
IOExceptionpublic SP2Device(String host, Mac mac) throws IOException
IOExceptionCopyright © 2018. All rights reserved.