Dependent functions: M3uaGetNSapCfg, M3uaInitNSapCfg, M3uaSetNSapCfg
The following M3UANSapCfg structure contains M3UA NSAP configuration parameters. Bold text indicates fields you can set. Unbolded fields are either unused or for internal use only. They are set to correct values by M3uaInitNSapCfg and must not be overridden.
typedef struct _M3UANSapCfg /* M3UA Network SAP configuration */
{
S16 sapId; /* NSAP id */
U8 nwkId; /* logical network ID */
U8 suType; /* service user protocol type */
MemoryId mem; /* memory region and pool id */
U8 selector; /* upper layer selector */
U8 prior; /* priority */
U8 route; /* route */
U8 spare1; /* alignment */
} M3UANSapCfg;
The following table describes the fields in the M3UANsapCfg structure that you can set. These fields are not re-configurable.
Field |
Type |
Default |
Description |
sapId |
S16 |
0 |
Identifier for this NSAP. Valid values range from 0 to the result of (genCfg.maxNmbNSap - 1). |
nwkId |
U8 |
1 |
Logical network identifier for this NSAP. |
suType |
U8 |
M3UA_SU_ISUP |
Type of NSAP service user. Valid values are: M3UA_SU_AAL2 = AAL2 user M3UA_SU_B_ISUP = B-ISUP user M3UA_SU_DUP = DUP user M3UA_SU_DUPF = DUPF user M3UA_SU_ISUP = ISUP user M3UA_SU_MGCP = MGCP user M3UA_SP_MTP3 = MTP3 user M3UA_SU_MTUP = MTUP user M3UA_SU_S_ISUP = S-ISUP user M3UA_SU_SCCP = SCCP user M3UA_SU_TUP = TUP user |