- This routine must be called periodically to process incoming messages. This can be done using a polling process to retrieve a message only when notification has indicated that one is available.
Note: The size of the buffer identified in the pMsgInd field must be large enough to contain a data indication.
- Data Indication
- This structure will be received by an application, via the MTP3RetrieveMessage function, when data matching the application's service information octet is received from a remote signaling point.
typedef struct data_ind_s
U8 code; /* MTP3_DATA_IND (0x1A) */
U8 spare1; /* Alignment */
U16 sapId; /* Service user Id from Open Services*/
U32 opc; /* Originating Point Code */
U32 dpc; /* Destination Point Code */
U8 srvInfo; /* Service information octet */
U8 lnkSel; /* Link selector field */
U16 spare2; /* Alignment */
U8 data[MAXDATA] /* Received data packet */
DATA_IND;
- Status Indication
- This structure will be received by an application, with MTP3RetrieveMessage, when an important status change occurs on a circuit matching the application's service information octet. These are generated by the local MTP 3 layer. Refer to Section 2.11, Status Indications, for detailed information about each possible status indication.
typedef struct stat_ind_s {
U8 code; /* MTP3_STAT_IND (0x7A) */
U8 spare1; /* Alignment */
U16 sapId; /* Service user Id from Open Services */
U32 pc; /* Point Code related to the status ind */
S16 status; /* Status indicator. See defines above */
U8 priority; /* Priority of this status indication */
U16 spare2; /* Alignment */
} STAT_IND;
- Extended Status Indication
- If the application has registered to receive extended status indications, the following structure is received by an application through MTP3RetrieveMessage
when an important status change occurs on a link. These indications are generated by the local MTP 3 layer. Refer to Section 2.12, Extended Status Indications, for detailed information concerning each possible extended status indication.
type def struct xstat_ind_s {
U8 code; /* MTP3_XSTAT_IND (0x3A) */
U8 spare1; /* Alignment */
U16 sapId; /* Service user Id from Open Services */
U16 status; /* Extended Status Type */
U16 link; /* Affected MTP3 link */
U16 spare2; /* Reserved for future use */
U16 spare3; /* Reserved for future use */
} XSTAT_IND;