|
|
|
|
- Parameter modification
- Limitation
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.
// 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. | | tapiConstructor | Name of device manufacturer. | tapiIMEI | Serial number of device (IMEI number). This number uniquely identifies the device. | tapiIMSI | Unique 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.
| tapiModel | Model of device. | tapiSilentMode | - True if the device is in silent mode
- False otherwise.
Remark: This constant is not supported by the CE 2002.
| tapiReceptionLevel | Level of signal reception (in percentage) | tapiOperatorName | Name of provider to which the device is connected. | tapiLineType | Type 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 The result returned by this function may differ according to the makes and the models. It may not operate on some types of devices.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|