Security motion detector

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Security motion detector

900 Views
rostislav
Contributor III

Hello,

I am developing a PIR based motion detector using Zigbee. In a project created with BeeKit I found  API set like

/*!

* @fn zbStatus_t ZCL_IASZoneClusterServer(zbApsdeDataIndication_t *pIndication, afDeviceDef_t *pDevice)

*

* @brief Processes the requests received on the IAS Zone Cluster Server.

*

*/

zbStatus_t ZCL_IASZoneClusterServer

(

    zbApsdeDataIndication_t *pIndication,

    afDeviceDef_t *pDev

)

I didn't find that this request handler is called anywhere in the created with BeeKit code. Do exist a document explaining usage of API like this or any example?

Thank you in advance.

0 Kudos
Reply
1 Reply

611 Views
rostislav
Contributor III

I found the answer: If application is set as IAS then created a structure afClusterDef_t const gaHaIASZoneClusterList[] that uses the API call as a method.

0 Kudos
Reply