调用情景函数zclGeneral_SendSceneRecall不能用组播方式发送!
如题,用组播方式执行zclGeneral_SendSceneRecall函数无效,代码如下
zclSampleSw_DstAddress.addrMode = (afAddrMode_t)AddrGroup;
zclSampleSw_DstAddress.endPoint = SAMPLESW_ENDPOINT;
zclSampleSw_DstAddress.addr.shortAddr = groupId;
zclGeneral_SendSceneRecall(SAMPLESW_ENDPOINT,&zclSampleSw_DstAddress,groupId,sceneId,0,seqNum);
用广播和单播方式执行是ok的,代码如下:
zclSampleSw_DstAddress.addrMode = (afAddrMode_t)AddrBroadcast;
zclSampleSw_DstAddress.endPoint = SAMPLESW_ENDPOINT;
zclSampleSw_DstAddress.addr.shortAddr = 0xffff;
zclGeneral_SendSceneRecall(SAMPLESW_ENDPOINT,&zclSampleSw_DstAddress,groupId,sceneId,0,seqNum);
请问TI大牛,为什么不能用组播的方式发送这个命令?
可以使用组播的方式,组播发送调用情景,表示调用这个组的所有情景;单播表示调用对应情景号;广播?这个没试过,有这么用的么?
zclSampleSw_DstAddress.addrMode = (afAddrMode_t)AddrGroup;
zclSampleSw_DstAddress.endPoint = SAMPLESW_ENDPOINT;
zclSampleSw_DstAddress.addr.shortAddr = groupId;
zclGeneral_SendSceneRecall(SAMPLESW_ENDPOINT,&zclSampleSw_DstAddress,groupId,sceneId,0,seqNum);
组播这样操作你试过吗?我这边不行
发送方要先加入这个组才行