Connection Service
[Telephony Mgr]


Detailed Description

This service groups the Telephony connection functions.


Defines

#define ALP_TEL_CNC_CLOSE_MESSAGE   ((ALP_TEL_CNC_SERVICE_ID << 8) | 0x0001)
#define ALP_TEL_CNC_GET_STATUS_MESSAGE   ((ALP_TEL_CNC_SERVICE_ID << 8) | 0x0002)
#define ALP_TEL_CNC_MESSAGES_COUNT   ((ALP_TEL_CNC_GET_STATUS_MESSAGE & ALP_TEL_MESSAGE_MASK) + 1)
 Total count of connection service messages.
#define ALP_TEL_CNC_OPEN_MESSAGE   ((ALP_TEL_CNC_SERVICE_ID << 8) | 0x0000)

Functions

alp_status_t alp_tel_cnc_close (AlpTelApplicationId iAppId, AlpTelTransId *ioTransIdP)
alp_status_t alp_tel_cnc_get_status (AlpTelApplicationId iAppId, uint8_t *oStatusP)
alp_status_t alp_tel_cnc_open (AlpTelApplicationId iAppId, AlpTelTransId *ioTransIdP)


Define Documentation

#define ALP_TEL_CNC_CLOSE_MESSAGE   ((ALP_TEL_CNC_SERVICE_ID << 8) | 0x0001)
 

#define ALP_TEL_CNC_GET_STATUS_MESSAGE   ((ALP_TEL_CNC_SERVICE_ID << 8) | 0x0002)
 

#define ALP_TEL_CNC_MESSAGES_COUNT   ((ALP_TEL_CNC_GET_STATUS_MESSAGE & ALP_TEL_MESSAGE_MASK) + 1)
 

Total count of connection service messages.

#define ALP_TEL_CNC_OPEN_MESSAGE   ((ALP_TEL_CNC_SERVICE_ID << 8) | 0x0000)
 


Function Documentation

alp_status_t alp_tel_cnc_close AlpTelApplicationId  iAppId,
AlpTelTransId ioTransIdP
 

Closes down communications with the connected phone.

Parameters:
[in] iAppId The telephone application attachement identifier for your application.
[in,out] ioTransIdP Set the value of this parameter to NULL to cause the function to execute synchronously. If this parameter is not NULL, the call executes asynchronously. Upon return from this function, this points to the transaction identifier associated with the asynchronous operation.
Returns:
ALP_STATUS_OK The communication is closed successfully.
Since:
ALP iSDK 1.0

alp_status_t alp_tel_cnc_get_status AlpTelApplicationId  iAppId,
uint8_t *  oStatusP
 

Determines the communication status with the connected phone.

Parameters:
[in] iAppId The telephone application attachement identifier for your application.
[in,out] oStatusP A pointer to an unsigned integer value. Upon return, this is the communications status with the connected phone: 0, not connected; 1, connected.
Returns:
ALP_STATUS_OK The communication status has been retrieved successfully.
Since:
ALP iSDK 1.0

alp_status_t alp_tel_cnc_open AlpTelApplicationId  iAppId,
AlpTelTransId ioTransIdP
 

Opens communication withs the connected phone.

Parameters:
[in] iAppId The telephone application attachement identifier for your application.
[in,out] ioTransIdP Set the value of this parameter to NULL to cause the function to execute synchronously. If this parameter is not NULL, the call executes asynchronously. Upon return from this function, this points to the transaction identifier associated with the asynchronous operation.
Returns:
ALP_STATUS_OK The communication is opened successfully, for synchronous call, or the asyncrhonous call is successful.

ALP_STATUS_TEL_ALREADY_CONNECTED The communication was already opened.

Since:
ALP iSDK 1.0


Generated on Wed Jul 30 07:06:43 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.