TUPInitUSapCfg

Builds a basic configuration buffer that can be passed to TUPSetUSapCfg.

Prototype

void TUPInitUSapCfg ( TUPUSapCfg *cfg)

Argument

Description

cfg

Pointer to the configuration structure to fill:

typedef struct _TUPUSapCfg
{
  S16 switchType   TUP_SW_ITU /* TUP_SW_ITU or TUP_SW_CHN        */
  S16 QCongOnsetLvl1 32       /* cfg onset value for level 0     */
  S16 QCongAbateLvl1 16       /* cfg abatement value for level 1 */
  S16 QCongOnsetLvl2 64       /* cfg onset value for level 1     */
  S16 QCongAbateLvl2 48       /* cfg abatement value for level 2 */
  S16 QCongOnsetLvl3 96       /* cfg onset value for level 2     */
  S16 QCongAbateLvl3 80       /* cfg abatement value for level 3 */
} TUPUSapCfg;


Return values

None.

Details

All unlisted elements in the structure are set for the proper operation of the TUP stack and must not be changed.

Refer to USAP and NSAP configuration for more information.