Dependent functions: M3uaGetNwkCfg, M3UAInitNwkCfg, M3uaSetNwkCfg
The following M3UANwkCfg structure contains M3UA network configuration parameters:
typedef struct _M3UANwkCfg /* M3UA network configuration */
{
U8 nwkId; /* network ID */
U8 ssf; /* sub service field */
U8 dpcLen; /* dpc or opc length */
U8 slsLen; /* sls length */
S16 suSwtch; /* protocol variant of service user */
S16 su2Swtch; /* protocol variant of user of service user */
U32 nwkApp[M3UA_MAX_PSP]; /* network appearance code */
}M3UANwkCfg;
The following table describes the fields in the M3UANwkCfg structure. These fields are not re-configurable.
Field |
Type |
Default |
Description |
nwkId |
U8 |
1 |
Network identifier. Valid range is 1 - 255. |
ssf |
U8 |
M3UA_SSF_NAT |
Subservice field. Valid values are: M3UA_SSF_INTL = International M3UA_SSF_NAT = National M3UA_SSF_SPARE = Spare M3UA_SSF_RES = Reserved |
dpcLen |
U8 |
DPC24 |
DPC or OPC length. Valid values are: DPC14 = Length for ITU networks. DPC16 = Length for Japanese networks. DPC24 = Length for ANSI networks and other national variants. |
slsLen |
U8 |
M3UA_SLS5 |
SLS length, in bits. Valid values are: M3UA_SLS4 = 4 bits M3UA_SLS5 = 5 bits M3UA_SLS8 = 8 bits |
suSwtch |
S16 |
M3UA_SW_ANS |
Protocol variant of the M3UA service user, such as ISUP, SCCP, and TUP. Valid values are: M3UA_SW_ANS = ANSI variant M3UA_SW_BICI = BICI variant M3UA_SW_ANS96 = ANSI 96 variant M3UA_SW_ITU = CCITT variant M3UA_SW_CHINA = CHINA variant M3UA_SW_NTT = NTT variant M3UA_SW_TTC = TTC variant |
su2Swtch |
S16 |
M3UA_SW2_ANS |
Protocol variant for user of the M3UA service user, such as TCAP, which uses SCCP. Valid values are: M3UA_SW2_ANS = TCAP type ANSI M3UA_NWK_ANSI = ANSI network M3UA_SW2_ETS = TCAP type ETSI M3UA_SW2_ITU = TCAP type ITU M3UA_NWK_ITU = ITU network 3UA_NWK_NSS = NSS network M3UA_SW2_TTC = TCAP type TTC M3UA_SW2_UNUSED = su2Swtch is unused |
nwkApp[M3UA_MAX_PSP] |
32 |
0 |
Network appearance code, where M3UA_MAX_PSP is an array of network appearance codes. Network appearance values are determined and configured by network operators on each side of an association. |