ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Attention : This is version 26 of this documentation page. This feature may have been changed or removed in a higher version.
Help / WLanguage / WLanguage functions / Communication / Phone functions
  • Parameter modification
  • 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 control
ListAdd(COMBO_TAPI, sTAPIList)
...
// Selects the TAPI device chosen in the Combo Box control
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.
    Remark: 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

Parameter modification

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.
Component: wp260com.dll
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 09/17/2020

Send a report | Local help