请问Zigbee协调器如何获知加入网络的device支持哪些profile?
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.
我理解应该是获得哪些Endpoint吧,一个设备可以支持多个endpoint.每个endpoint对应一个simpledescripter.
typedef struct
{
uint8 EndPoint;
uint16 AppProfId;
uint16 AppDeviceId;
uint8 AppDevVer:4;
uint8 Reserved:4; // AF_V1_SUPPORT uses for AppFlags:4.
uint8 AppNumInClusters;
cId_t *pAppInClusterList;
uint8 AppNumOutClusters;
cId_t *pAppOutClusterList;
} SimpleDescriptionFormat_t;
可以考虑使用ZDP_SimpleDescReq(),并注册处理函数
协调器主动向节点发起ZDP_SimpleDescReq么?之前还要发一条ZDP_ActiveEPReq确定节点的Endpoint吧?而且ZDP_SimpleDescReq要一个节点一个节点的查询?
使用Match_Desc_req,就是根据profileID查询Endpoint的方法吧?但是clusterID呢?至少要知道对方的clusterID才行啊?在match的时候,不知道对方支持的全部clusterID,只知道部分clusterID,可以match成功么?