Hi Andy,
In Z-Stack 2.5.1a, it does support active endpoint request/response, simple descriptor request/response and end device bind request/response.
- If you want to send these request to other nodes, you can directly call the APIs defined in ZDProfiles.h (ZDP_ActiveEPReq()/ZDP_SimpleDescReq()/ZDP_EndDeviceBindReq()).
- If you also want to handle the response of these requests, you can register them first in your init function. ZDO_RegisterForZDOMsg( zclSampleSw_TaskID, Active_EP_rsp ); And then add hanler funcion in zclXXX_ProcessZDOMsgs(zdoIncomingMsg_t *inMsg). I think the sample project: light/switch in Home Automation is a good example. The path is: ZStack-CC2530-2.5.1a\Projects\zstack\HomeAutomation
- If these requests are sent to TI nodes, Z-Stack will auto reply response for you. If you want to handle these request in application layer, please also register it first ZDO_RegisterForZDOMsg( zclSampleSw_TaskID, Active_EP_req ); and then handle it according to point 2 described.
So in your project, please make sure who send the request. If ZC send the active end point request/simple descriptor request to ZED, the response will directly send back. If any further operation you need to do with these request in ZED, register first and then handle.
Attached is the example of sniffer log: