PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Modifying the parameters
  • Limitation
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
tapiDeviceParameter (Function)
In French: telParamètrePériphérique
Reads the value of a parameter for a telephony device. The device onto which tapiDeviceParameter is applied must have been selected by tapiDevice.
Example
// Retrieves the list of TAPI devices
sTAPIList is string = tapiDeviceList()
// Displays the list in a combo box
ListAdd(COMBO_TAPI, sTAPIList)
...
// Selects the TAPI device chosen in the combo box
tapiDevice(COMBO_TAPI[COMBO_TAPI])

// Switches to Plane mode if necessary
IF tapiDeviceParameter(tapiPlaneMode) = False THEN
tapiChangeDeviceParameter(tapiPlaneMode, True)
END
Syntax
<Result> = tapiDeviceParameter(<Sought Information>)
<Result>: Character string
  • Value of sought parameter,
  • Empty string ("") if an error occurred.
<Sought Information>: Integer constant
Name of parameter to read.
tapiConstructorName of device manufacturer.
tapiIMEISerial number of device (IMEI number). This number uniquely identifies the device.
tapiIMSIUnique number of user (IMSI number). This number uniquely identifies the SIM card.
tapiAnonymousMode
  • True if the device is in anonymous mode,
  • False otherwise.
tapiPlaneMode
  • True if the device is in "Plane" mode,
  • False otherwise.
tapiModelModel of device.
tapiSilentMode
  • True if the device is in silent mode
  • False otherwise.
    Note: This constant is not supported by the CE 2002.
tapiReceptionLevelLevel of signal reception (in percentage)
tapiOperatorNameName of provider to which the device is connected.
tapiLineTypeType of line. The following types of lines are available:
  • tapiLine_CDMA_1XRTTPACKET: Transmission technology that is using the CDMA protocol.
  • tapiLine_CDMA_IS95A: IS95A line that is using the CDMA protocol.
  • tapiLine_CDMA_IS95B: IS95B line that is using the CDMA protocol.
  • tapiLine_GSM_GPRS: GPRS line that is using the GSM protocol.
  • tapiLine_GSM_GSM: GSM line that is using the GSM protocol.
Remarks

Modifying the parameters

The value of some parameters can be modified by tapiChangeDeviceParameter.

Limitation

The result returned by this function may differ according to the makes and the models. It may not operate on some types of devices.
Components
Windows Mobile wp230com.dll
Minimum required version
  • Version 14
Comments
Click [Add] to post a comment