组播信息时,目标地址的模式设置为AddrGroup,短地址为组号,端点号endpoint 应该设置成什么呢?
是不是加入一个组的端点号必须相同才行?这样才能进行组播。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
// Setup for the flash command's destination address - Group 1
SampleApp_Flash_DstAddr.addrMode = (afAddrMode_t)afAddrGroup;//组播
SampleApp_Flash_DstAddr.endPoint = SAMPLEAPP_ENDPOINT;
SampleApp_Flash_DstAddr.addr.shortAddr = SAMPLEAPP_FLASH_GROUP;
这个地址模式我知道,
SampleApp_Flash_DstAddr.endPoint = SAMPLEAPP_ENDPOINT;
SAMPLEAPP_ENDPOINT必须是这个一个号吗?
我不同的endPoint,比如:
endPoint =SAMPLEAPP_ENDPOINT加入SAMPLEAPP_FLASH_GROUP组,另一个端点
endPoint =SAMPLEAPP_ENDPOINT+1,也加入同一个组,
组播的时候,
SampleApp_Flash_DstAddr.endPoint = SAMPLEAPP_ENDPOINT,还是
SampleApp_Flash_DstAddr.endPoint = SAMPLEAPP_ENDPOINT+1呢?
还是等于其他什么数?