-
public interface IThingBluetoothFlow
Tripartite agreement. Ability to open to the outside world. 注意!!! 这个类为对外的代理,不能随便修改,需要考虑向下兼容
-
-
Method Summary
Modifier and Type Method Description abstract void
deviceFirmwareUpgrade(String binPackagePath, String pid, int type, String version, OnBleUpgradeListener listener)
ota abstract void
unbindDevice(IResultCallback iResultCallback)
unbind device abstract void
resetFactory(IResultCallback iControlCallback)
reset device abstract void
sendDps(String devId, String dps, IResultCallback iControlCallback)
send dps abstract void
queryDps(List<String> dpIdList, IResultCallback callback)
query dps abstract void
disconnectDevice()
disconnect device abstract boolean
isConnectAndPaired()
abstract boolean
isInActivating()
abstract String
getDeviceId()
abstract String
getDeviceUuid()
abstract int
getDeviceType()
abstract int
requestRssi(BleRssiListener listener)
abstract void
setControllerBean(ThirdConnectInfoBean bean)
abstract void
registerBleActivatorListener(OnThirdConnectListener listener)
abstract void
connect()
abstract void
stopActivator()
abstract void
activator()
-
-
Method Detail
-
deviceFirmwareUpgrade
abstract void deviceFirmwareUpgrade(String binPackagePath, String pid, int type, String version, OnBleUpgradeListener listener)
ota
-
unbindDevice
abstract void unbindDevice(IResultCallback iResultCallback)
unbind device
-
resetFactory
abstract void resetFactory(IResultCallback iControlCallback)
reset device
-
sendDps
abstract void sendDps(String devId, String dps, IResultCallback iControlCallback)
send dps
-
queryDps
abstract void queryDps(List<String> dpIdList, IResultCallback callback)
query dps
-
disconnectDevice
abstract void disconnectDevice()
disconnect device
-
isConnectAndPaired
abstract boolean isConnectAndPaired()
-
isInActivating
abstract boolean isInActivating()
-
getDeviceId
abstract String getDeviceId()
-
getDeviceUuid
abstract String getDeviceUuid()
-
getDeviceType
abstract int getDeviceType()
-
requestRssi
abstract int requestRssi(BleRssiListener listener)
-
setControllerBean
abstract void setControllerBean(ThirdConnectInfoBean bean)
-
registerBleActivatorListener
abstract void registerBleActivatorListener(OnThirdConnectListener listener)
-
connect
abstract void connect()
-
stopActivator
abstract void stopActivator()
-
activator
abstract void activator()
-
-
-
-