Hi Community,
I am trying to get the size of queue of pending messages in a sensor node. I found the following function:
/************************************************************************************************** * @fn MAC_CbackCheckPending * * @brief This callback function returns the number of pending indirect messages queued in * the application. Most applications do not queue indirect data and can simply * always return zero. The number of pending indirect messages only needs to be * returned if macCfg.appPendingQueue to TRUE. * * input parameters * * None. * * output parameters * * None. * * @return The number of indirect messages queued in the application or zero. ************************************************************************************************** */ extern uint8 MAC_CbackCheckPending(void);
Is this the right function to call?
Thanks in advance.