Retrieves the current configuration parameter values for an SCCP global title specified by the pGtIn parameter.
SCCP_STATUS SccpGetAddrCfg ( U8 board, SccpAddrMapCfg *pCfg, U8 *pGtIn, U8 nBytes)
Argument |
Description |
board |
TX board number. |
pCfg |
Pointer to the address of a global title translation parameters buffer. The format is specified in SccpInitAddrCfg. |
pGtIn |
Pointer to a buffer containing binary coded decimal digits that define the global title to be retrieved. |
nBytes |
Number of bytes in BCD encoded global title. |
Return value |
Description |
SCCP_SUCCESS |
|
SCCP_BOARD |
board is out of range. |
SCCP_BUFLEN |
nBytes is out of range. |
SCCP_DRIVER |
Error occurred accessing the driver. |
SCCP_NOGENCFG |
SccpSetGenCfg has not been called. |
SCCP_NOTFOUND |
Global title specified by pGtIn was not found. |
SCCP_NULLPTR |
Null pointer was specified for either pCfg or pGtIn. |
SCCP_TIMEOUT |
Request timed out. |
SCCP_UNINIT |
Application failed to call SccpMgmtInit prior to this call. |