Retrieves and optionally resets the SCCP network service access point (NSAP) statistics for a specified network service access point of the SCCP task.
SCCP_STATUS SccpGetNSapStats ( U8 board, SccpNSapStats *pStats, U16 sapId, U8 bReset)
Argument |
Description |
board |
TX board number. |
pStats |
Pointer to the address of the caller's SCCP network service access point statistics buffer where statistics are returned: typedef struct Counts of type S32 are the number of event occurrences since the statistics were last cleared. |
sapId |
Network service access point ID. |
bReset |
If non-zero, statistics are reset to zero after retrieval. |
Return value |
Description |
SCCP_SUCCESS |
|
SCCP_BOARD |
board is out of range. |
SCCP_DRIVER |
Error occurred accessing the driver. |
SCCP_EXCEEDMAXCFG |
Network service access point ID is out of the configured range. |
SCCP_NOGENCFG |
SccpSetGenCfg has not been called. |
SCCP_NULLPTR |
Null pointer was specified for pStats. |
SCCP_RESOURCES |
TX board resource is exhausted. Check the txalarm log. |
SCCP_TIMEOUT |
Request timed out. |
SCCP_UNINIT |
Application failed to call SccpMgmtInit prior to this call. |