- If a message is received, it copies the message to the caller's message buffer, performing any necessary byte order translation to convert to the host's native byte ordering. Information relative to the received message is returned to the caller in the infoBlk parameter.
- The user application must periodically call this routine to receive messages from the SCCP layer.The event structure associated with a received message and the information returned in the receive information block depend on the type of message received from the SCCP layer (as determined by the value of the infoBlk.indType field). The valid data returned for each possible received message is as follows:
SCCP_NTBADADDR 0x00 /* No translation, address of such
* nature */
SCCP_NTSPECADDR 0x01 /* No translation, specific address */
SCCP_SSCONG 0x02 /* subsystem congestion */
SCCP_SSFAIL 0x03 /* subsystem failure */
SCCP_UNEQUIP 0x04 /* Unequipped User */
SCCP_NETFAIL 0x05 /* Network Failure */
SCCP_NETCONG 0x06 /* Network Congestion */
SCCP_UNQUAL 0x07 /* Unqualified */
SCCP_HOPVIOLATE 0x08 /* Hop count violation (ANSI) */
SCCP_ERRMSGTPRT 0x08 /* Error in message transport
* (CCITT92) */
SCCP_ERRLCLPROC 0x09 /* Error in local processing
* (CCITT92) */
SCCP_NOREASSEMB 0x0a /* Destination cannot perform
* reassembly (CCITT92) */
SCCP_FAIL 0x0b /* SCCP failure */
SS_OOS 0x03 Subsystem now out of service
SS_IS 0x04 Subsystem now in service
- Point Code State Indicaton
- infoBlk.indType
- SCCPPCSTIND
- infoBlk.board
- Indicates the board from which this message was originated.
- infoBlk.evntType
- Not Used
- infoBlk.suId
- Application's SuId (from the SCCPBindReq) for the associated SCCP SAP.
- infoBlk.connId
- Not Used
- infoBlk.opc
- Affected point code.
- SccpAllMsgs member:
- SCCPCoordRqst
- coordRqst.aSsn
- Not Used
- coordRqst.smi
- Not Used
- coordRqst.status
- Affected point code status, coded to one of:
SP_ACC 0x00 Signaling point now accessible
SP_INACC 0x01 Signaling point inaccessible
SP_INACC_NODROP 0x06 Signaling point now
inaccessible,connections NOT
dropped.