ZDO_SleepReq_t struct

C

typedef struct
{
#ifdef _ZAPPSI_
  /** \cond SERVICE_FIELDS **/
  struct
  {
    void  *next;
    /* to be compatible with MAC and SSP service. */
    uint8_t requestId;
    /* Sequence number to identify request-response pair. */
    uint8_t sequenceNumber;
    union
    {
      /* Callback wrapper routine pointer */
      void (*callback)(void*);
      /* Processing routine pointer to call after required memory will become free */
      void (*process)(void*);
    } zsi;
  } service; //!< Service field for internal use only, should not be touched by user
#endif /* _ZAPPSI_ */
  ZDO_SleepConf_t confirm; //!< Parameters of the confirm being returned in ZDO_SleepConf()
  void (*ZDO_SleepConf)(ZDO_SleepConf_t *conf); //!< The function called to confirm the request. Must not be set to NULL.
} ZDO_SleepReq_t;

Description

Describes the parameters of the ZDO_SleepReq() function