| [Previous] [Next] [Contents] | ![]() |
CHAPTER 6. PHONE INTERFACE
6.3 TAPI C. APIs The library, which is for the applications that want to communicate with phone, is called Telephony Application Interface (TAPI) and it can be divided into groups.
It is basic functions not to offer direct communication with phone, but to offer communication between phone server and application. Through this, abstract interface can be supplied to the applications that want to communicate with phone.
Description To communicate with phone server, application has to be assigned special data
structure called handle. Parameter LXT_ID_CLIENT clientclass: ID of selected application Return LXT_HANDLE: Handle of phone server
Description If application gets handle, socket descriptor is created internally to communicate
with phone server. The function is to get the descriptor. Parameter LXT_HANDLE* handle: TAPI handle that is taken through handle initialization Return Socket descriptor
Description When application quitted, it has to return its handle. Through the returned handle, phone server removes ID of the registered application. Parameter LXT_HANDLE* handle: TAPI handle Return Success or failure of the function
Description Phone server transits its status according to specified events, and this status
transition can be used usefully by application. Parameter LXT_HANDLE* handle: TAPI handle Return Success or failure of the function
Description After phone booting, phone server internally saves the phone numbers that are registered in R-UIM card. The function can query the number. Parameter LXT_HANDLE* handle: TAPI handle Return Success or failure of the function
Description Application requests to phone server and takes the response relevant to the
request through TAPI. Parameter LXT_HANDLE* handle: TAPI handle Return Success or failure of the function It is the collection of interfaces related to phone power. Through this, the scenario of turning phone on and checking battery can be operated.
Description When product is in factory line, basic test is automatically progressed to
phone and PDA. At this time, special cable is used for it. Parameter LXT_HANDLE* handle: TAPI handle Return Success or failure of the function
Description It turns phone on. Parameter LXT_HANDLE* handle: TAPI handle Return Success or failure of the function
Description It turns phone off. Parameter LXT_HANDLE* handle: TAPI handle Return Success or failure of the function
Description It restarts phone. Parameter LXT_HANDLE* handle: TAPI handle Return Success or failure of the function Even though PDA is in sleep mode, phone always lays awake and progresses communication
with base station.
Description Whenever you have changed ringer type in phone client, indicator has to display
the icon relevant to the ringer. Parameter LXT_RING_TYPE_ICON ringTypeIcon: Ringer type
Return
Description If you receive call in PDA mode-the mode that phone client isn’t on the
front-, only the popup window appears. Parameter LXT_MISSED_ICON type: Existence and non-existence of missed icon
Return
Description It is used to update current strength of electric field, battery level, service possibility, etc. It queries the data to phone. Parameter
Return It supplies the interface that is for occurring DTMF tone during call or for changing sound path of phone
Description It is used to use DTMF tone that is embedded in phone. Parameter LXT_TONE_LENGTH tone_type: The length of tone (Long, Short) Return
Description It stops Key tone that is now occurring. Parameter
Return
Description It switches to speakerphone mode. Parameter LXT_SOUND_SPEAKER_PHONE_MODE mode: Mode types of speakerphone
Return
Description It changes Audio path. Parameter LXT_SOUND_AUDIO_PATH path: Audio paths
Return It is composed of the interfaces that handle R-UIM card inserted to phone. It supplies the functions of initialization of R-UIM card-Phone book initialization, SMS initialization, and inserting/removing/altering the data-.
Description It requests the status of R-UIM card. As the status of R-UIM card, there are whether the card is physically inserted, whether PIN code is set or not, whether the card is blocked or not, whether the card is locked or not, etc. The status is used to status transmission in phone server and according to the status, whether R-UIM card is initialized or not is decided. Parameter
Return
Description The function is used when phone server queries whether PIN code of R-UIM card is set. According to this, the status transmission of phone server is decided. Parameter
Return
Description The function is used to enable or disable PIN code of R-UIM card. (Phone client) Parameter LXT_UIM_PIN_CODE_STATUS pinCodeStatus: Status of PIN code
int pinCodeLength: Length of PIN code Return
Description If PIN code is set in R-UIM card, phone server stops status transmission and
waits user authentication. Parameter int codeLength: Length of PIN code ID Return
Description The function is used to change ID that is set in R-UIM card. (Phone client) Parameter int currentcodeLength: Length of ID that is set now Return
Description R-UIM card has own serial number and the function is used to query the number.
Parameter
Return
Description If you enter wrong ID for three times at the state that PIN code of R-UIM card is enable, the card falls into block state. The function is used to recover the state. Parameter int chvUnblockCodeLength : Length of block code that is set now Return
Description Phone lock is set to protect your phone from others’ R-UIM card. The function is used to query whether phone lock is set or not. (Phone client) Parameter
Return
Description Phone lock is set to protect your phone from others’ R-UIM card. The function is used to decide whether phone lock is set or not. (Phone client) Parameter LXT_UIM_LOCK_STATUS status: The status of phone lock
Return
Description The function is used to query whether PIN code of R-UIM card is set or not to phone server. Parameter LXT_UIM_LOCK_VERIFY status: Verification status of R-UIM lock
Return
Description After ending initialization of R-UIM card, phone server gets to enter R-UIM
card mirroring process according to the request of Indicator. Parameter
Return
Description The function is used only when phone server does R-UIM card SMS mirroring and it reads SMS that are saved physically in R-UIM card. Parameter int address: Physical address of R-UIM card Return
Description The function is used to save SMS physically to R-UIM card. (Message box) Parameter int address: Physical address of R-UIM card
char* parm_mask : In case of MT, SMS is received in SMSI form
from network and there is mask value that decides what value to receive among
those.
int messagesize : The length of User data Return
Description The function is used to delete SMS that are physically stored in R-UIM card. (Message box) Parameter int address: Address Return
Description The function is used to query to phone server to receive all SMS mirroring data of R-UIM card. Parameter
Return
Description After phone initialization, R-UIM card mirroring is started by Indicator request. At this time, the function is used to start SMS mirroring. (Indicator) Parameter
Return
Description The function is used to change TAG value of SMS that are stored in R-UIM card. (Message box) Parameter int address: Address that is stored in R-UIM card Return
Description The function is used to get basic information for starting Phone book mirroring
while R-UIM card mirroring process of phone server. Parameter
Return
Description The function is used to phone book mirroring process of phone server. It reads phone book data through physical address. Parameter int startAddress: Start address Return
Description The function is used to write data physically to phone book of R-UIM card. (Address book) Parameter int address : Phone book address that is in R-UIM card Return
Description The function is used to delete one record of phone book that is in R-UIM card. Parameter int address: Phone book address that is in R-UIM card Return
Description The function is used to delete all records of phone book that is in R-UIM card. (Phone setup, address book) Parameter
Return
Description The function is used to delete all SMS that is in R-UIM card. (Phone setup, message box) Parameter
Return
Description The function is used to query all contents of phone book to phone server. (Indicator, Address book) Parameter
Return
Description The function is used to make phone server start phone book mirroring through indicator. Parameter
Return
Description The function is used to read the MIN value that is in R-UIM card. There are
MDN and MIN as phone number. Parameter
Return
Description The function is used to save MIN value that is in R-UIM card. Parameter int length: Length of MDN Return
Description When factory line starts to produce, it progresses without R-UIM card. Parameter
Return
Description The function is used to set authentication code of R-UIM card lock. Parameter int length : The length of authentication code Return
It is composed of the interfaces that are to change set values set in phone. It is used to set the environment of phone.
Description After booted and completing the communication with base station, phone starts
service. Parameter
Return
Description The function is used to get own phone number that is stored in R-UIM card. Parameter
Return
Description The function is used to get the version of phone firmware. Parameter
Return
Description The function is used to query whether phone lock is set or not. Parameter
Return
Description The function is used to set phone lock. Parameter LXT_CONFIGURATION_PHONE_LOCK lock: Whether phone lock is set or not
Return
Description The function is used to query value of RF mode currently set. Parameter
Return
Description The function is used to change value of RF mode currently set. Parameter LXT_CONFIGURATION_RADIO_MODE mode: RF Mode
Return
Description The function is used to query preference currently set in phone. Parameter
Return
Description The function is used to change preference currently set in phone. Parameter LXT_CONFIGURATION_PREF_MODE mode: preference mode
Return
Description The function is used to inquire system parameter currently set in phone. Parameter
Return
Description The function is used to change system parameter currently set in phone. Parameter LXT_CONFIGURATION_PARA_MODE mode: System parameter mode
Return
Description The function is used to inquire NAM mode that is set at phone. Parameter
Return
Description The function is used to inquire the information such as NAM, MIN, etc that are set in phone. Parameter int index: The index of NAM Return
Description The function is used to inquire current phone state.
Parameter
Return
Description The function is used to change current phone state.
Parameter LXT_CONFIGURATION_PHONE_STATE state: Phone state
Return
Description The function is used to send battery state to phone. Battery type is divided
into standard and extended, and the type can be recognized in PDA.
Parameter int value: Battery type
Return
Description The function is used to inquire battery type to phone server.
Parameter
Return
It supplies basic interface for voice call. There are the functions of receiving call, sending call, disconnecting call, etc.
Description The function is used to send call.
Parameter char* callnumber : Phone number
Return
Description The function is used to send call according to service option.
Parameter LXT_CALL_IPC_SO so: Service option
char* callnumber: Phone number
Return
Description The function is used to quit call during the call.
Parameter
Return
Description The function is used to take received call.
Parameter
Return
Description The function is used to send DTMF tone.
Parameter LXT_TONE_LENGTH toneLength: Tone length of DTMF tone
int digitNum : Length of number Return
Description The function occurs DTMF tone.
Parameter char digit: Number
Return
Description The function suspends DTMF tone.
Parameter char digit: Number
Return
Description The function is used to inquiry call time to phone.
Parameter
Return
Description The function is used to register emergency call.
Parameter int index: Index relevant to emergency call Return
Description The function is used to transfer call during call.
Parameter char* callnumber: Phone number for transfer Return
Description The function sets retry mode when phone tries call connection.
Parameter LXT_CALL_RETRY mode: retry mode
Return
It supplies the interfaces that are for handling SMS (Simple Message Service).
Description The function is used to send SMS (Simple Message Service).
Parameter char* destination : Phone number of destination or receiver
int memoryIndex: Address of R-UIM card. In case of 0, the function doesn’t
save to R-UIM card. When it is bigger than 0, the function saves to the relevant
address.
char priority: The value of priority of SMS. Priority is divided into Normal,
Interactive, Urgent, and Emergency. Return
Description The function is used to inform phone server of the number of SMS that are currently stored in PDA. (Indicator)
Parameter unsigned char total : Total message number that are stored
in PDA Return
Description The function is used to inform phone server of the maximum number of message
that PDA can store.
Parameter unsigned char size: Maximum message number Return
Description The function is used to query the maximum number of message that PDA can store to phone server.
Parameter
Return
It supplies the interfaces that are for controlling PIN to use data service.
Description To use data communication, RS232 PIN of modem has to be controlled. The function is used to control the PIN.
Parameter LXT_RS232_SIGNAL_TYPE signal: RS232 PIN number
LXT_RS232_SIGNAL_STATUS status: RS232 PIN status
Return
|
| [Previous] [Next] [Contents] | MIZI Prizm 2.0.0 |