-
- All Implemented Interfaces:
-
com.thingclips.smart.android.ble.IThingFittings,com.thingclips.smart.android.blemesh.IMeshCommonControl,com.thingclips.smart.android.blemesh.IMeshStateControl,com.thingclips.smart.android.blemesh.linkage.ILinkage
public interface ISigMeshControl implements IMeshCommonControl, ILinkage, IThingFittings<BeaconAuthBean>, IMeshStateControl
author : yuzhouxu date : 2021/4/9 16:40 description :Independent functions of blue mesh device
-
-
Method Summary
Modifier and Type Method Description abstract voidpublishCommands(String devId, Map<String, Object> commands, IResultCallback callback)Send mesh message by standard dpCode.Only for SIGMesh, ThingMesh doesn't support this method. abstract voidmulticastDps(String localId, String pcc, String dps, Map<String, SchemaBean> schemaMap, IResultCallback callback)Send mesh message to a group address, only for sensors and remote control devices. abstract voidstartSceneDataTransfer(DevSceneDataBean sceneData, IResultCallback callback)Send vendor message with scene data to device abstract voidstartBatchExecution(List<BatchExecutionDps> batchExecutionDpsList, int retryCount)Batch Control Execution abstract voidbatchQueryDps(List<BatchQuery> batchQueryList, boolean forceQuery)Batch Control Execution abstract SigMeshConfigurationgetSigMeshConfiguration()abstract voidqueryMeshDeviceOnlineStatusByLocal(int queryStrategy, IResultCallback callback)Query the online status of mesh sub-device -
Methods inherited from class com.thingclips.smart.android.blemesh.IMeshCommonControl
addGroup, clearDevice, connect, disConnectWireNodeId, disconnect, getMeshGroupLocalId, getStatus, isInConfig, isMeshLocalOnLine, multicastDps, onDestroy, publishDps, queryAllOnLineStatusByLocal, querySubDevStatusByLocal, registerMeshDevListener, removeMeshSubDev, removeMeshSubDevByLocal, unRegisterMeshDevListener -
Methods inherited from class com.thingclips.smart.android.blemesh.linkage.ILinkage
addLinkage, compareLinkageHash, deleteLinkage, operateLinkage, queryLinkageHash -
Methods inherited from class com.thingclips.smart.android.ble.IThingFittings
handleFittingsData, registerFittingsListener, sendFittingsData, unregisterFittingsListener -
Methods inherited from class com.thingclips.smart.android.blemesh.IMeshStateControl
switchProxyState, switchRelayState -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
publishCommands
abstract void publishCommands(String devId, Map<String, Object> commands, IResultCallback callback)
Send mesh message by standard dpCode.Only for SIGMesh, ThingMesh doesn't support this method.
-
multicastDps
abstract void multicastDps(String localId, String pcc, String dps, Map<String, SchemaBean> schemaMap, IResultCallback callback)
Send mesh message to a group address, only for sensors and remote control devices.
- Parameters:
localId- Mesh group addresspcc- Category of device getCategorydps- Thing dpsschemaMap- Thing schemaMap getSchemaMapcallback- Callback for send result IResultCallback
-
startSceneDataTransfer
abstract void startSceneDataTransfer(DevSceneDataBean sceneData, IResultCallback callback)
Send vendor message with scene data to device
- Parameters:
sceneData- device sceneDataDevSceneDataBeancallback- Callback for send result IResultCallback
-
startBatchExecution
abstract void startBatchExecution(List<BatchExecutionDps> batchExecutionDpsList, int retryCount)
Batch Control Execution
- Parameters:
batchExecutionDpsList- latest pending control queueretryCount- retry count
-
batchQueryDps
abstract void batchQueryDps(List<BatchQuery> batchQueryList, boolean forceQuery)
Batch Control Execution
- Parameters:
batchQueryList- latest pending query queueforceQuery- force query
-
getSigMeshConfiguration
abstract SigMeshConfiguration getSigMeshConfiguration()
-
queryMeshDeviceOnlineStatusByLocal
abstract void queryMeshDeviceOnlineStatusByLocal(int queryStrategy, IResultCallback callback)
Query the online status of mesh sub-device
- Parameters:
queryStrategy- query strategy0 : Query the online status of all devices1 : Query the online status of all offline devicescallback- Callback for send result IResultCallback
-
-
-
-