WebSetModem Function

Action

Sets the simulation bandwidth.

Include file

ModemAPI.bdh

Syntax

WebSetModem( in nModem : number,
             in fComp  : float optional );

Return value

  • none

Parameter Description
nModem

Can be one of the following values:

  • MOD_WIRELESS_96

  • MOD_WIRELESS_144

  • MOD_GPRS_28

  • MOD_GPRS_56

  • MOD_GPRS_112

  • MOD_MODEM_96

  • MOD_MODEM_144

  • MOD_MODEM_288

  • MOD_MODEM_336

  • MOD_MODEM_56

  • MOD_ISDN_64

  • MOD_ISDN_128

  • MOD_T1_154

  • MOD_GLITE_15

  • MOD_ADSL_768

  • MOD_ADSL_15

  • MOD_ADSL_6

  • MOD_ADSL_8

  • MOD_ADSL_9

  • MOD_VDSL_13

  • MOD_VDSL_52

  • MOD_HDSL_1544

  • MOD_HDSL_2

  • MOD_SDSL_768

  • MOD_SDSL_1544

  • MOD_SDSL_2048

  • MOD_BLUETOOTH

fComp

For the modem types where the hardware compression rate can be set (see the profile settings), this is the hardware compression rate to use.

By default, the commpresion rate is set to 1.0.

Example

dcltrans
  transaction TWebInit
  begin
    WebSetModem(MOD_ISDN_128);
    WebDumpSettings();
  end TWebInit;