(Page 6 of 12 in this chapter)


TCAPInitGenCfg

Description

Initializes a TCAP general configuration buffer to default configuration values that can be subsequently passed to the TCAPGenCfg routine.

Prototype

S16 TCAPInitGenCfg (TcapGenCfg *cfg )

cfg A pointer to the TCAP general configuration structure to initialize

Return Values

Details

The application may change the default values within the specified range for any fields other than those denoted as internal or unused prior to calling TCAPGenCfg to send the configuration to the TCAP layer.

typedef struct Tcap_Gen_Cfg        
{
  S16   maxSaps;   /* Max Number of TCAP Saps             */
  S16   maxDlgs;   /* Max number of dialogs; system-wide  */
  S16   maxInvs;   /* Max number of invokes; system-wide  */
  S16   timeRes;   /* Timer Resolution - for internal use */
  PDesc smPst;     /* not used                            */
  U8    alarmLvl;  /* Alarm level                         */
  U8    minTidLen; /* Minimum transaction ID length
                    * (ITU only)                          */
  U8    spare1;    /* Not Used                            */
  U8    spare2;    /* Not Used                            */
} TcapGenCfg;

Default values for the TcapGenCfg structure which may be overridden by the calling application are listed in the following table.

Note: TcapGenCfg structure members not listed in the following table are either unused or for internal use only; these fields are set to correct values by the TCAPInitGenCfg primitive and must not be overridden by the application.

Name

Range

Default Value

Description

maxSaps

1..64

4

The maximum number of TCAP user SAPs (subsystem number/protocol variant) that may be defined (see Section 2.1).

maxDlgs

1..32767

256

The maximum number of TCAP transactions (outgoing and incoming) that may be pending at any one time.

maxInvs

1..32767

256

The maximum number of TCAP invoke operations (outgoing and incoming) that may be pending at any one time.

alarmLvl

TCAP_ALARMLVL_DIS,

TCAP_ALARMLVL_DFLT,

TCAP_ALARMLVL_DEBUG,

TCAP_ALARMLVL_DETAIL

TCAP_ALARMLVL_DFLT

Level of alarms to be generated by TCAP layer (see the TCAPAlarmControl primitive reference for definition of alarm levels).

minTidLen

1..4

1

Minimum transaction ID length (ITU only). If an out of range value is specified, the value is forced to 1 without any error being reported.



(Page 6 of 12 in this chapter)


tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.