-
- All Implemented Interfaces:
-
com.thingclips.smart.android.blemesh.IMeshCommonControl
public interface IThingMeshControl implements IMeshCommonControl
author : yuzhouxu date : 2021/4/9 16:40 description :Independent functions of blue mesh device
-
-
Method Summary
Modifier and Type Method Description abstract void
broadcastDps(String pcc, String dps, IResultCallback callback)
Only for ThingMesh, send message by cloud. abstract void
publishRawData(Array<byte> data, IResultCallback callback)
Only for ThingMesh, send parameters of byte array type。 abstract void
getDataByDpIds(String nodeId, List<Integer> dpIds, IResultCallback callback)
Get dp value by dp id by local, only for ThingMesh. abstract void
publishDps(String vendorId, String nodeId, DpsParseBean dpsParseBean, IResultCallback callback)
Send mesh message by dpId. abstract void
queryAllStatusByLocal(IResultCallback callback)
Query status of the dps' values of all sub-devices.Only for ThingMesh, SIGMesh doesn't support this method. -
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
broadcastDps
abstract void broadcastDps(String pcc, String dps, IResultCallback callback)
Only for ThingMesh, send message by cloud.
- Parameters:
pcc
- Category of device getCategorydps
- Thing dpscallback
- Callback for send result IResultCallback
-
publishRawData
abstract void publishRawData(Array<byte> data, IResultCallback callback)
Only for ThingMesh, send parameters of byte array type。
- Parameters:
data
- Parameter for sendcallback
- Callback for send result IResultCallback
-
getDataByDpIds
abstract void getDataByDpIds(String nodeId, List<Integer> dpIds, IResultCallback callback)
Get dp value by dp id by local, only for ThingMesh.
- Parameters:
nodeId
- getNodeIddpIds
- Dp idscallback
- Callback for send result IResultCallback
-
publishDps
abstract void publishDps(String vendorId, String nodeId, DpsParseBean dpsParseBean, IResultCallback callback)
Send mesh message by dpId. Only for ThingMesh, SIGMesh doesn't support this method.
- Parameters:
vendorId
- Thing category com.thingclips.smart.sdk.bean.DeviceBeannodeId
- Thing nodeId com.thingclips.smart.sdk.bean.DeviceBeandpsParseBean
- Contains opCode and parameters DpsParseBeancallback
- Callback for send result IResultCallback
-
queryAllStatusByLocal
abstract void queryAllStatusByLocal(IResultCallback callback)
Query status of the dps' values of all sub-devices.Only for ThingMesh, SIGMesh doesn't support this method.
- Parameters:
callback
- Callback for send result IResultCallback
-
-
-
-