5.2.8.12 ZCL_Request_t Structure

Syntax
typedef struct
{
 // Service structure - for internal use
 ZCL_Service_t service;
 ZCL_Notify_t notify; //!< Response structure
 Notify ZCL_Notify; //!< Callback function for response. Can be set to NULL.
 ZCL_Addressing_t dstAddressing; //!< Addressing info on a destination node
 Endpoint_t endpointId; //!< Endpoint ID of the request's originator
 uint8_t id; //!< Command ID
 uint8_t requestLength; //!< Request's payload length
 uint8_t defaultResponse; //!< Default response bit state
 uint8_t *requestPayload; //!< Request payload. Can be filled by the ZCL_PutNextElement() function.
 uint32_t responseWaitTimeout; //!< response waiting timeout
} ZCL_Request_t;

Description

Use the ZCL_Request_t structure to input parameters when making a request to the ZCL component.