APS_RegisterEndpointReq_t Struct

C

typedef struct
{
    /** \cond SERVICE_FIELDS **/
    struct
    {
        void *next;  /*!< Used for queue support. */
        bool noIndication; /*!< Disable indication to upper-layer. */
    } service;
    /** \endcond **/

    
    /** A pointer to a simple descriptor */
    SimpleDescriptor_t *simpleDescriptor;
    /** A pointer to an indication callback function, which is called when data is received addressed to
    * the endpoint; conforms to APSDE-DATA.indication handler defined in ZigBee spec r19, 2.2.4.1.3.1, page 30. */
    void (*APS_DataInd)(APS_DataInd_t *ind);
    /** The status of endpoint registration; is written by the stack to report the result of the operation */
    APS_Status_t status;
} APS_RegisterEndpointReq_t;

Description

struct APS_RegisterEndpointReq_t apsdeEndpoint.h "aps.h" Parameters of the APS_RegisterEndpointReq() function A pointer to an instance of this type shall be passed to APS_RegisterEndpointReq() function as an argument to register a new endpoint. The structure contains simple descriptor configuration, data indication callback pointer, and the status field.