Header files unification 29/21329/1
authorDongchul Lim <dc7.lim@samsung.com>
Mon, 19 May 2014 06:54:08 +0000 (15:54 +0900)
committerDongchul Lim <dc7.lim@samsung.com>
Mon, 19 May 2014 06:54:08 +0000 (15:54 +0900)
Change-Id: Ibc899c0a999846302df50ad3a858e2015571ee0b

41 files changed:
CMakeLists.txt
include/common/tel_call.h [deleted file]
include/common/tel_gps.h [deleted file]
include/common/tel_if.h [deleted file]
include/common/tel_modem.h [deleted file]
include/common/tel_network.h [deleted file]
include/common/tel_phonebook.h [deleted file]
include/common/tel_return.h [deleted file]
include/common/tel_sap.h [deleted file]
include/common/tel_sat.h [deleted file]
include/common/tel_sim.h [deleted file]
include/common/tel_sms.h [deleted file]
include/common/tel_ss.h [deleted file]
packaging/libtcore.spec
tcore.pc.in
tel-headers/CMakeLists.txt [new file with mode: 0644]
tel-headers/include/tel_call.h [new file with mode: 0644]
tel-headers/include/tel_gps.h [new file with mode: 0644]
tel-headers/include/tel_if.h [new file with mode: 0644]
tel-headers/include/tel_modem.h [new file with mode: 0644]
tel-headers/include/tel_network.h [new file with mode: 0644]
tel-headers/include/tel_phonebook.h [new file with mode: 0644]
tel-headers/include/tel_return.h [new file with mode: 0644]
tel-headers/include/tel_sap.h [new file with mode: 0644]
tel-headers/include/tel_sat.h [new file with mode: 0644]
tel-headers/include/tel_sim.h [new file with mode: 0644]
tel-headers/include/tel_sms.h [new file with mode: 0644]
tel-headers/include/tel_ss.h [new file with mode: 0644]
tel-headers/introspection/call.xml [new file with mode: 0644]
tel-headers/introspection/gen.sh [new file with mode: 0755]
tel-headers/introspection/gps.xml [new file with mode: 0644]
tel-headers/introspection/manager.xml [new file with mode: 0644]
tel-headers/introspection/modem.xml [new file with mode: 0644]
tel-headers/introspection/network.xml [new file with mode: 0644]
tel-headers/introspection/phonebook.xml [new file with mode: 0644]
tel-headers/introspection/sap.xml [new file with mode: 0644]
tel-headers/introspection/sat.xml [new file with mode: 0644]
tel-headers/introspection/sim.xml [new file with mode: 0644]
tel-headers/introspection/sms.xml [new file with mode: 0644]
tel-headers/introspection/ss.xml [new file with mode: 0644]
tel-headers/tel-headers.pc.in [new file with mode: 0644]

index a7699c8a542059c0346819148b2e7182e91c1c93..9d5162adb3bf3bc2772d62901c4b09113ca832b4 100755 (executable)
@@ -10,7 +10,7 @@ SET(INCLUDEDIR "\${prefix}/include")
 
 # Set required packages
 INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs REQUIRED glib-2.0 gudev-1.0)
+pkg_check_modules(pkgs REQUIRED glib-2.0 gudev-1.0 gobject-2.0 gio-2.0 gio-unix-2.0)
 
 FOREACH(flag ${pkgs_CFLAGS})
        SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
@@ -18,7 +18,7 @@ ENDFOREACH(flag)
 
 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I${CMAKE_SOURCE_DIR}/include ${EXTRA_CFLAGS} -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wmissing-declarations -Wredundant-decls -Wcast-align")
 
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/include/common)
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/tel-headers/include)
 
 ADD_DEFINITIONS("-DFEATURE_TLOG_DEBUG")
 ADD_DEFINITIONS("-DTCORE_LOG_TAG=\"TCORE\"")
@@ -28,7 +28,6 @@ MESSAGE(${CMAKE_C_FLAGS})
 MESSAGE(${CMAKE_EXE_LINKER_FLAGS})
 
 SET(SRCS
-
        src/server.c
        src/plugin.c
        src/hal.c
@@ -54,8 +53,6 @@ SET(SRCS
        src/mux.c
 )
 
-
-
 # library build
 ADD_LIBRARY(tcore SHARED ${SRCS})
 TARGET_LINK_LIBRARIES(tcore ${pkgs_LDFLAGS})
@@ -65,10 +62,11 @@ SET_TARGET_PROPERTIES(tcore PROPERTIES VERSION 0.0.0 SOVERSION 0 OUTPUT_NAME tco
 SET(PREFIX ${CMAKE_INSTALL_PREFIX})
 CONFIGURE_FILE(tcore.pc.in tcore.pc @ONLY)
 
-
 # install
 INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/ DESTINATION include/tcore)
 INSTALL(TARGETS tcore
        LIBRARY DESTINATION ${LIB_INSTALL_DIR})
 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/tcore.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/LICENSE DESTINATION /usr/share/license RENAME libtcore)
+
+ADD_SUBDIRECTORY(tel-headers)
diff --git a/include/common/tel_call.h b/include/common/tel_call.h
deleted file mode 100644 (file)
index 5b18ac6..0000000
+++ /dev/null
@@ -1,831 +0,0 @@
-/*
- * tel-headers
- *
- * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
- * Copyright (c) 2013 Intel Corporation. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __TEL_CALL_H__
-#define __TEL_CALL_H__
-
-#include <glib.h>
-#include <tel_if.h>
-
-/**
-*  @addtogroup TAPI_CALL
-*  @{
-*
-*  @file tel_call.h
-*  @brief TAPI Call Interface
-*/
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define TELEPHONY_CALL_INTERFACE TELEPHONY_SERVICE".Call"
-
-#define TEL_CALL_CALLING_NAME_LEN_MAX          82      /**< The maximum length of the string for calling party name.   */
-#define TEL_CALL_CALLING_NUMBER_LEN_MAX                82      /**< Maximum Dialling Digit Length  */
-#define TEL_CALL_MAX_CALLS_COUNT               6                       /**< Maximum number of call can be possible at a time */
-#define TEL_CALL_MAX_SOUND_EQ_PARAMETER_SIZE   6       /**< Maximum number of sound equalization parameter size */
-#define TEL_CALL_MAX_VOLUME_INFO_RECORD                20      /**< Maximum number of record for volume information */
-
-/**
- * @enum TelCallResult
- * Response (Return) values.
- */
-typedef enum {
-       TEL_CALL_RESULT_SUCCESS,                                                /**< Operation completed successfully */
-       TEL_CALL_RESULT_FAILURE,                                                /**< Operation Failed */
-       TEL_CALL_RESULT_INVALID_PARAMETER,                      /**< Invalid input parameters */
-       TEL_CALL_RESULT_MEMORY_FAILURE,                         /**< Memory allocation failed */
-       TEL_CALL_RESULT_OPERATION_NOT_SUPPORTED,        /**< Operation not supported */
-       TEL_CALL_RESULT_FDN_RESTRICTED,                         /**< FDN calls only */
-       TEL_CALL_RESULT_NETWORK_BUSY,                           /**< Network busy */
-       TEL_CALL_RESULT_SERVICE_NOT_ALLOWED,            /**< Service is not allowed */
-       TEL_CALL_RESULT_OPERATION_NOT_PERMITTED /**< Operation not permitted */
-} TelCallResult;
-
-/**
- * @enum TelCallEndCause
- * Call End Cause.
- */
-typedef enum {
-       TEL_CALL_END_CAUSE_NONE,                                                        /**< No Cause */
-       TEL_CALL_END_CAUSE_FAILED,                                              /**< Call failed */
-       TEL_CALL_END_CAUSE_UNASSIGNED_NUMBER,                   /**< Unassigned Number */
-       TEL_CALL_END_CAUSE_NO_ROUTE_TO_DEST,                    /**< No Route to Destination */
-       TEL_CALL_END_CAUSE_OPERATOR_DETERMINED_BARRING, /**< Operator Determined Barring */
-       TEL_CALL_END_CAUSE_NORMAL_CALL_CLEARING,                /**< Normal Call Clearing */
-       TEL_CALL_END_CAUSE_USER_BUSY,                                   /**< User Busy */
-       TEL_CALL_END_CAUSE_NO_USER_RESPONDING,          /**< No user Responding */
-       TEL_CALL_END_CAUSE_USER_ALERTING_NO_ANSWER,             /**< User Alerting no Answer */
-       TEL_CALL_END_CAUSE_CALL_REJECTED,                               /**< Call Rejected */
-       TEL_CALL_END_CAUSE_NUMBER_CHANGED,                              /**< Number Changed */
-       TEL_CALL_END_CAUSE_DESTINATION_OUT_OF_ORDER,    /**< Destination out of Order */
-       TEL_CALL_END_CAUSE_INVALID_NUMBER_FORMAT,               /**< Invalid Number Format */
-       TEL_CALL_END_CAUSE_FACILITY_REJECTED,                   /**< Facility Rejected */
-       TEL_CALL_END_CAUSE_NO_CIRCUIT_CHANNEL_AVAILABLE,        /**< No Circuit Channel Available */
-       TEL_CALL_END_CAUSE_NETWORK_OUT_OF_ORDER,                        /**< Network out of Order */
-       TEL_CALL_END_CAUSE_TEMPORARY_FAILURE,                           /**< Temporary Failure */
-       TEL_CALL_END_CAUSE_SWITCHING_EQUIPMENT_CONGESTION,      /**< Switching Equipment Congestion */
-       TEL_CALL_END_CAUSE_REQUESTED_CIRCUIT_CHANNEL_NOT_AVAILABLE,     /**< Requested Circuit channel not available */
-       TEL_CALL_END_CAUSE_REQUESTED_FACILITY_NOT_SUBSCRIBED,           /**< Requested facility not subscribed */
-       TEL_CALL_END_CAUSE_ACM_GEQ_ACMMAX,                      /**< ACM equal to greater than ACMAX */
-       TEL_CALL_END_CAUSE_IMEI_NOT_ACCEPTED,                   /**< IMEI not accepted */
-       TEL_CALL_END_CAUSE_NETWORK_FAILURE,             /**< Network unavailable */
-       TEL_CALL_END_CAUSE_CONGESTION,                  /**< Congestion */
-       TEL_CALL_END_CAUSE_SERVICE_OPTION_OUT_OF_ORDER, /**< Service option temporarily out of order */
-       TEL_CALL_END_CAUSE_ACCESS_CLASS_BLOCKED,                /**< Access class blocked */
-} TelCallEndCause;
-
-/**
- * @enum TelCallState
- * Call States.
- */
-typedef enum {
-       TEL_CALL_STATE_IDLE,            /**< Call is in idle state - i.e. no call */
-       TEL_CALL_STATE_ACTIVE,          /**< Call is in connected and conversation state */
-       TEL_CALL_STATE_HELD,            /**< Call is in held state */
-       TEL_CALL_STATE_DIALING,         /**< Call is in dialing state */
-       TEL_CALL_STATE_ALERT,           /**< Call is in alerting state */
-       TEL_CALL_STATE_INCOMING,        /**< Call is in incoming state */
-       TEL_CALL_STATE_WAITING,         /**< Call is in waiting state */
-} TelCallState;
-
-/**
- * @enum TelCallActiveLine
- * IN GSM ONLY: Call Active Line.
- */
-typedef enum {
-       TEL_CALL_ACTIVE_LINE1,          /**< Line 1 */
-       TEL_CALL_ACTIVE_LINE2           /**< Line 2 */
-} TelCallActiveLine;
-
-/**
- * @enum TelCallAnswerType
- * Call Answer Types.
- */
-typedef enum {
-       TEL_CALL_ANSWER_ACCEPT,                 /**< Used to answer an incoming call when there are no current active calls. */
-       TEL_CALL_ANSWER_REJECT,                 /**< Used to reject the incoming call */
-       TEL_CALL_ANSWER_REPLACE,                /**< Release current active call and accept the incoming call */
-       TEL_CALL_ANSWER_HOLD_AND_ACCEPT,        /**< Hold the current active call, and accept the wating call */
-} TelCallAnswerType;
-
-/**
- * @enum TelCallEndType
- * Call End Types.
- */
-typedef enum {
-       TEL_CALL_END,                           /**< Used to end single call with call handle */
-       TEL_CALL_END_ALL,                       /**< Used to end all calls */
-       TEL_CALL_END_ACTIVE_ALL,                /**< Used to end all active calls */
-       TEL_CALL_END_HOLD_ALL,                  /**< Used to end all hold calls */
-} TelCallEndType;
-
-/**
- * @enum TelCallType
- * Call Type.
- */
-typedef enum {
-       TEL_CALL_TYPE_VOICE,    /**< Voice call type. */
-       TEL_CALL_TYPE_VIDEO,    /**< Video call type  */
-       TEL_CALL_TYPE_E911      /**< Emergency call type. */
-} TelCallType;
-
-/**
- * @enum TelCallActiveState
- * Current Call State.
- */
-typedef enum {
-       TEL_CALL_CONNECT_IDLE,          /**< Call is in Idle state. */
-       TEL_CALL_CONNECT_ACTIVE,        /**< Call is in Active state.*/
-       TEL_CALL_CONNECT_HELD           /**< Call is in Held state. */
-} TelCallActiveState;
-
-/**
- * @enum TelCallCliValidity
- * CLI(Calling Line Identification) Validity.
- */
-typedef enum {
-       TEL_CALL_CLI_VALIDITY_VALID,                            /**< CLI is valid */
-       TEL_CALL_CLI_VALIDITY_WITHHELD,                 /**< CLI is withheld ("Rejected by user")*/
-       TEL_CALL_CLI_VALIDITY_NOT_AVAILABLE,            /**< CLI is not available ("Interaction with other service" or "Unavailable")*/
-       TEL_CALL_CLI_VALIDITY_NOT_AVAILABLE_PAYPHONE,   /**< CLI is not available ("Coin line/payphone")*/
-} TelCallCliValidity;
-
-/**
- * @enum TelCallCniValidity
- * CNI(Calling Name Identification) Validity.
- */
-typedef enum {
-       TEL_CALL_CNI_VALIDITY_VALID,                            /**< CLI is valid */
-       TEL_CALL_CNI_VALIDITY_WITHHELD,                 /**< CLI is withheld */
-       TEL_CALL_CNI_VALIDITY_NOT_AVAILABLE,            /**< CLI is not available */
-} TelCallCniValidity;
-
-/**
- * @enum TelCallEmergencyCategory
- * Emergency Call Category.
- */
-typedef enum {
-       TEL_CALL_ECC_DEFAULT = 0x00,            /**< ECC is default */
-       TEL_CALL_ECC_POLICE = 0x01,             /**< ECC is police */
-       TEL_CALL_ECC_AMBULANCE = 0x02,  /**< ECC is ambulance */
-       TEL_CALL_ECC_FIREBRIGADE = 0x04,        /**< ECC is fire station */
-       TEL_CALL_ECC_MARINEGUARD = 0x08,        /**< ECC is marine gaurd */
-       TEL_CALL_ECC_MOUNTAINRESCUE = 0x10,     /**< ECC is mountaion rescue */
-       TEL_CALL_ECC_MANUAL_ECALL = 0x20,       /**< ECC is manual Ecall */
-       TEL_CALL_ECC_AUTO_ECALL = 0x40  /**< ECC is Auto Ecall */
-} TelCallEmergencyCategory;
-
-/**
- * Call Dial Info.
- */
-typedef struct {
-       TelCallType call_type;                                  /**< Sets type of call (voice, data, video, emergency) */
-       TelCallEmergencyCategory ecc;                   /**< In case of emergency call, may provide category instead of number */
-       char number[TEL_CALL_CALLING_NUMBER_LEN_MAX + 1];       /**< A string containing the destination phone number. This follows the dial number format.*/
-} TelCallDial;
-
-/**
- * Call End Info.
- */
-typedef struct {
-       unsigned int call_id;                   /**< Unique id for referring the call to release */
-       TelCallEndType end_type;                /**< End type used */
-} TelCallEnd;
-
-/**
- * Call Status Info.
- */
-typedef struct {
-       unsigned int call_id;                                   /**< Unique id for referring the call */
-
-       TelCallType call_type;                                  /**< Specifies type of call (voice, data, emergency) */
-       TelCallState call_state;                                        /**< Current Call state */
-
-       gboolean mo_call;                                       /**< TRUE for MO Call; FALSE if MT call*/
-       gboolean mpty;                                          /**< TRUE for Multi-party Call; FALSE if not Multi-party Call*/
-
-       TelCallCliValidity cli_validity;                                /**< Calling Line Identificatoin (only if mobile terminated call) */
-       char number[TEL_CALL_CALLING_NUMBER_LEN_MAX + 1];       /**< Mobile Number */
-
-       TelCallCniValidity cni_validity;                                /**< Calling Name Identification (only if mobile terminated call) */
-       char name[TEL_CALL_CALLING_NAME_LEN_MAX + 1];           /**< Caller name */
-
-       gboolean forward;                                       /**< TRUE if call is forwared (only if mobile terminated call) */
-
-       TelCallActiveLine active_line;                          /**< Active line */
-} TelCallStatus;
-
-/**
- * All Call Status Info.
- */
-typedef struct {
-       unsigned int count;     /**< Number of calls */
-       TelCallStatus status[TEL_CALL_MAX_CALLS_COUNT]; /**< Call Status Info */
-} TelCallStatusList;
-
-/**
- * Incoming Call Info.
- */
-typedef struct {
-       unsigned int call_id;                                   /**< Unique id for referring the call */
-
-       TelCallCliValidity cli_validity;                                /**< Calling Line Identificatoin (only if mobile terminated call) */
-       char number[TEL_CALL_CALLING_NUMBER_LEN_MAX + 1];       /**< Mobile Number */
-
-       TelCallCniValidity cni_validity;                                /**< Calling Name Identification (only if mobile terminated call) */
-       char name[TEL_CALL_CALLING_NAME_LEN_MAX + 1];           /**< Caller name */
-
-       gboolean forward;                                       /**< TRUE if call is forwared (only if mobile terminated call) */
-
-       TelCallActiveLine active_line;                          /**< Active line */
-}TelCallIncomingInfo;
-
-/**
- * All Call Status idle notification.
- */
-typedef struct {
-       unsigned int call_id;   /**< Unique id for referring the call */
-       TelCallEndCause cause;  /**< End cause for the call indicates whether the call is released normally or due to other cause*/
-} TelCallStatusIdleNoti;
-
-/**
- * @enum TelCallSoundRecording
- * Call Sound Recording status.
- */
-typedef enum {
-       TEL_SOUND_RECORDING_STOP,       /**< Stop call recording */
-       TEL_SOUND_RECORDING_START,      /**< Start call recording */
-       TEL_SOUND_RECORDING_PAUSE       /**< Pause call recording */
-} TelCallSoundRecording;
-
-/**
- * @enum TelCallSoundDevice
- * Call Sound Device type.
- */
-typedef enum {
-       TEL_SOUND_DEVICE_RECEIVER = 0x00,                       /**< Receiving the sound on receiver */
-       TEL_SOUND_DEVICE_SPEAKER_PHONE = 0x10,  /**< Receiving the sound on speaker phone */
-       TEL_SOUND_DEVICE_HFK = 0x20,                            /**< Receiving the sound on HFK */
-       TEL_SOUND_DEVICE_HEADSET = 0x30,                        /**< Receiving the sound on Headset */
-       TEL_SOUND_DEVICE_BLUETOOTH = 0x40,              /**< Receiving the sound on Bluetooth */
-       TEL_SOUND_DEVICE_EC = 0xA0,                             /**< Receiving the sound on Echo Cancellation device */
-} TelCallSoundDevice;
-
-/**
- * Call Sound Volume Info.
- */
-typedef struct {
-       TelCallSoundDevice device;              /**< Sound device */
-       unsigned int volume;            /**<Volume level(0 ~ 100)*/
-} TelCallVolumeInfo;
-
-/**
- * @enum TelCallSoundPath
- * Call Sound Path.
- */
-typedef enum {
-       TEL_SOUND_PATH_HANDSET  ,               /**<Audio path is handset*/
-       TEL_SOUND_PATH_HEADSET,                 /**<Audio path is headset*/
-       TEL_SOUND_PATH_HANDSFREE,               /**<Audio path is Handsfree*/
-       TEL_SOUND_PATH_BLUETOOTH,               /**<Audio path is bluetooth*/
-       TEL_SOUND_PATH_STEREO_BLUETOOTH,        /**<Audio path is stereo bluetooth*/
-       TEL_SOUND_PATH_SPK_PHONE,               /**<Audio path is speaker phone*/
-       TEL_SOUND_PATH_HEADSET_3_5PI,           /**<Audio path is headset_3_5PI*/
-       TEL_SOUND_PATH_BT_NSEC_OFF,             /**<Audio path is bluetooth NSEC off*/
-       TEL_SOUND_PATH_MIC2,                            /**<Audio path is Mic 1*/
-       TEL_SOUND_PATH_MIC1,                            /**<Audio path is Mic 2*/
-       TEL_SOUND_PATH_HEADSET_HAC,             /**<Audio path is Hearing aid*/
-} TelCallSoundPath;
-
-/**
- * Call Sound Path Info
- */
-typedef struct {
-       TelCallSoundPath path;  /**< Sound path */
-       gboolean ex_volume;     /**< TEL_SOUND_EX_VOLUME_ OFF/ON*/
-} TelCallSoundPathInfo;
-
-/**
- * @enum TelCallSoundEqualizationMode
- * Call Sound Equalization Mode.
- */
-typedef enum {
-       TEL_SOUND_EQUALIZATION_MODE_OFF,                /**< Sound Equalization is off */
-       TEL_SOUND_EQUALIZATION_MODE_ON,         /**< Sound Equalization is on */
-       TEL_SOUND_EQUALIZATION_MODE_FLAG_OFF,   /**< Sound Equalization mode flag is off */
-       TEL_SOUND_EQUALIZATION_MODE_FLAG_ON,    /**< Sound Equalization mode flag is on */
-       TEL_SOUND_EQUALIZATION_MODE_SOFT1,              /**< Sound Equalization is in soft1 mode */
-       TEL_SOUND_EQUALIZATION_MODE_SOFT2,              /**< Sound Equalization is in soft2 mode */
-} TelCallSoundEqualizationMode;
-
-/**
- * @enum TelCallSoundDirection
- * Call Sound Direction.
- */
-typedef enum {
-       TEL_SOUND_DIRECTION_LEFT,       /**< Sound direction is left */
-       TEL_SOUND_DIRECTION_RIGHT,      /**< Sound direction is right */
-} TelCallSoundDirection;
-
-/**
- * Call Sound Equalization Info
- */
-typedef struct {
-       TelCallSoundEqualizationMode mode;      /**< Sound equalization mode */
-       TelCallSoundDirection direction;                /**< Sound direction */
-       unsigned short parameter[TEL_CALL_MAX_SOUND_EQ_PARAMETER_SIZE]; /**< Sound equalization parameter */
-} TelCallSoundEqualization;
-
-/**
- * Call Volume Info
- */
-typedef struct {
-       unsigned int record_num;        /**< Number of call records */
-       TelCallVolumeInfo record[TEL_CALL_MAX_VOLUME_INFO_RECORD];      /**< Call volume info records */
-} TelCallGetVolumeInfo;
-
-/**
- * @enum TelCallSoundRingbackToneNoti
- * Call Sound ring back tone.
- */
-typedef enum {
-       TEL_CALL_SOUND_RINGBACK_TONE_START,     /**< Sound ringback tone start */
-       TEL_CALL_SOUND_RINGBACK_TONE_END,               /**< Sound ringback tone end */
-} TelCallSoundRingbackToneNoti;
-
-/**
- * @enum TelCallSoundWbamrNoti
- * Call AMR-WB Status
- */
-typedef enum {
-       TEL_CALL_SOUND_WBAMR_STATUS_OFF,        /**< Call sound WBAMR is off */
-       TEL_CALL_SOUND_WBAMR_STATUS_ON, /**< Call sound WBAMR is on */
-} TelCallSoundWbamrNoti;
-
-/**
- * Call Sound Equilization Notification Info.
- */
-typedef struct {
-       TelCallSoundEqualizationMode mode;      /**< Call sound equalization mode */
-       TelCallSoundDirection direction;                /**< Call sound direction */
-} TelCallSoundEqualizationNoti;
-
-/**
- *  \defgroup TAPI_EVENT TAPI Event IDs
- *  @{
- */
-
-/**
- *  \defgroup TEL_EVENT_CALL Call Event IDs
- *  @{
- */
-
-/**
- *  @hideinitializer
- *  @brief Voice Call status idle
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_VOICE_CALL_STATUS_IDLE
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_VOICE_CALL_STATUS_IDLE
- *  @retval data \ref TelCallStatusIdleNoti
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_VOICE_CALL_STATUS_IDLE                TELEPHONY_CALL_INTERFACE":VoiceCallStatusIdle"
-
- /**
- *  @hideinitializer
- *  @brief Voice Call status active
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_VOICE_CALL_STATUS_ACTIVE
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_VOICE_CALL_STATUS_ACTIVE
- *  @retval data \ref unsigned int call_id
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_VOICE_CALL_STATUS_ACTIVE              TELEPHONY_CALL_INTERFACE":VoiceCallStatusActive"
-
- /**
- *  @hideinitializer
- *  @brief Voice Call status held
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_VOICE_CALL_STATUS_HELD
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_VOICE_CALL_STATUS_HELD
- *  @retval data \ref unsigned int call_id
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_VOICE_CALL_STATUS_HELD                TELEPHONY_CALL_INTERFACE":VoiceCallStatusHeld"
-
- /**
- *  @hideinitializer
- *  @brief Voice Call status dialing
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_VOICE_CALL_STATUS_DIALING
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_VOICE_CALL_STATUS_DIALING
- *  @retval data \ref unsigned int call_id
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_VOICE_CALL_STATUS_DIALING             TELEPHONY_CALL_INTERFACE":VoiceCallStatusDialing"
-
-/**
- *  @hideinitializer
- *  @brief Voice Call status alert
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_VOICE_CALL_STATUS_ALERT
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_VOICE_CALL_STATUS_ALERT
- *  @retval data \ref unsigned int call_id
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_VOICE_CALL_STATUS_ALERT               TELEPHONY_CALL_INTERFACE":VoiceCallStatusAlert"
-
-/**
- *  @hideinitializer
- *  @brief Voice Call status incoming
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_VOICE_CALL_STATUS_INCOMING
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_VOICE_CALL_STATUS_INCOMING
- *  @retval data \ref unsigned int call_id
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_VOICE_CALL_STATUS_INCOMING    TELEPHONY_CALL_INTERFACE":VoiceCallStatusIncoming"
-
-/**
- *  @hideinitializer
- *  @brief Video Call status idle
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_VIDEO_CALL_STATUS_IDLE
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_VIDEO_CALL_STATUS_IDLE
- *  @retval data reference to \ref TelCallStatusIdleNoti structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_VIDEO_CALL_STATUS_IDLE                TELEPHONY_CALL_INTERFACE":VideoCallStatusIdle"
-
-/**
- *  @hideinitializer
- *  @brief Video Call status active
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_VIDEO_CALL_STATUS_ACTIVE
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_VIDEO_CALL_STATUS_ACTIVE
- *  @retval data \ref unsigned int call_id
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_VIDEO_CALL_STATUS_ACTIVE              TELEPHONY_CALL_INTERFACE":VideoCallStatusActive"
-
- /**
- *  @hideinitializer
- *  @brief Video Call status dialing
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_VIDEO_CALL_STATUS_DIALING
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_VIDEO_CALL_STATUS_DIALING
- *  @retval data \ref unsigned int call_id
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_VIDEO_CALL_STATUS_DIALING             TELEPHONY_CALL_INTERFACE":VideoCallStatusDialing"
-
- /**
- *  @hideinitializer
- *  @brief Video Call status alert
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_VIDEO_CALL_STATUS_ALERT
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_VIDEO_CALL_STATUS_ALERT
- *  @retval data \ref unsigned int call_id
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_VIDEO_CALL_STATUS_ALERT               TELEPHONY_CALL_INTERFACE":VideoCallStatusAlert"
-
- /**
- *  @hideinitializer
- *  @brief Video Call status incoming
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_VIDEO_CALL_STATUS_INCOMING
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_VIDEO_CALL_STATUS_INCOMING
- *  @retval data \ref unsigned int call_id
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_VIDEO_CALL_STATUS_INCOMING    TELEPHONY_CALL_INTERFACE":VideoCallStatusIncoming"
-
- /**
- *  @hideinitializer
- *  @brief MO Call wating
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MO_WAITING
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_INFO_MO_WAITING
- *  @retval data none
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_INFO_MO_WAITING                  TELEPHONY_CALL_INTERFACE":MoWaiting"
-
- /**
- *  @hideinitializer
- *  @brief MO Call forwarded
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MO_FORWARDED
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_INFO_MO_FORWARDED
- *  @retval data none
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_INFO_MO_FORWARDED                TELEPHONY_CALL_INTERFACE":MoForwarded"
-
- /**
- *  @hideinitializer
- *  @brief MO Incoming call barred
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MO_BARRED_INCOMING
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_INFO_MO_BARRED_INCOMING
- *  @retval data none
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_INFO_MO_BARRED_INCOMING          TELEPHONY_CALL_INTERFACE":MoBarredIncoming"
-
- /**
- *  @hideinitializer
- *  @brief MO Outgoing call barred
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MO_BARRED_OUTGOING
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_INFO_MO_BARRED_OUTGOING
- *  @retval data none
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_INFO_MO_BARRED_OUTGOING          TELEPHONY_CALL_INTERFACE":MoBarredOutgoing"
-
- /**
- *  @hideinitializer
- *  @brief MO Call forward unconditional
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MO_FORWARD_UNCONDITIONAL
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_INFO_MO_FORWARD_UNCONDITIONAL
- *  @retval data none
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_INFO_MO_FORWARD_UNCONDITIONAL    TELEPHONY_CALL_INTERFACE":MoForwardUnconditional"
-
- /**
- *  @hideinitializer
- *  @brief MO Call forward conditional
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MO_FORWARD_CONDITIONAL
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_INFO_MO_FORWARD_CONDITIONAL
- *  @retval data none
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_INFO_MO_FORWARD_CONDITIONAL      TELEPHONY_CALL_INTERFACE":MoForwardConditional"
-
- /**
- *  @hideinitializer
- *  @brief MO Call deflected
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MO_DEFLECTED
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_INFO_MO_DEFLECTED
- *  @retval data none
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_INFO_MO_DEFLECTED                        TELEPHONY_CALL_INTERFACE":MoDeflected"
-
- /**
- *  @hideinitializer
- *  @brief MT Call forwarded
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MT_FORWARDED
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_INFO_MT_FORWARDED
- *  @retval data none
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_INFO_MT_FORWARDED                        TELEPHONY_CALL_INTERFACE":MtForwarded"
-
- /**
- *  @hideinitializer
- *  @brief MT Call deflected
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MT_DEFLECTED
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_INFO_MT_DEFLECTED
- *  @retval data none
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_INFO_MT_DEFLECTED                        TELEPHONY_CALL_INTERFACE":MtDeflected"
-
- /**
- *  @hideinitializer
- *  @brief Call Transfered
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_TRANSFERED
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_INFO_TRANSFERED
- *  @retval data none
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_INFO_TRANSFERED          TELEPHONY_CALL_INTERFACE":Transfered"
-
- /**
- *  @hideinitializer
- *  @brief Call held
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_HELD
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_INFO_HELD
- *  @retval data none
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_INFO_HELD                        TELEPHONY_CALL_INTERFACE":CallHeld"
-
- /**
- *  @hideinitializer
- *  @brief Call active
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_ACTIVE
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_INFO_ACTIVE
- *  @retval data none
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_INFO_ACTIVE                      TELEPHONY_CALL_INTERFACE":CallActive"
-
- /**
- *  @hideinitializer
- *  @brief Call joined
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_JOINED
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_INFO_JOINED
- *  @retval data none
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_INFO_JOINED                      TELEPHONY_CALL_INTERFACE":CallJoined"
-
- /**
- *  @hideinitializer
- *  @brief Call Sound Ringback Tone
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_SOUND_RINGBACK_TONE
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_SOUND_RINGBACK_TONE
- *  @retval data \ref TelCallSoundRingbackToneNoti
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_SOUND_RINGBACK_TONE              TELEPHONY_CALL_INTERFACE":CallSoundRingbackToneControl"
-
- /**
- *  @hideinitializer
- *  @brief Call Sound WBAMR
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_SOUND_WBAMR
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_SOUND_WBAMR
- *  @retval data \ref TelCallSoundWbamrNoti
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_SOUND_WBAMR                      TELEPHONY_CALL_INTERFACE":CallSoundWbamr"
-
- /**
- *  @hideinitializer
- *  @brief Call Sound Equalization
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_SOUND_EQUALIZATION
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_SOUND_EQUALIZATION
- *  @retval data \ref TelCallSoundEqualizationNoti
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_SOUND_EQUALIZATION               TELEPHONY_CALL_INTERFACE":CallSoundEqualiztion"
-
- /**
- *  @hideinitializer
- *  @brief Call Sound Clock Status
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_CALL_SOUND_CLOCK_STATUS
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_CALL_SOUND_CLOCK_STATUS
- *  @retval data <b>TRUE</b>: Sound clock is ON\n <b>FALSE</b>: Sound clock is OFF
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_CALL_SOUND_CLOCK_STATUS               TELEPHONY_CALL_INTERFACE":CallSoundClockStatus"
-
-/** @}*/
-/** @}*/
-
-#ifdef __cplusplus
-}
-#endif
-
-/**
- * @}
- */
- #endif  /* __TEL_CALL_H__ */
diff --git a/include/common/tel_gps.h b/include/common/tel_gps.h
deleted file mode 100644 (file)
index d84efbc..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-/*
- * tel-headers
- *
- * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
- * Copyright (c) 2013 Intel Corporation. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __TEL_GPS_H__
-#define __TEL_GPS_H__
-
-#include <tel_if.h>
-
-/**
-*  @addtogroup TAPI_GPS
-*  @{
-*
-*  @file tel_gps.h
-*  @brief TAPI GPS Interface
-*/
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define TELEPHONY_GPS_INTERFACE TELEPHONY_SERVICE".Gps"
-
-/**
- * @enum TelGpsResult
- * Response (Return) values.
- */
-typedef enum {
-       TEL_GPS_RESULT_SUCCESS,                                         /**< Operation completed successfully */
-       TEL_GPS_RESULT_FAILURE,                                         /**< Operation Failed */
-       TEL_GPS_RESULT_INVALID_PARAMETER,                       /**< Invalid input parameters */
-       TEL_GPS_RESULT_MEMORY_FAILURE,                          /**< Memory allocation failed */
-       TEL_GPS_RESULT_OPERATION_NOT_SUPPORTED, /**< Operation not supported */
-       TEL_GPS_RESULT_OPERATION_NOT_PERMITTED, /**< Operation not permitted */
-       TEL_GPS_RESULT_UNKNOWN_FAILURE                          /**< Unknown failure */
-} TelGpsResult;
-
-/**
- * GPS info.
- */
-typedef struct {
-       unsigned int data_len;          /**< Data length of GPS info */
-       unsigned char *data;            /**< GPS information */
-} TelGpsDataInfo;
-
-/**
- *  \defgroup TAPI_EVENT TAPI Event IDs
- *  @{
- */
-
-/**
- *  \defgroup TEL_EVENT_GPS GPS Event IDs
- *  @{
- */
-
-/**
- *  @hideinitializer
- *  @brief GPS assist data
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_GPS_ASSIST_DATA
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_GPS_ASSIST_DATA
- *  @retval data reference to GPS data (as a string)
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_GPS_ASSIST_DATA                       TELEPHONY_GPS_INTERFACE":AssistData"
-
-/**
- *  @hideinitializer
- *  @brief GPS position information
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_GPS_MEASURE_POSITION
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_GPS_MEASURE_POSITION
- *  @retval data reference to GPS data (as a string)
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_GPS_MEASURE_POSITION          TELEPHONY_GPS_INTERFACE":MeasurePosition"
-
-/**
- *  @hideinitializer
- *  @brief GPS reset assist data
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_GPS_RESET_ASSIST_DATA
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_GPS_RESET_ASSIST_DATA
- *  @retval data None
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_GPS_RESET_ASSIST_DATA         TELEPHONY_GPS_INTERFACE":ResetAssistData"
-
-/** @}*/
-/** @}*/
-
-#ifdef __cplusplus
-}
-#endif
-
-/**
- * @}
- */
-#endif /* __TEL_GPS_H__ */
diff --git a/include/common/tel_if.h b/include/common/tel_if.h
deleted file mode 100644 (file)
index b159238..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * tel-headers
- *
- * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
- * Copyright (c) 2013 Intel Corporation. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __TEL_IF_H__
-#define __TEL_IF_H__
-
-/** Telephony service name */
-#define TELEPHONY_SERVICE      "org.tizen.telephony"
-
-/** Telephony object path */
-#define TELEPHONY_OBJECT_PATH "/org/tizen/telephony"
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __TEL_IF_H__ */
diff --git a/include/common/tel_modem.h b/include/common/tel_modem.h
deleted file mode 100644 (file)
index de62261..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-/*
- * tel-headers
- *
- * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
- * Copyright (c) 2013 Intel Corporation. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __TEL_MODEM_H__
-#define __TEL_MODEM_H__
-
-#include <tel_if.h>
-
-/**
-*  @addtogroup TAPI_MODEM
-*  @{
-*
-*  @file tel_modem.h
-*  @brief TAPI Modem Interface
-*/
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define TELEPHONY_MODEM_INTERFACE   TELEPHONY_SERVICE".Modem"
-
-#define TEL_MODEM_IMEI_LENGTH_MAX 15   /**< Maximum IMEI length */
-
-#define TEL_MODEM_VERSION_LENGTH_MAX 32        /**< Maximum version information length */
-
-/**
- * @enum TelModemResult
- * Response (Result) codes
- */
-typedef enum {
-       TEL_MODEM_RESULT_SUCCESS,                                       /**< Operation completed successfully */
-       TEL_MODEM_RESULT_FAILURE,                                       /**< Operation Failed */
-       TEL_MODEM_RESULT_INVALID_PARAMETER,             /**< Invalid input parameters */
-       TEL_MODEM_RESULT_MEMORY_FAILURE,                        /**< Memory allocation failed */
-       TEL_MODEM_RESULT_OPERATION_NOT_SUPPORTED,/**< Operation not supported */
-       TEL_MODEM_RESULT_OPERATION_NOT_PERMITTED,       /**< Operation not permitted */
-       TEL_MODEM_RESULT_UNKNOWN_FAILURE                        /**< Unknown failure */
-} TelModemResult;
-
-/**
- * @enum TelModemPowerStatus
- * Power Status
- */
-typedef enum {
-       TEL_MODEM_POWER_OFF, /**< Modem power off */
-       TEL_MODEM_POWER_ON, /**< Modem power on */
-       TEL_MODEM_POWER_ERROR /**< Modem power error */
-} TelModemPowerStatus;
-
-/**
- * @enum TelModemFlightModeStatus
- * Flight Mode Status
- */
-typedef enum {
-       TEL_MODEM_FLIGHT_MODE_UNKNOWN, /**< Status is unknown at the moment */
-       TEL_MODEM_FLIGHT_MODE_OFF, /**< Flight mode is OFF. Device is Online */
-       TEL_MODEM_FLIGHT_MODE_ON /**< Flight mode is ON. Device is in Low Power */
-} TelModemFlightModeStatus;
-
-/**
- * Version Information
- */
-typedef struct {
-       char software_version[TEL_MODEM_VERSION_LENGTH_MAX + 1]; /**< Software Version */
-       char hardware_version[TEL_MODEM_VERSION_LENGTH_MAX + 1]; /**< Hardware Version */
-       char calibration_date[TEL_MODEM_VERSION_LENGTH_MAX + 1]; /**< Calibration Date */
-       char product_code[TEL_MODEM_VERSION_LENGTH_MAX + 1]; /**< Product Code */
-} TelModemVersion;
-
-/**
- *  \defgroup TAPI_EVENT TAPI Event IDs
- *  @{
- */
-
-/**
- *  \defgroup TAPI_EVENT_MODEM Modem Event IDs
- *  @{
- */
-
-/**
- *  @hideinitializer
- *  @brief Power Status
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_MODEM_POWER_STATUS
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_MODEM_POWER_STATUS
- *  @retval data \ref TelModemPowerStatus
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_MODEM_POWER_STATUS            TELEPHONY_MODEM_INTERFACE":power_status"
-
-/**
- *  @hideinitializer
- *  @brief Flight Mode Status
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_MODEM_FLIGHT_MODE_STATUS
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_MODEM_FLIGHT_MODE_STATUS
- *  @retval data <b>TRUE</b>: Flight mode is ON\n <b>FALSE</b>: Flight mode is OFF
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_MODEM_FLIGHT_MODE_STATUS              TELEPHONY_MODEM_INTERFACE":flight_mode_status"
-
-/** @}*/
-/** @}*/
-
-#ifdef __cplusplus
-}
-#endif
-
-/** @}*/
-
-#endif /* __TEL_MODEM_H__ */
diff --git a/include/common/tel_network.h b/include/common/tel_network.h
deleted file mode 100644 (file)
index e3120a9..0000000
+++ /dev/null
@@ -1,355 +0,0 @@
-/*
- * tel-headers
- *
- * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
- * Copyright (c) 2013 Intel Corporation. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __TEL_NETWORK_H__
-#define __TEL_NETWORK_H__
-
-#include <tel_if.h>
-
-/**
-*  @addtogroup TAPI_NETWORK
-*  @{
-*
-*  @file tel_network.h
-*  @brief TAPI Network Interface
-*/
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define TELEPHONY_NETWORK_INTERFACE TELEPHONY_SERVICE".Network"
-
-#define TEL_NETWORK_PLMN_LEN_MAX 6     /**< Maximum PLMN(MCCMNC) length */
-
-/**
- * @enum TelNetworkResult
- * Response (Return) values.
- */
-typedef enum {
-       TEL_NETWORK_RESULT_SUCCESS,                                             /**< Operation completed successfully */
-       TEL_NETWORK_RESULT_FAILURE,                                             /**< Operation Failed */
-       TEL_NETWORK_RESULT_INVALID_PARAMETER,                   /**< Invalid input parameters */
-       TEL_NETWORK_RESULT_MEMORY_FAILURE,                              /**< Memory allocation failed */
-       TEL_NETWORK_RESULT_OPERATION_NOT_PERMITTED,     /**< Operation not permitted */
-       TEL_NETWORK_RESULT_OPERATION_NOT_SUPPORTED      /**< Operation not supported */
-} TelNetworkResult;
-
-/**
- * @enum TelNetworkMode
- * Network Mode
- */
-typedef enum {
-       TEL_NETWORK_MODE_AUTO, /**< auto select network mode or hybrid */
-       TEL_NETWORK_MODE_2G, /**< 2G: GSM, GPRS, EDGE etc */
-       TEL_NETWORK_MODE_3G,    /**< 3G: UMTS, HSDPA, HSUPA etc */
-       TEL_NETWORK_MODE_LTE, /**< LTE */
-} TelNetworkMode;
-
-/**
- * @enum TelNetworkSelectionMode
- * Network Selection Mode
- */
-typedef enum {
-       TEL_NETWORK_SELECTION_MODE_AUTOMATIC, /**< Automatic selection mode*/
-       TEL_NETWORK_SELECTION_MODE_MANUAL, /**< Manual selection mode */
-} TelNetworkSelectionMode;
-
-/**
- * @enum TelNetworkAct
- * Network Access Technology
- */
-typedef enum {
-       TEL_NETWORK_ACT_UNKNOWN, /**< ACT is not presented */
-       TEL_NETWORK_ACT_GSM, /**< GSM */
-       TEL_NETWORK_ACT_GPRS, /**< GPRS */
-       TEL_NETWORK_ACT_EGPRS, /**< EDGE */
-       TEL_NETWORK_ACT_UMTS, /**< 3G */
-       TEL_NETWORK_ACT_GSM_AND_UMTS, /**< Both GSM and UMTS available */
-       TEL_NETWORK_ACT_HSDPA, /**< HSDPA */
-       TEL_NETWORK_ACT_HSUPA, /**< HSUPA */
-       TEL_NETWORK_ACT_HSPA, /**< HSDPA & HSUPA */
-       TEL_NETWORK_ACT_LTE, /**< LTE */
-} TelNetworkAct;
-
-/**
- * @enum TelNetworkRegStatus
- * Network Registration Status
- */
-typedef enum {
-       TEL_NETWORK_REG_STATUS_UNREGISTERED, /**< Not registered, not searching */
-       TEL_NETWORK_REG_STATUS_REGISTERED, /**< Registered, home network */
-       TEL_NETWORK_REG_STATUS_SEARCHING, /**< Not regsitered, searching */
-       TEL_NETWORK_REG_STATUS_DENIED, /**< Registration is denied */
-       TEL_NETWORK_REG_STATUS_UNKNOWN, /**< Unknown */
-       TEL_NETWORK_REG_STATUS_ROAMING, /**< Registered, roaming */
-} TelNetworkRegStatus;
-
-/**
- * @enum TelNetworkPlmnStatus
- * Network Plmn Status
- */
-typedef enum
-{
-       TEL_NETWORK_STATUS_UNKNOWN, /**< Unknown Plmn */
-       TEL_NETWORK_STATUS_AVAILABLE, /**< Available Plmn */
-       TEL_NETWORK_STATUS_CURRENT, /**< Network currently registered */
-       TEL_NETWORK_STATUS_FORBIDDEN, /**< Forbidden Plmn  */
-} TelNetworkPlmnStatus;
-
-/**
- * Network Registration Status Information
- */
-typedef struct {
-       TelNetworkRegStatus cs_status; /**< CS domain registration status */
-       TelNetworkRegStatus ps_status; /**< PS domain registration status */
-       TelNetworkAct act; /**< Access technology */
-} TelNetworkRegStatusInfo;
-
-/**
- * Network Cell Information
- */
-typedef struct {
-       unsigned int lac; /**< Location Area Code */
-       unsigned int cell_id; /**< Cell id */
-       unsigned int rac; /**< Routing Area Code - PS network specific */
-} TelNetworkCellInfo;
-
-/**
- * Network Registration Information
- */
-typedef struct {
-       TelNetworkRegStatusInfo reg_status_info; /**< Registration Status Information */
-       TelNetworkCellInfo cell_info; /**< Cell Information */
-} TelNetworkRegistrationInfo;
-
-/**
- * Network Identity Information
- */
-typedef struct {
-       char *plmn; /**< numeric name (MCCMNC) */
-       char *short_name; /**< short alphanumeric operator name */
-       char *long_name; /**< long alphanumeric operator name */
-} TelNetworkIdentityInfo;
-
-/**
- * Network Selection Manual Information
- */
-typedef struct {
-       char *plmn; /**< numeric name (MCCMNC) */
-       TelNetworkAct act; /**< Access technology */
-} TelNetworkSelectManualInfo;
-
-/**
- * Network Information
- */
-typedef struct {
-       TelNetworkPlmnStatus plmn_status; /**< Plmn Status */
-       TelNetworkAct act; /**< Access technology */
-       TelNetworkIdentityInfo network_identity; /**< Network Identity Information */
-} TelNetworkInfo;
-
-/**
- * Network Plmn List
- */
-typedef struct {
-       unsigned int count; /**< Network Plmn count */
-       TelNetworkInfo *network_list; /**< Network list */
-} TelNetworkPlmnList;
-
-/**
- * Network Preferred Plmn Information
- */
-typedef struct {
-       unsigned int index; /**< Preferred Plmn list index, start from 1 */
-       char *plmn; /**< numeric operator name (MCCMNC) */
-       TelNetworkAct act; /**< Access technology */
-} TelNetworkPreferredPlmnInfo;
-
-/**
- * Network Preferred Plmn List
- */
-typedef struct {
-       unsigned int count; /**< Number of preferred plmns in the list */
-       TelNetworkPreferredPlmnInfo *list; /**< Preferred Plmns List */
-} TelNetworkPreferredPlmnList;
-
-/**
- * Network Gsm Neighbour Cell Information
- */
-typedef struct {
-       int cell_id; /**< Cell ID (-1 indicates cell ID not present)*/
-       int lac; /**< Location area code (ignored when cell_id not present) */
-       int bcch; /**< Broadcast Control Channel Frequency number */
-       int bsic; /**< Base Station Identification Code  */
-       int rxlev; /**< Received Signal Strength level. Valid values: (0-63,99)
-                               * Reference: 33GPP TS 45.008 [20] subclause 8.1.4
-                               - Rxlev 0 is a signal strength less than -110 dBm
-                               - Rxlev 1 is -110 dBm to -109 dBm
-                               - Rxlev 2 is -109 dBm to -108 dBm
-                                - ...
-                               - Rxlev 62 is -49 dBm to -48 dBm
-                               - Rxlev 63 is greater than -48 dBm
-                               - Rxlev 99 is not known or not detectable
-                       */
-} TelNetworkGsmNeighbourCellInfo;
-
-/**
- * Network Umts Neighbour Cell Information
- */
-typedef struct {
-       int cell_id; /**< Cell ID (-1 indicates cell ID not present)*/
-       int lac; /**< Location area code (ignored if cell_id not present)*/
-       int arfcn; /**< UTRA Absolute RF Channel Number */
-       int psc; /**< Primary scrambling Code   */
-       int rscp; /**< Received Signal Code Power. Valid values: (0-96, 255)
-                               * Reference : 3GPP TS 25.133 [95] subclause 9.1.1.3
-                                and 3GPP TS 25.123 [96] subclause 9.1.1.1.3)
-                               - Rscp 0 is a signal strength less than -120 dBm
-                               - Rscp 1 is -120 dBm to -119 dBm
-                               - Rscp 2 is -119 dBm to -118 dBm
-                               - ...
-                               - Rscp 95 is -26 dBm to -25 dBm
-                               - Rscp 96 is greater than -25 dBm
-                               - Rscp 255 is not known or not detectable
-                       */
-} TelNetworkUmtsNeighbourCellInfo;
-
-/**
- * Network Neighbour Cell Information
- */
-typedef struct {
-       unsigned int gsm_list_count; /**< GSM cells count */
-       TelNetworkGsmNeighbourCellInfo *gsm_list; /**< GSM cells information */
-       unsigned int umts_list_count; /**< UMTS cells count */
-       TelNetworkUmtsNeighbourCellInfo *umts_list; /**< UMTS cells information */
-} TelNetworkNeighbourCellInfo;
-
-/**
- * Network Nitz Information
- */
-typedef struct {
-       unsigned int year; /**< Last two digits of year */
-       unsigned int month; /**< Month */
-       unsigned int day; /**< Day */
-       unsigned int hour; /**< Hour */
-       unsigned int minute; /**< Minute */
-       unsigned int second; /**< Second */
-       int gmtoff; /**< GMT Offset */
-       gboolean isdst; /**< Daylight Saving Time Valid */
-       int dstoff; /**< Daylight Saving Time Offset */
-       char *plmn; /**< numeric name (MCCMNC) */
-} TelNetworkNitzInfoNoti;
-
-/**
- *  \defgroup TAPI_EVENT TAPI Event IDs
- *  @{
- */
-
-/**
- *  \defgroup TAPI_EVENT_NETWORK Network Event IDs
- *  @{
- */
-
-/**
- *  @hideinitializer
- *  @brief Network registration status
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_NETWORK_REGISTRATION_STATUS
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_NETWORK_REGISTRATION_STATUS
- *  @retval data reference to \ref TelNetworkRegStatusInfo structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_NETWORK_REGISTRATION_STATUS   TELEPHONY_NETWORK_INTERFACE":RegistrationStatus"
-
-/**
- *  @hideinitializer
- *  @brief Network cell information
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_NETWORK_CELL_INFO
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_NETWORK_CELL_INFO
- *  @retval data reference to \ref TelNetworkCellInfo structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_NETWORK_CELL_INFO                     TELEPHONY_NETWORK_INTERFACE":CellInfo"
-
-/**
- *  @hideinitializer
- *  @brief Network Identity information
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_NETWORK_IDENTITY
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_NETWORK_IDENTITY
- *  @retval data reference to \ref TelNetworkIdentityInfo structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_NETWORK_IDENTITY                      TELEPHONY_NETWORK_INTERFACE":Identity"
-
-/**
- *  @hideinitializer
- *  @brief Network RSSI
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_NETWORK_RSSI
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_NETWORK_RSSI
- *  @retval data \ref unsigned int rssi
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_NETWORK_RSSI                          TELEPHONY_NETWORK_INTERFACE":Rssi"
-
-/**
- *  @hideinitializer
- *  @brief Network time information
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_NETWORK_TIME_INFO
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_NETWORK_TIME_INFO
- *  @retval data reference to \ref TelNetworkNitzInfoNoti structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_NETWORK_TIME_INFO                     TELEPHONY_NETWORK_INTERFACE":TimeInfo"
-
-/** @}*/
-/** @}*/
-
-#ifdef __cplusplus
-}
-#endif
-
-/** @}*/
-
-#endif /* __TEL_NETWORK_H__ */
-
diff --git a/include/common/tel_phonebook.h b/include/common/tel_phonebook.h
deleted file mode 100644 (file)
index fc39db7..0000000
+++ /dev/null
@@ -1,253 +0,0 @@
-/*
- * tel-headers
- *
- * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
- * Copyright (c) 2013 Intel Corporation. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __TEL_PHONEBOOK_H__
-#define __TEL_PHONEBOOK_H__
-
-#include <tel_if.h>
-
-/**
-*  @addtogroup TAPI_PHONEBOOK
-*  @{
-*
-*  @file tel_phonebook.h
-*  @brief TAPI Phonebook Interface
-*/
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
-#define TELEPHONY_PB_INTERFACE  TELEPHONY_SERVICE".Phonebook"
-
-#define TEL_PB_TEXT_MAX_LEN    255 /**< Phone book text maximum length */
-#define TEL_PB_NUMBER_MAX_LEN  82 /**< Phone book number maximum length */
-#define TEL_PB_ANR_MAX_COUNT   3 /**< Phone book ANR maximum count */
-#define TEL_PB_EMAIL_MAX_COUNT 4 /**< Phone book email maximum count */
-
-/**
- * @enum TelPbResult
- * Response (Return) values.
- */
-typedef enum {
-       TEL_PB_RESULT_SUCCESS, /**< Operation completed successfully */
-       TEL_PB_RESULT_FAILURE, /**< Operation Failed */
-       TEL_PB_RESULT_INVALID_PARAMETER, /**< Invalid input parameters */
-       TEL_PB_RESULT_MEMORY_FAILURE, /**< Memory allocation failed */
-       TEL_PB_RESULT_OPERATION_NOT_SUPPORTED, /**< Operation not supported */
-       TEL_PB_RESULT_UNKNOWN_FAILURE, /**< Unknown failure */
-       TEL_PB_RESULT_INVALID_INDEX, /**< The index passed was not a valid index. */
-       TEL_PB_RESULT_NOT_INITIALIZED, /**< Phonebook not initialized */
-       TEL_PB_RESULT_PIN2_REQUIRED, /**< PIN2 Required */
-       TEL_PB_RESULT_PUK2_REQUIRED, /**< PUK2 Required */
-       TEL_PB_RESULT_ACCESS_RESTRICTED, /**< Access restricted */
-       TEL_PB_RESULT_OPERATION_NOT_PERMITTED   /**< Operation not permitted */
-} TelPbResult;
-
-/**
- * @enum TelPbType
- * This enumeration defines the Phonebook type.
- */
-typedef enum {
-       TEL_PB_FDN, /**< Fixed Dialing Number */
-       TEL_PB_ADN, /**< Abbreviated dialling numbers */
-       TEL_PB_SDN, /**< Service Dialing Number */
-       TEL_PB_USIM, /**< USIM - 3G phone book */
-} TelPbType;
-
-/**
- * This data structure gives the phone book availability of current SIM
- */
-typedef struct {
-       gboolean fdn; /**< Availability of Fixed Dialing Number */
-       gboolean adn; /**< Availability of Abbreviated dialling numbers */
-       gboolean sdn; /**< Availability of Service Dialing Number */
-       gboolean usim; /**< Availability of USIM - 3G phone book */
-} TelPbList;
-
-/**
- * @enum TelPbInitInfo
- * This data structure gives the phonebook init information
- */
-typedef struct {
-       gboolean init_status; /**< Phonebook init status */
-       TelPbList pb_list; /**< Phonebook availability of current SIM */
-} TelPbInitInfo;
-
-/**
- *This data structure gives the phone book entry information(SIM).
- */
-typedef struct {
-       unsigned int max_count; /**< Total number of locations in selected memory */
-       unsigned int used_count; /**< Number of used locations in selected memory */
-       unsigned int max_num_len; /**< maximum length of field "number" */
-       unsigned int max_text_len; /**< maximum length of field "text" */
-} TelPbSimInfo;
-
-/**
- *This data structure gives the phone book entry information(USIM).
- */
-typedef struct {
-       unsigned int max_count; /**< Total number of locations in selected memory */
-       unsigned int used_count; /**< Number of used locations in selected memory */
-       unsigned int max_num_len; /**< maximum length of field "number" */
-       unsigned int max_text_len; /**< maximum length of field "text" */
-
-       unsigned char max_anr_count; /**< Total number of locations for Additional Number */
-       unsigned int max_anr_len; /**< Maximun length for Additional Number */
-
-       unsigned char max_email_count; /**< Total number of locations for email */
-       unsigned int max_email_len; /**< Maximun length for email */
-
-       unsigned int max_sne_len; /**< Maximun length for second name*/
-
-       unsigned int max_gas_count; /**< Total number of locations for Grouping Alpha String */
-       unsigned int max_gas_len; /**< Maximun length for Grouping Alpha String */
-
-       unsigned int max_aas_count; /**< Total number of locations for Additional Alpha String */
-       unsigned int max_aas_len; /**< Maximun length for Additional Alpha String */
-} TelPbUsimInfo;
-
-/**
- *This data structure gives SIM/USIM the phone book entry information.
- */
-typedef struct {
-       TelPbType pb_type; /**< Type of Phone book */
-       union {
-               TelPbSimInfo sim; /**< 2G sim phone book info */
-               TelPbUsimInfo usim; /**< 3G sim phone book info */
-       } info_u; /**< union */
-} TelPbInfo;
-
-/**
- *These data structures defines the phone book record fields.
- */
-typedef char TelPbName[TEL_PB_TEXT_MAX_LEN + 1]; /**< Record of Phone book name */
-
-typedef char TelPbNumber[TEL_PB_NUMBER_MAX_LEN + 1]; /**< Record of Phone book number */
-
-typedef char TelPbEmail[TEL_PB_TEXT_MAX_LEN + 1]; /**< Record of Phone book email */
-
-/**
- *These data structures defines the phone book Additional number information
- */
-typedef struct {
-       TelPbNumber number; /**< Additional number */
-       gboolean description;   /**< TRUE if the ANR has an additional number description */
-       TelPbName aas;          /**< Additional number description   */
-} TelPbAnr;
-
-/**
- *These data structures defines the USIM phone book records
- */
-typedef struct {
-       TelPbName name; /**< USIM Phone book name */
-       TelPbNumber number; /**< USIM Phone book number */
-
-       TelPbName sne; /**< USIM Phone book second name */
-       TelPbName grp_name; /**< USIM Phone book group name */
-
-       unsigned char anr_count; /**< USIM Phone book Additional number count */
-       TelPbAnr anr[TEL_PB_ANR_MAX_COUNT]; /**< USIM Phone book Additional number description */
-
-       unsigned char email_count; /**< USIM Phone book email count */
-       TelPbEmail email[TEL_PB_EMAIL_MAX_COUNT]; /**< USIM Phone book email description */
-
-       gboolean hidden; /**< indicates if the entry is hidden or not - only available, if a UICC with an active USIM application is present */
-} TelPbUsimRecord;
-
-/**
- *These data structures defines the SIM phone book records
- */
-typedef struct {
-       TelPbName name; /**< SIM Phone book name */
-       TelPbNumber number; /**< SIM Phone book number */
-} TelPbSimRecord;
-
-/**
- *These data structures defines the read record informations
- */
-typedef struct {
-       unsigned int index; /**< Index of phonebook memory */
-       unsigned int next_index; /**< Next index of phonebook memory */
-
-       TelPbType pb_type; /**< Type of Phone book */
-       union {
-               TelPbSimRecord sim; /**< 2G sim phone book info */
-               TelPbUsimRecord usim; /**< 3G sim phone book info */
-       } rec_u; /**< union */
-} TelPbReadRecord;
-
-/**
- *These data structures defines the update record informations
- */
-typedef struct {
-       unsigned int index; /**< Index of phonebook memory */
-
-       TelPbType pb_type; /**< Type of Phone book */
-       union {
-               TelPbSimRecord sim; /**< 2G sim phone book info */
-               TelPbUsimRecord usim; /**< 3G sim phone book info */
-       } rec_u; /**< union */
-} TelPbUpdateRecord;
-
-/**
- *These data structures defines the phone book record informations
- */
-typedef struct {
-       TelPbType pb_type; /**< Type of Phone book */
-       unsigned int index; /**< Index of phonebook memory */
-} TelPbRecordInfo;
-
-/**
- *  \defgroup TAPI_EVENT TAPI Event IDs
- *  @{
- */
-
-/**
- *  \defgroup TEL_EVENT_PHONEBOOK Phonebook Event IDs
- *  @{
- */
-
-/**
- *  @hideinitializer
- *  @brief Phonebook init status
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_PB_STATUS
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_PB_STATUS
- *  #retval data \ref TelPbInitInfo
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_PB_STATUS                             TELEPHONY_PB_INTERFACE":Status"
-
-/** @}*/
-/** @}*/
-
-#ifdef __cplusplus
-}
-#endif
-
-/** @}*/
-
-#endif /* __TEL_PHONEBOOK_H__ */
diff --git a/include/common/tel_return.h b/include/common/tel_return.h
deleted file mode 100644 (file)
index 2dc87a6..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * tel-headers
- *
- * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
- * Copyright (c) 2013 Intel Corporation. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __TEL_RETURN_H__
-#define __TEL_RETURN_H__
-
-/**
-*  @addtogroup TAPI_COMMON
-*  @{
-*
-*  @file tel_return.h
-*  @brief TAPI return values
-*/
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * @enum TelReturn
- * TAPI return values
- */
-typedef enum {
-       TEL_RETURN_SUCCESS, /**< Operation completed successfully */
-       TEL_RETURN_FAILURE, /**< Operation Failed */
-       TEL_RETURN_INVALID_PARAMETER, /**< Invalid input parameters */
-       TEL_RETURN_MEMORY_FAILURE, /**< Memory allocation failed */
-       TEL_RETURN_OPERATION_NOT_SUPPORTED, /**< Operation not supported */
-       TEL_RETURN_UNKNOWN_FAILURE /**< Unknown failure */
-} TelReturn;
-
-#ifdef __cplusplus
-}
-#endif
-
-/** @}*/
-
-#endif /* __TEL_RETURN_H__ */
diff --git a/include/common/tel_sap.h b/include/common/tel_sap.h
deleted file mode 100644 (file)
index d22d363..0000000
+++ /dev/null
@@ -1,179 +0,0 @@
-/*
- * tel-headers
- *
- * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
- * Copyright (c) 2013 Intel Corporation. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#ifndef __TEL_SAP_H__
-#define __TEL_SAP_H__
-
-#include <tel_if.h>
-
-/**
-*  @addtogroup TAPI_SAP
-*  @{
-*
-*  @file tel_sap.h
-*  @brief TAPI SAP Interface
-*/
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define TELEPHONY_SAP_INTERFACE         TELEPHONY_SERVICE".Sap"
-
-#define TEL_SAP_APDU_LEN_MAX           261     /**< APDU max command length */
-#define TEL_SAP_APDU_RESP_LEN_MAX      258     /**< APDU max response length */
-#define TEL_SAP_ATR_LEN_MAX            33      /**< Answer to Reset data max length */
-
-/**
- * @enum TelSapResult
- * This enum gives the SAP result information.
- */
-
-typedef enum {
-       TEL_SAP_RESULT_SUCCESS,                 /**<  operation successfully completed*/
-       TEL_SAP_RESULT_FAILURE_NO_REASON,       /**<  no reason*/
-       TEL_SAP_RESULT_CARD_NOT_ACCESSIBLE,     /**<  not accessible*/
-       TEL_SAP_RESULT_CARD_ALREADY_POWERED_OFF,/**<  card already powered off*/
-       TEL_SAP_RESULT_CARD_REMOVED,            /**<  card removed*/
-       TEL_SAP_RESULT_CARD_ALREADY_POWERED_ON, /**<  card already powered on*/
-       TEL_SAP_RESULT_DATA_NOT_AVAILABLE,      /**<  data not available*/
-       TEL_SAP_RESULT_NOT_SUPPORTED,           /**<  not supported*/
-       TEL_SAP_RESULT_UNABLE_TO_ESTABLISH,     /**<  unable to establish connection*/
-       TEL_SAP_RESULT_NOT_SUPPORT_MAX_SIZE,    /**<  server does not support message length that client want send*/
-       TEL_SAP_RESULT_TOO_SMALL_MAX_SIZE,      /**<  client wants to connect with very small message length which is not supported by Server */
-       TEL_SAP_RESULT_ONGOING_CALL,            /**<  server cannot reset the SIM due to an ongoing call */
-       TEL_SAP_RESULT_OPERATION_NOT_PERMITTED  /** Operation not permitted */
-} TelSapResult;
-
-/**
- * @enum TelSapPowerMode
- * This enum gives the SAP message Ids between SAP client and SAP server.
- */
-typedef enum {
-       TEL_SAP_SIM_POWER_ON_REQ,       /**< SAP Client request for Power ON SIM off in Server */
-       TEL_SAP_SIM_POWER_OFF_REQ,      /**< SAP Client request for Power OFF SIM off in Server */
-       TEL_SAP_SIM_RESET_REQ,          /**< SAP Client request for reset SIM in Server */
-} TelSapPowerMode;
-
-/**
- * @enum TelSapDisconnectType
- * This enum gives the SAP disconnect type information.
- */
-typedef enum {
-       TEL_SAP_DISCONNECT_TYPE_GRACEFUL,       /**< disconnection procedure ends after finishing current work */
-       TEL_SAP_DISCONNECT_TYPE_IMMEDIATE       /**< disconnection procedure ends immediately */
-} TelSapDisconnectType;
-
-/**
- * @enum TelSapCardStatus
- * This enum gives the SIM card status if server`s status changed about connection with subscription module
- */
-typedef enum {
-       TEL_SAP_CARD_STATUS_UNKNOWN,            /**<  SAP server status - unknown*/
-       TEL_SAP_CARD_STATUS_RESET,              /**<  SAP server status - reset*/
-       TEL_SAP_CARD_STATUS_NOT_ACCESSIBLE,     /**<  SAP server status - not accessible*/
-       TEL_SAP_CARD_STATUS_REMOVED,            /**<  SAP server status - removed*/
-       TEL_SAP_CARD_STATUS_INSERTED,           /**<  SAP server status - inserted*/
-       TEL_SAP_CARD_STATUS_RECOVERED           /**<  SAP server status - recovered*/
-} TelSapCardStatus;
-
-/**
- * @enum TelSimSapProtocol
- * This enum gives SAP transport protocol type
- */
-typedef enum {
-       TEL_SIM_SAP_PROTOCOL_T0,        /**< T = 0, character*/
-       TEL_SIM_SAP_PROTOCOL_T1         /**< T = 1, block*/
-} TelSimSapProtocol;
-
-/**
- * This data structure gives the SAP ATR response data information.
- */
-typedef struct {
-       unsigned int atr_len; /**<  SAP ATR response data length */
-       unsigned char atr[TEL_SAP_ATR_LEN_MAX]; /**<  SAP ATR response data */
-} TelSapAtr;
-
-/**
- * This data structure is used to transfer the SAP APDU command.
- */
-typedef struct {
-       unsigned int apdu_len;  /**<  SAP APDU length */
-       unsigned char apdu[TEL_SAP_APDU_LEN_MAX];  /**<  SAP APDU data */
-} TelSapApdu;
-
-/**
- * This data structure gives the SAP APDU response.
- */
-typedef struct {
-       unsigned int apdu_resp_len; /**<  SAP APDU response data length */
-       unsigned char apdu_resp[TEL_SAP_APDU_RESP_LEN_MAX]; /**<  SAP APDU response data */
-} TelSapApduResp;
-
-/**
- *  \defgroup TAPI_EVENT TAPI Event IDs
- *  @{
- */
-
-/**
- *  \defgroup TEL_EVENT_SAP SAP Event IDs
- *  @{
- */
-
-/**
- *  @hideinitializer
- *  @brief SAP status
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SAP_STATUS
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SAP_STATUS
- *  @retval data \ref TelSapCardStatus
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SAP_STATUS                            TELEPHONY_SAP_INTERFACE":Status"
-
-/**
- *  @hideinitializer
- *  @brief SAP disconnect type
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SAP_DISCONNECT
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SAP_DISCONNECT
- *  @retval data \ref TelSapDisconnectType
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SAP_DISCONNECT                        TELEPHONY_SAP_INTERFACE":Disconnect"
-
-/** @}*/
-/** @}*/
-
-#ifdef __cplusplus
-}
-#endif
-
-/** @}*/
-
-#endif /* __TEL_SAP_H__ */
diff --git a/include/common/tel_sat.h b/include/common/tel_sat.h
deleted file mode 100644 (file)
index 58e819c..0000000
+++ /dev/null
@@ -1,1813 +0,0 @@
-/*
- * tel-headers
- *
- * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
- * Copyright (c) 2013 Intel Corporation. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __TEL_SAT_H__
-#define __TEL_SAT_H__
-
-#include <glib.h>
-#include <tel_if.h>
-#include <tel_call.h>
-#include <tel_ss.h>
-
-/**
-*  @addtogroup TAPI_SAT
-*  @{
-*
-*  @file tel_sat.h
-*  @brief TAPI sat Interface
-*/
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define TELEPHONY_SAT_INTERFACE TELEPHONY_SERVICE".Sat"
-
-#define TEL_SAT_DEF_TEXT_STRING_LEN_MAX        500 /**< max length for Text String  */
-#define TEL_SAT_DEF_TITLE_LEN_MAX      50 /**< max length for Menu Title */
-#define TEL_SAT_DEF_ITEM_STR_LEN_MAX   50 /**< max length for default item string */
-#define TEL_SAT_TEXT_STRING_LEN_MAX            500 /**< max length for text string */
-#define TEL_SAT_DEF_BIT_MASK_CONTACT   0x01 /**< Bit Mask for Contact */
-#define TEL_SAT_DEF_BIT_MASK_MSG       0x02 /**< Bit Mask for Msg */
-#define TEL_SAT_DEF_BIT_MASK_OTHER     0x04 /**< Bit Mask for Psh */
-#define TEL_SAT_REFRESH_FILE_LIST              20 /**< Refresh File List */
-#define TEL_SAT_DEF_SS_LEN_MAX 250 /**< max length for SS */
-#define TEL_SAT_DEF_USSD_LEN_MAX       250 /**< max length for USSD */
-#define TEL_SAT_DIALING_NUMBER_LEN_MAX 200 /**< max length for dailing number */
-#define TEL_SAT_ALPHA_ID_LEN_MAX       255     /**< max length of  alpha identifier */
-#define TEL_SAT_SUB_ADDR_LEN_MAX       30 /**< max length for Sub address */
-#define TEL_SAT_CCP_DATA_LEN_MAX       30 /**< max length of ccp data */
-#define TEL_SAT_SS_STRING_LEN_MAX      160 /**< max length for SS string */
-#define TEL_SAT_USSD_STRING_LEN_MAX    255 /**< max length for USSD string */
-#define TEL_SAT_ITEM_TEXT_LEN_MAX      45 /**< max length of item text */
-#define TEL_SAT_SMS_TPDU_SMS_DATA_LEN_MAX      175 /**< max length for SMS TPDU SMS data */
-#define TEL_SAT_FILE_ID_LIST_MAX_COUNT 255 /**< max length for file id list */
-#define TEL_SAT_ITEMS_NEXT_ACTION_INDI_LIST_MAX_COUNT  50 /**< max count of items next action indication list */
-#define TEL_SAT_EVENT_LIST_MAX 17 /**< max count of event list */
-#define TEL_SAT_IMG_DATA_FILE_PATH_LEN_MAX     50 /**< max length of image data file name (Icon, CLUT) */
-#define TEL_SAT_ICON_LIST_MAX_COUNT    50 /**< max count of icon list */
-#define TEL_SAT_DTMF_STRING_LEN_MAX    30 /**< max length of dtmf string */
-#define TEL_SAT_URL_LEN_MAX    129 /**< max length of URL*/
-#define TEL_SAT_PROVISIONING_FILE_PATH_LEN_MAX 50 /**< max length of provisioning file path */
-#define TEL_SAT_CHANNEL_DATA_STRING_LEN_MAX    255 /**< max length for channel data string */
-#define TEL_SAT_OTHER_ADDR_LEN_MAX     30 /**< max length of other address */
-#define TEL_SAT_NET_ACC_NAM_LEN_MAX    30 /**< max length of net acc name */
-#define TEL_SAT_REMOTE_ENTITY_ADDR_LEN_MAX     50 /**< max length of remote entity address */
-#define TEL_SAT_ITEM_TEXT_ATTRIBUTES_LIST_MAX_COUNT    50 /**< max count of item text attributes list */
-#define TEL_SAT_MENU_ITEM_COUNT_MAX    40 /**< max count for Menu items */
-
-/**
- * @enum TelSatResult
- * Response (Result) codes
-*/
-typedef enum {
-       TEL_SAT_RESULT_SUCCESS, /**< Operation completed successfully */
-       TEL_SAT_RESULT_FAILURE, /**< Operation Failed */
-       TEL_SAT_RESULT_INVALID_PARAMETER, /**< Invalid input parameters */
-       TEL_SAT_RESULT_MEMORY_FAILURE, /**< Memory allocation failed */
-       TEL_SAT_RESULT_OPERATION_NOT_SUPPORTED, /**< Operation not supported */
-       TEL_SAT_RESULT_UNKNOWN_FAILURE, /**< Unknown failure */
-
-       TEL_SAT_RESULT_REQUIRED_VALUE_MISSING, /**< Required value missing */
-       TEL_SAT_RESULT_COMMAND_NOT_UNDERSTOOD, /**< Command not understood by ME */
-       TEL_SAT_RESULT_BEYOND_ME_CAPABILITY /**< Beyond ME capability */
-} TelSatResult;
-
-/**
- * @enum TelSatUiUserConfirmType
- * This enumeration defines UI user confirm types
-*/
-typedef enum {
-       TEL_SAT_USER_CONFIRM_YES, /**<This Enum Informs That user confirms yes */
-       TEL_SAT_USER_CONFIRM_NO_OR_CANCEL, /**<This enum informs that user confirms no/cancel */
-       TEL_SAT_USER_CONFIRM_HELP_INFO, /**<This enum informs that user wants help information */
-       TEL_SAT_USER_CONFIRM_END, /**<This enum informs that user confirms end */
-       TEL_SAT_USER_CONFIRM_TIMEOUT, /**<This enum informs that user did not respond */
-} TelSatUiUserConfirmType;
-
-/**
- * @enum TelSatUiDisplayStatusType
- * This enumeration defines the UI Display Status.
- */
-typedef enum
-{
-       TEL_SAT_DISPLAY_SUCCESS = 0x00, /**< This enum informs  UI display success */
-       TEL_SAT_DISPLAY_FAIL = 0x01, /**< This enum informs  UI display failure */
-}TelSatUiDisplayStatusType;
-
-/**
- * @enum TelSatRefreshAppType
- * This enumeration defines the Refresh Application Type.
- */
- typedef enum
-{
-       TEL_SAT_REFRESH_CONTACT = 0x00,  /**< refresh application type - Phonebook */
-       TEL_SAT_REFRESH_MSG, /**< refresh application type - SMS */
-       TEL_SAT_REFRESH_OTHER, /**< refresh application type - other */
-       TEL_SAT_REFRESH_MAX      /**< Maximum Enumeration Value */
-}TelSatRefreshAppType;
-
-/**
- * @enum TelSatCallCtrlType
- * This enumeration defines Call Control Type.
- */
-typedef enum
-{
-       TEL_SAT_CALL_CNF_NONE = 0x00, /**< call control confirm type - None */
-       TEL_SAT_CALL_CNF_CALL, /**< call control confirm type - call */
-       TEL_SAT_CALL_CNF_SS, /**< call control confirm type - ss */
-       TEL_SAT_CALL_CNF_USSD, /**< call control confirm type - ussd */
-       TEL_SAT_CALL_CNF_MAX /**< Maximum Enumeration Value */
-}TelSatCallCtrlType;
-
-/**
- * @enum TelSatProactiveCmdType
- * This enumeration defines Proactive command types
-*/
-typedef enum {
-       TEL_SAT_PROATV_CMD_NONE = 0x00, /**< command type - None */
-       TEL_SAT_PROATV_CMD_REFRESH = 0x01, /**< command type - refresh */
-       TEL_SAT_PROATV_CMD_MORE_TIME = 0x02, /**< command type - more time      */
-       TEL_SAT_PROATV_CMD_SETUP_EVENT_LIST = 0x05, /**< command type - setup event list */
-       TEL_SAT_PROATV_CMD_SETUP_CALL = 0x10, /**<      command type - setup call */
-       TEL_SAT_PROATV_CMD_SEND_SS = 0x11, /**< command type - send ss */
-       TEL_SAT_PROATV_CMD_SEND_USSD = 0x12, /**< command type - send ussd       */
-       TEL_SAT_PROATV_CMD_SEND_SMS = 0x13, /**< command type - send sms */
-       TEL_SAT_PROATV_CMD_SEND_DTMF = 0x14, /**< command type - send dtmf      */
-       TEL_SAT_PROATV_CMD_LAUNCH_BROWSER = 0x15, /**< command type - launch browser     */
-       TEL_SAT_PROATV_CMD_PLAY_TONE = 0x20, /**< command type - play tone */
-       TEL_SAT_PROATV_CMD_DISPLAY_TEXT = 0x21, /**< command type - display text */
-       TEL_SAT_PROATV_CMD_GET_INKEY = 0x22, /**< command type - get inkey */
-       TEL_SAT_PROATV_CMD_GET_INPUT = 0x23, /**< command type - get input */
-       TEL_SAT_PROATV_CMD_SELECT_ITEM = 0x24, /**< command type - select item */
-       TEL_SAT_PROATV_CMD_SETUP_MENU = 0x25, /**< command type - setup menu */
-       TEL_SAT_PROATV_CMD_PROVIDE_LOCAL_INFO = 0x26, /**< command type - provide local info */
-       TEL_SAT_PROATV_CMD_SETUP_IDLE_MODE_TEXT = 0x28, /**< command type - setup idle mode text */
-       TEL_SAT_PROATV_CMD_LANGUAGE_NOTIFICATION = 0x35, /**< command type - language notification */
-       TEL_SAT_PROATV_CMD_OPEN_CHANNEL = 0x40, /**< command type - open channel -class e */
-       TEL_SAT_PROATV_CMD_CLOSE_CHANNEL = 0x41, /**< command type - close channel - class e */
-       TEL_SAT_PROATV_CMD_RECEIVE_DATA = 0x42, /**< command type - receive data -class e */
-       TEL_SAT_PROATV_CMD_SEND_DATA = 0x43, /**< command type - send data */
-       TEL_SAT_PROATV_CMD_GET_CHANNEL_STATUS = 0x44, /**< command type - get channel status -class e */
-       TEL_SAT_PROATV_CMD_TYPE_END_PROACTIVE_SESSION = 0xFE, /**< command type - end proactive session */
-       TEL_SAT_PROATV_CMD_RESERVED = 0xFF /**< command type - reserved */
-} TelSatProactiveCmdType;
-
-/**
- * @enum TelSatAlphabetFormatType
- * This enumeration defines Alphabet format type
-*/
-typedef enum {
-       TEL_SAT_ALPHABET_FORMAT_SMS_DEFAULT = 0x00, /**< Alphabet type -SMS default format */
-       TEL_SAT_ALPHABET_FORMAT_8BIT_DATA = 0x01, /**< Alphabet type -8 bit format data */
-       TEL_SAT_ALPHABET_FORMAT_UCS2 = 0x02, /**< Alphabet type -UCS2 format */
-       TEL_SAT_ALPHABET_FORMAT_RESERVED = 0x03 /**< Alphabet type -format reserved */
-} TelSatAlphabetFormatType;
-
-/**
- * @enum TelSatMsgClassType
- * This enumeration defines message class types
-*/
-typedef enum {
-       TEL_SAT_MSG_CLASS_NONE = 0x00, /**< class none */
-       TEL_SAT_MSG_CLASS_0 = 0x01, /**< class 0 */
-       TEL_SAT_MSG_CLASS_1, /**< class 1 Default meaning:ME-specific */
-       TEL_SAT_MSG_CLASS_2, /**< class 2 SIM specific message */
-       TEL_SAT_MSG_CLASS_3, /**< class 3 Default meaning: TE specific */
-       TEL_SAT_MSG_CLASS_RESERVED = 0xFF /**< class reserved */
-} TelSatMsgClassType;
-
-/**
- * @enum TelSatCallCtrlResultType
- * This enum indicates the result of call control by SIM.
- */
-typedef enum {
-       TEL_SAT_CALL_CTRL_R_ALLOWED_NO_MOD = 0, /**<    call control result type -  ALLOWED WITH NO MOD */
-       TEL_SAT_CALL_CTRL_R_NOT_ALLOWED = 1, /**< call control result type -  NOT ALLOWED */
-       TEL_SAT_CALL_CTRL_R_ALLOWED_WITH_MOD = 2, /**< call control result type -  ALLOWED WITH MOD     */
-       TEL_SAT_CALL_CTRL_R_RESERVED = 0xFF /**< call control result type -  RESERVED */
-} TelSatCallCtrlResultType;
-
-/**
- * @enum TelSatCallType
- * This enum indicates the SAT call type
- */
-typedef enum {
-       TEL_SAT_CALL_TYPE_MO_VOICE = 0X00,      /**<    call type -mo voice */
-       TEL_SAT_CALL_TYPE_MO_SMS, /**< call type - mo sms */
-       TEL_SAT_CALL_TYPE_SS, /**< call type -  ss */
-       TEL_SAT_CALL_TYPE_USSD, /**< call type -  ussd */
-       TEL_SAT_PDP_CNTXT_ACT, /**< call type -  pdp context action */
-       TEL_SAT_CALL_TYPE_MAX /**< call type -  max */
-}TelSatCallType;
-
-/**
- * @enum TelSatUseInputAlphabetType
- * This is associated with the command qualifier for get input.
- */
-typedef enum {
-       TEL_SAT_USER_INPUT_ALPHABET_TYPE_SMS_DEFAULT = 1, /**< command qualifier for  ALPHABET TYPE SMS DEFAULT */
-       TEL_SAT_USER_INPUT_ALPHABET_TYPE_UCS2 = 2 /**< command qualifier for  ALPHABET TYPE UCS2 */
-} TelSatUseInputAlphabetType;
-
-/**
- * @enum TelSatResultType
- * This enumeration defines sat result types
-*/
-typedef enum {
-       TEL_SAT_RESULT_SUCCESS_RETURN = 0x0, /**< command performed successfully */
-       TEL_SAT_RESULT_SUCCESS_WITH_PARTIAL_COMPREHENSION = 0x01, /**< command performed with partial comprehension */
-       TEL_SAT_RESULT_SUCCESS_WITH_MISSING_INFO = 0x02, /**< command performed, with missing information */
-
-       TEL_SAT_RESULT_REFRESH_PERFORMED_WITH_ADDITIONAL_EFS_READ = 0x03, /**< REFRESH PERFORMED WITH ADDITIONAL EFS READ */
-       TEL_SAT_RESULT_SUCCESS_BUT_REQUESTED_ICON_NOT_DISPLAYED = 0x04, /**<     command performed but REQUESTED ICON NOT DISPLAYED */
-       TEL_SAT_RESULT_SUCCESS_BUT_MODIFIED_BY_CALL_CONTROL_BY_SIM = 0x05, /**< command performed but MODIFIED BY CALL CONTROL BY SIM */
-       TEL_SAT_RESULT_SUCCESS_LIMITED_SERVICE = 0x06, /**< command performed with LIMITED SERVICE */
-       TEL_SAT_RESULT_SUCCESS_WITH_MODIFICATION = 0x07, /**< command performed with MODIFICATION */
-       TEL_SAT_RESULT_REFRESH_PRFRMD_BUT_INDICATED_USIM_NOT_ACTIVE = 0x08, /**< REFRESH PERFORMED BUT INDICATED USIM NOT ACTIVE */
-       TEL_SAT_RESULT_SUCCESS_BUT_TONE_NOT_PLAYED = 0x09, /**< command performed successfully, tone not played */
-
-       TEL_SAT_RESULT_PROACTIVE_SESSION_TERMINATED_BY_USER = 0x10, /**< proactive sim application session terminated by user    */
-       TEL_SAT_RESULT_BACKWARD_MOVE_BY_USER = 0x11, /**< backward move in the proactive sim application session request by the user */
-       TEL_SAT_RESULT_NO_RESPONSE_FROM_USER = 0x12, /**< no response from user */
-
-       TEL_SAT_RESULT_HELP_INFO_REQUIRED_BY_USER = 0x13, /**< HELP INFO REQUIRED BY USER */
-       TEL_SAT_RESULT_USSD_OR_SS_TRANSACTION_TERMINATED_BY_USER = 0x14, /**< USSD OR SS TRANSACTION TERMINATED BY USER */
-
-       TEL_SAT_RESULT_ME_UNABLE_TO_PROCESS_COMMAND = 0x20, /**<        ME currently unable to process command  */
-       TEL_SAT_RESULT_NETWORK_UNABLE_TO_PROCESS_COMMAND = 0x21, /**< Network currently unable to process command */
-       TEL_SAT_RESULT_USER_DID_NOT_ACCEPT_CALL_SETUP_REQ = 0x22, /**< User did not accept call setup request */
-       TEL_SAT_RESULT_USER_CLEAR_DOWN_CALL_BEFORE_CONN = 0x23, /**< User cleared down call before connection or network released */
-
-       TEL_SAT_RESULT_INTERACTION_WITH_CC_BY_SIM_IN_TMP_PRBLM = 0x25, /**< INTERACTION WITH CALL CONTROL BY SIM IN TEMPORARY PROBLEM */
-       TEL_SAT_RESULT_LAUNCH_BROWSER_GENERIC_ERROR_CODE = 0x26, /**< LAUNCH BROWSER GENERIC ERROR CODE */
-
-       TEL_SAT_RESULT_BEYOND_ME_CAPABILITIES = 0x30, /**< command beyond ME's capabilities */
-       TEL_SAT_RESULT_COMMAND_TYPE_NOT_UNDERSTOOD_BY_ME = 0x31, /**< command type not understood by ME */
-       TEL_SAT_RESULT_COMMAND_DATA_NOT_UNDERSTOOD_BY_ME = 0x32, /**< command data not understood by ME */
-       TEL_SAT_RESULT_COMMAND_NUMBER_NOT_KNOWN_BY_ME = 0x33, /**<      command number not known by ME */
-       TEL_SAT_RESULT_SS_RETURN_ERROR = 0x34, /**< SS return error */
-       TEL_SAT_RESULT_SMS_RP_ERROR = 0x35, /**< SMS rp-error */
-       TEL_SAT_RESULT_ERROR_REQUIRED_VALUES_ARE_MISSING = 0x36, /**< Error, required values are missing */
-
-       TEL_SAT_RESULT_USSD_RETURN_ERROR = 0x37, /**<   USSD_RETURN_ERROR */
-       TEL_SAT_RESULT_INTRCTN_WITH_CC_OR_SMS_CTRL_PRMNT_PRBLM = 0x39, /**<     INTERACTION WITH CALL CONTROL OR SMS CONTROL PERMANENT PROBLEM */
-       TEL_SAT_RESULT_BEARER_INDEPENDENT_PROTOCOL_ERROR = 0x3A, /**< BEARER INDEPENDENT PROTOCOL ERROR */
-       TEL_SAT_RESULT_FRAMES_ERROR = 0x3C, /**< FRAMES ERROR */
-} TelSatResultType;
-
-/**
- * @enum TelSatMeProblemType
- * This enumeration defines ME problem types
-*/
-typedef enum {
-       TEL_SAT_ME_PROBLEM_NO_SPECIFIC_CAUSE = 0x0, /**< ME problem with NO SPECIFIC CAUSE */
-       TEL_SAT_ME_PROBLEM_SCREEN_BUSY = 0x01, /**< ME problem with SCREEN BUSY */
-       TEL_SAT_ME_PROBLEM_ME_BUSY_ON_CALL = 0x02, /**< ME problem with ME BUSY ON CALL */
-       TEL_SAT_ME_PROBLEM_ME_BUSY_ON_SS = 0x03, /**< ME problem with ME_BUSY ON SS */
-       TEL_SAT_ME_PROBLEM_NO_SERVICE = 0x04, /**<      ME problem with NO SERVICE */
-       TEL_SAT_ME_PROBLEM_ACCESS_CONTROL_CLASS_BAR = 0x05, /**< ME problem with ACCESS CONTROL CLASS BAR */
-       TEL_SAT_ME_PROBLEM_RADIO_RES_NOT_GRANTED = 0x06, /**< ME problem with RADIO RES NOT GRANTED */
-       TEL_SAT_ME_PROBLEM_NOT_IN_SPEECH_CALL = 0x07, /**< ME problem with NOT IN SPEECH CALL */
-       TEL_SAT_ME_PROBLEM_ME_BUSY_ON_USSD = 0x08, /**< ME problem with ME BUSY ON USSD */
-       TEL_SAT_ME_PROBLEM_ME_BUSY_ON_SEND_DTMF_CMD = 0x09, /**<        ME problem with ME BUSY ON SEND DTMF CMD */
-       TEL_SAT_ME_PROBLEM_NO_USIM_ACTIVE = 0x0A, /**< ME problem with NO USIM ACTIVE */
-       TEL_SAT_ME_PROBLEM_INVALID = 0xFF /**< ME problem with INVALID */
-} TelSatMeProblemType;
-
-/**
- * @enum TelSatCallControlResult
- * This enumeration defines call control result types
-*/
-typedef enum {
-       TEL_SAT_CALL_CTRL_RESULT_ALLOWED_NO_MOD = 0x00, /**< call control result type -ALLOWED NO MOD */
-       TEL_SAT_CALL_CTRL_RESULT_NOT_ALLOWED = 0x01, /**< call control result type -NOT ALLOWED */
-       TEL_SAT_CALL_CTRL_RESULT_ALLOWED_WITH_MOD = 0x02, /**< call control result type -ALLOWED WITH MOD */
-       TEL_SAT_CALL_CTRL_RESULT_RESERVED /**< call control result type -RESERVED */
-} TelSatCallControlResult;
-
-/**
- * @enum TelSatTypeOfNum
- * This enumeration defines sat type of number
-*/
-typedef enum {
-       TEL_SAT_TON_UNKNOWN = 0,                        /*< unknown */
-       TEL_SAT_TON_INTERNATIONAL = 1,          /*< international number */
-       TEL_SAT_TON_NATIONAL = 2,                       /*< national number */
-       TEL_SAT_TON_NETWORK_SPECIFIC = 3,       /*< network specific number */
-       TEL_SAT_TON_DEDICATED_ACCESS = 4,       /*< subscriber number */
-       TEL_SAT_TON_ALPHA_NUMERIC = 5,          /*< alphanumeric, GSM 7-bit default alphabet) */
-       TEL_SAT_TON_ABBREVIATED_NUMBER = 6,     /*< abbreviated number */
-       TEL_SAT_TON_RESERVED_FOR_EXT = 7        /*< reserved for extension */
-} TelSatTypeOfNum;
-
-/**
- * @enum TelSatNumberingPlanIdentity
- * This enumeration defines numbering plan identity
-*/
-typedef enum {
-       TEL_SAT_NPI_UNKNOWN = 0,                                /*< Unknown */
-       TEL_SAT_NPI_ISDN_TEL = 1,                               /*< ISDN Telephone numbering plan */
-       TEL_SAT_NPI_DATA_NUMBERING_PLAN = 3,    /*< Data numbering plan */
-       TEL_SAT_NPI_TELEX = 4,                                  /*< Telex numbering plan */
-       TEL_SAT_NPI_SVC_CNTR_SPECIFIC_PLAN = 5, /*< Service Center Specific plan */
-       TEL_SAT_NPI_SVC_CNTR_SPECIFIC_PLAN2 = 6,/*< Service Center Specific plan */
-       TEL_SAT_NPI_NATIONAL = 8,                               /*< National numbering plan */
-       TEL_SAT_NPI_PRIVATE = 9,                                /*< Private numbering plan */
-       TEL_SAT_NPI_ERMES_NUMBERING_PLAN = 10,  /*< ERMES numbering plan */
-       TEL_SAT_NPI_RESERVED_FOR_EXT = 0xF              /*< Reserved for extension */
-} TelSatNumberingPlanIdentity;
-
-/**
- * @enum TelSatDeviceIdentitiesTagType
- * This enumeration defines device identities tag types
-*/
-typedef enum {
-       TEL_SAT_DEVICE_ID_KEYPAD = 0x01, /**< device identities tag type -ID KEYPAD */
-       TEL_SAT_DEVICE_ID_DISPLAY = 0x02, /**< device identities tag type -ID DISPLAY */
-       TEL_SAT_DEVICE_ID_EARPIECE = 0x03, /**< device identities tag type -ID EARPIECE */
-       /* 21-27 for channel */
-       TEL_SAT_DEVICE_ID_SIM = 0x81, /**< device identities tag type -ID SIM */
-       TEL_SAT_DEVICE_ID_ME = 0x82, /**< device identities tag type -ID ME */
-       TEL_SAT_DEVICE_ID_NETWORK = 0x83, /**< device identities tag type -ID NETWORK */
-       TEL_SAT_DEVICE_ID_RESERVED = 0XFF /**< device identities tag type -ID RESERVED */
-} TelSatDeviceIdentitiesTagType;
-
-/**
- * @enum TelSatTimeUnitType
- * This enumeration defines time unit types
-*/
-typedef enum {
-       TEL_SAT_TIME_UNIT_MINUTES = 0x0, /**< Time unit type -MINUTES */
-       TEL_SAT_TIME_UNIT_SECONDS = 0x01, /**< Time unit type -SECONDS */
-       TEL_SAT_TIME_UNIT_TENTHS_OF_SECONDS     = 0x02, /**< Time unit type -TENTHS_OF_SECONDS */
-       TEL_SAT_TIME_UNIT_RESERVED       = 0xFF /**< Time unit type -RESERVED */
-} TelSatTimeUnitType;
-
-/**
- * @enum TelSatSmsTpduType
- * This enumeration defines SMS TPDU types
-*/
-typedef enum {
-       TEL_SAT_SMS_TPDU_TYPE_DELIVER_TPDU = 0, /**< SMS TPDU type -DELIVER TPDU */
-       TEL_SAT_SMS_TPDU_TYPE_DELIVER_RPT = 1, /**< SMS TPDU type -DELIVER RPT */
-       TEL_SAT_SMS_TPDU_TYPE_SUBMIT_TPDU = 2, /**< SMS TPDU type -SUBMIT TPDU */
-       TEL_SAT_SMS_TPDU_TYPE_SUBMIT_RPT        = 3, /**< SMS TPDU type -SUBMIT RPT */
-       TEL_SAT_SMS_TPDU_TYPE_STATUS_RPT        = 4, /**< SMS TPDU type -STATUS RPT */
-       TEL_SAT_SMS_TPDU_TYPE_TPDU_CMD = 5 /**< SMS TPDU type -TPDU CMD */
-} TelSatSmsTpduType;
-
-/**
- * @enum TelSatEventListType
- * This enumeration defines event list types
-*/
-typedef enum {
-       TEL_SAT_EVENT_MT_CALL = 0, /**< event type -MT CALL */
-       TEL_SAT_EVENT_CALL_CONNECTED = 1, /**< event type -CALL CONNECTED */
-       TEL_SAT_EVENT_CALL_DISCONNECTED = 2, /**< event type -CALL DISCONNECTED */
-       TEL_SAT_EVENT_LOCATION_STATUS = 3, /**< event type -LOCATION STATUS */
-       TEL_SAT_EVENT_USER_ACTIVITY = 4, /**< event type - USER_ACTIVITY */
-       TEL_SAT_EVENT_IDLE_SCREEN_AVAILABLE = 5, /**< event type - IDLE SCREEN AVAILABLE */
-       TEL_SAT_EVENT_CARD_READER_STATUS = 6, /**< event type -CARD READER STATUS */
-       TEL_SAT_EVENT_LANGUAGE_SELECTION = 7, /**<      event type - LANGUAGE SELECTION */
-       TEL_SAT_EVENT_BROWSER_TERMINATION = 8, /**< event type - BROWSER TERMINATION */
-       TEL_SAT_EVENT_DATA_AVAILABLE = 9, /**< event type -DATA AVAILABLE */
-       TEL_SAT_EVENT_CHANNEL_STATUS = 0x0A, /**< event type - CHANNEL STATUS    */
-       TEL_SAT_EVENT_ACCESS_TECHNOLOGY_CHANGED = 0x0B, /**< event type -TECHNOLOGY CHANGED */
-       TEL_SAT_EVENT_DISPLAY_PARAMETERS_CHANGED = 0x0C, /**< event type -PARAMETERS CHANGED */
-       TEL_SAT_EVENT_LOCAL_CONNECTION = 0x0D, /**< event type -LOCAL CONNECTION */
-       TEL_SAT_EVENT_NW_SEARCH_MODE_CHANGED = 0X0E, /**< event type -NW SEARCH MODE CHANGED */
-       TEL_SAT_EVENT_BROWSING_STATUS = 0X0F, /**< event type -BROWSING STATUS */
-       TEL_SAT_EVENT_FRAMES_INFORMATION_CHANGED = 0X10, /**< event type -FRAMES INFORMATION CHANGED */
-       TEL_SAT_EVENT_RESERVED_FOR_3GPP = 0X11, /**< event type -RESERVED FOR 3GPP */
-       TEL_SAT_EVENT_UNKNOWN = 0xFF /**< event type - UNKNOWN */
-} TelSatEventListType;
-
-/**
- * @enum TelSatCallCtrlStringType
- * This enumeration defines call control string type.
- */
-typedef enum {
-       TEL_SAT_CC_VOICE = 0x00, /**< Call Control String Type - voice */
-       TEL_SAT_CC_SS = 0x01, /**< Call Control String Type - ss */
-       TEL_SAT_CC_USSD = 0x02, /**< Call Control String Type - ussd */
-       TEL_SAT_CC_NONE = 0xFF /**< Call Control String Type - none */
-} TelSatCallCtrlStringType;
-
-/**
- * @enum TelSatInkeyType
- * This enumeration defines inkey type
-*/
-typedef enum {
-       TEL_SAT_INKEY_TYPE_CHARACTER_SET_ENABLED = 0, /**< Display inkey type -character set enabled */
-       TEL_SAT_INKEY_TYPE_YES_NO_REQUESTED = 1 /**< Display inkey type -yes/No requested */
-} TelSatInkeyType;
-
-/**
- * @enum TelSatToneType
- * This enumeration defines tone types
-*/
-typedef enum {
-       /* standard supervisory tones */
-       TEL_SAT_DIAL_TONE = 0x01, /**<  TONE TYPE DIAL TONE */
-       TEL_SAT_CALLED_SUBSCRIBER_BUSY = 0x02, /**< TONE TYPE CALLED SUBSCRIBER BUSY */
-       TEL_SAT_CONGESTION = 0x03, /**< TONE TYPE CONGESTION */
-       TEL_SAT_RADIO_PATH_ACK = 0x04, /**< TONE TYPE RADIO PATH ACK */
-       TEL_SAT_RADIO_PATH_NOT_AVAILABLE_CALL_DROPPED = 0x05, /**< TONE TYPE RADIO PATH NOT AVAILABLE CALL DROPPED */
-       TEL_SAT_ERR_SPECIAL_INFO = 0x06, /**<   TONE TYPE ERR SPECIAL INFO */
-       TEL_SAT_CALL_WAITING_TONE = 0x07, /**< TONE TYPE CALL WAITING TONE */
-       TEL_SAT_RINGING_TONE = 0x08, /**< TONE TYPE RINGING TONE */
-
-       /* ME proprietary tones */
-       TEL_SAT_GENERAL_BEEP = 0x10, /**<       TONE TYPE GENERAL BEEP */
-       TEL_SAT_POSITIVE_ACK_TONE = 0x11, /**< TONE TYPE POSITIVE ACK TONE */
-       TEL_SAT_NEGATIVE_ACK_OR_ERROR_TONE = 0x12, /**< TONE TYPE NEGATIVE ACK OR ERROR TONE */
-       TEL_SAT_RINGING_TONE_SLCTD_BY_USR_FOR_INCOM_SPEECH_CALL = 0x13, /**<    TONE TYPE RINGING TONE SELECTED BY USER FOR INCOMING SPEECH CALL */
-       TEL_SAT_ALERT_TONE_SELECTED_BY_USER_FOR_INCOMING_SMS = 0x14, /**< TONE TYPE ALERT TONE SELECTED BY USER FOR INCOMING SMS */
-       TEL_SAT_CRITICAL_ALERT = 0x15, /**< TONE TYPE CRITICAL ALERT */
-
-       /* Themed tones */
-       TEL_SAT_HAPPY_TONE = 0x30, /**< TONE TYPE HAPPY TONE */
-       TEL_SAT_SAD_TONE = 0x31, /**< TONE TYPE SAD TONE */
-       TEL_SAT_URGENT_ACTION_TONE = 0x32, /**< TONE TYPE URGENT ACTION TONE */
-       TEL_SAT_QUESTION_TONE = 0x33, /**< TONE TYPE QUESTION TONE */
-       TEL_SAT_MESSAGE_RECEIVED_TONE = 0x34, /**< TONE TYPE MESSAGE RECEIVED TONE */
-
-       /* Melody tones */
-       TEL_SAT_MELODY_1 = 0x40, /**<   TONE TYPE MELODY 1 */
-       TEL_SAT_MELODY_2 = 0x41, /**<   TONE TYPE MELODY 2 */
-       TEL_SAT_MELODY_3 = 0x42, /**<   TONE TYPE MELODY 3 */
-       TEL_SAT_MELODY_4 = 0x43, /**<   TONE TYPE MELODY 4 */
-       TEL_SAT_MELODY_5 = 0x44, /**<   TONE TYPE MELODY 5 */
-       TEL_SAT_MELODY_6 = 0x45, /**<   TONE TYPE MELODY 6 */
-       TEL_SAT_MELODY_7 = 0x46, /**<   TONE TYPE MELODY 7 */
-       TEL_SAT_MELODY_8 = 0x47, /**<   TONE TYPE MELODY 8 */
-
-       TEL_SAT_TONE_TYPE_RESERVED = 0xFF /**< TONE TYPE RESERVED */
-} TelSatToneType;
-
-/**
- * @enum TelSatBcRepeatIndicatorType
- * This enumeration defines BC repeat indicator types
-*/
-typedef enum {
-       TEL_SAT_BC_REPEAT_INDI_ALTERNATE_MODE = 0x01, /**< BC REPEAT ALTERNATE MODE */
-       TEL_SAT_BC_REPEAT_INDI_SEQUENTIAL_MODE = 0x03, /**< BC REPEAT SEQUENTIAL MODE */
-       TEL_SAT_BC_REPEAT_INDI_RESERVED = 0xFF /**< RESERVED */
-} TelSatBcRepeatIndicatorType;
-
-/**
- * @enum TelSatImageCodingSchemeType
- * This enumeration defines image coding scheme types
-*/
-typedef enum {
-       TEL_SAT_SIM_IMAGE_CODING_SCHEME_BASIC = 0x11, /**< Image coding scheme type - BASIC */
-       TEL_SAT_SIM_IMAGE_CODING_SCHEME_COLOUR = 0x21, /**< Image coding scheme type - COLOUR */
-       TEL_SAT_SIM_IMAGE_CODING_SCHEME_RESERVED = 0xFF /**< Image coding scheme type - RESERVED */
-} TelSatImageCodingSchemeType;
-
-/**
- * @enum TelSatIconQualifierType
- * This enumeration defines icon qualifier types
-*/
-typedef enum {
-       TEL_SAT_ICON_QUALI_SELF_EXPLANATORY = 0, /**< Icon qualifier type - SELF EXPLANATORY */
-       TEL_SAT_ICON_QUALI_NOT_SELF_EXPLANATORY = 1, /**< Icon qualifier type - NOT SELF EXPLANATORY */
-       TEL_SAT_ICON_QUALI_RESERVED = 0xFF /**< Icon qualifier type - RESERVED */
-} TelSatIconQualifierType;
-
-/**
- * @enum TelSatBrowserIdentityType
- * This enumeration defines browser identity types
-*/
-typedef enum {
-       TEL_SAT_BROWSER_ID_DEFAULT = 0, /**< DEFAULT BROWSER */
-       TEL_SAT_BROWSER_ID_WML, /**< BROWSER WML */
-       TEL_SAT_BROWSER_ID_HTML, /**< BROWSER HTML */
-       TEL_SAT_BROWSER_ID_XHTML, /**< BROWSER XHTML */
-       TEL_SAT_BROWSER_ID_CHTML, /**<  BROWSER CHTML */
-       TEL_SAT_BROWSER_ID_RESERVED = 0xFF /**< RESERVED */
-} TelSatBrowserIdentityType;
-
-/**
- * @enum TelSatBearerListType
- * This enumeration defines bearer list types
-*/
-typedef enum {
-       TEL_SAT_BEARER_LIST_SMS = 0, /**<       BEARER SMS */
-       TEL_SAT_BEARER_LIST_CSD = 1, /**<       BEARER CSD */
-       TEL_SAT_BEARER_LIST_USSD = 2, /**< BEARER USSD  */
-       TEL_SAT_BEARER_LIST_GPRS = 3, /**< BEARER GPRS */
-       TEL_SAT_BEARER_LIST_RESERVED = 0xFF /**< BEARER RESERVED */
-} TelSatBearerListType;
-
-/**
- * @enum TelSatChannelStatusType
- * This enumeration defines channel status types
-*/
-typedef enum {
-       TEL_SAT_LINK_OR_PACKET_SERVICE_NOT_ACTIVATED, /**< channel status type -LINK OR PACKET SERVICE NOT ACTIVATED */
-       TEL_SAT_LINK_OR_PACKET_SERVICE_ACTIVATED /**< channel status type -LINK OR PACKET SERVICE ACTIVATED */
-} TelSatChannelStatusType;
-
-/**
- * @enum TelSatChannelStatusInfoType
- * This enumeration defines channel status info types
-*/
-typedef enum {
-       TEL_SAT_CHANNEL_STATUS_NO_FURTHER_INFO = 0x00, /**< channel status info type - NO FURTHER INFO */
-       TEL_SAT_CHANNEL_STATUS_LINK_DROPPED = 0x05 /**< channel status info type -LINK DROPPED */
-} TelSatChannelStatusInfoType;
-
-/**
- * @enum TelSatAddressType
- * This enumeration defines address types
-*/
-typedef enum {
-       TEL_SAT_ADDR_TYPE_IPv4 = 0x21, /**< address type - IPv4 */
-       TEL_SAT_ADDR_TYPE_IPv6 = 0x57, /**< address type - IPv6 */
-       TEL_SAT_ADDR_RESERVED = 0xFF /**< reserved */
-} TelSatAddressType;
-
-/**
- * @enum TelSatTransportProtocolType
- * This enumeration defines transport protocal types
-*/
-typedef enum {
-       TEL_SAT_TP_TYPE_UDP_UICC_CLIENT = 0x01, /**< transport protocol type- UDP UICC CLIENT */
-       TEL_SAT_TP_TYPE_TCP_UICC_CLIENT = 0x02, /**< transport protocol type-TCP UICC CLIENT */
-       TEL_SAT_TP_TYPE_TCP_UICC_SERVER = 0x03 /**< transport protocol type- TCP UICC SERVER    */
-} TelSatTransportProtocolType;
-
-/**
- * @enum TelSatRemoteEntityAddrCodingType
- * This enumeration defines remote entity address coding types
-*/
-typedef enum {
-       TEL_SAT_REMOTE_ENTITY_ADDR_CODING_TYPE_IEEE802_48BIT = 0, /**<  remote entity address coding type- IEEE802 48BIT */
-       TEL_SAT_REMOTE_ENTITY_ADDR_CODING_TYPE_IRDA_32BIT = 1, /**< remote entity address coding type- IRDA 32BIT */
-       TEL_SAT_REMOTE_ENTITY_ADDR_CODING_TYPE_RESERVED = 0xFF /**< reserved */
-} TelSatRemoteEntityAddrCodingType;
-
-/**
- * @enum TelSatLanguageInfo
- * This enumeration defines lists the language values.
- */
-typedef enum {
-       TEL_SAT_LP_GERMAN = 0x00, /**< GERMAN */
-       TEL_SAT_LP_ENGLISH = 0x01, /**< ENGLISH */
-       TEL_SAT_LP_ITALIAN = 0x02, /**< ITALIAN */
-       TEL_SAT_LP_FRENCH = 0x03, /**< FRENCH */
-       TEL_SAT_LP_SPANISH = 0x04, /**< SPANISH */
-       TEL_SAT_LP_DUTCH = 0x05, /**<   DUTCH */
-       TEL_SAT_LP_SWEDISH = 0x06, /**< SWEDISH */
-       TEL_SAT_LP_DANISH = 0x07, /**<  DANISH  */
-       TEL_SAT_LP_PORTUGUESE = 0x08, /**< PORTUGUESE   */
-       TEL_SAT_LP_FINNISH = 0x09, /**< FINNISH */
-       TEL_SAT_LP_NORWEGIAN = 0x0A, /**< NORWEGIAN */
-       TEL_SAT_LP_GREEK = 0x0B, /**< GREEK */
-       TEL_SAT_LP_TURKISH = 0x0C, /**< TURKISH */
-       TEL_SAT_LP_HUNGARIAN = 0x0D, /**< HUNGARIAN */
-       TEL_SAT_LP_POLISH = 0x0E, /**<  POLISH  */
-       TEL_SAT_LP_LANG_UNSPECIFIED = 0x0F /**< LANGUAGE UNSPECIFIED */
-} TelSatLanguageInfo;
-
-/**
- * @enum TelSatCmdQualifierLaunchBrowser
- * This enumeration defines cmd qualifier for launch browser
-*/
-typedef enum {
-       TEL_SAT_LAUNCH_BROWSER_IF_NOT_ALREADY_LAUNCHED = 0, /**<        command qualifier for  LAUNCH BROWSER */
-       TEL_SAT_LAUNCH_BROWSER_NOT_USED = 1, /**< command qualifier for  NOT USED */
-       TEL_SAT_LAUNCH_BROWSER_USE_EXISTING_BROWSER = 2, /**< command qualifier for  USE EXISTING BROWSER if secure session, do not use it */
-       TEL_SAT_LAUNCH_BROWSER_CLOSE_AND_LAUNCH_NEW_BROWSER = 3, /**<   command qualifier for CLOSE AND LAUNCH NEW BROWSER      */
-       TEL_SAT_LAUNCH_BROWSER_NOT_USED2 = 4, /**< command qualifier for  NOT USED2 */
-       TEL_SAT_LAUNCH_BROWSER_RESERVED = 0xFF /**<     reserved        */
-} TelSatCmdQualifierLaunchBrowser;
-
-/**
- * @enum TelSatCmdQualifierRefresh
- * This enumeration defines cmd qualifier for refresh cmd
-*/
-typedef enum {
-       TEL_SAT_REFRESH_SIM_INIT_AND_FULL_FCN = 0, /**< command qualifier for REFRESH SIM INIT AND FULL FILE CHANGE_NOTIFICATION */
-       TEL_SAT_REFRESH_FCN = 1, /**<   command qualifier for REFRESH FILE CHANGE NOTIFICATION */
-       TEL_SAT_REFRESH_SIM_INIT_AND_FCN = 2, /**< command qualifier for REFRESH SIM INIT AND FILE CHANGE NOTIFICATION  */
-       TEL_SAT_REFRESH_SIM_INIT = 3, /**< command qualifier for REFRESH SIM INIT */
-       TEL_SAT_REFRESH_SIM_RESET = 4, /**< command qualifier for REFRESH SIM RESET */
-       TEL_SAT_REFRESH_3G_APPLICATION_RESET = 5, /**<  command qualifier for REFRESH 3G APPLICATION RESET */
-       TEL_SAT_REFRESH_3G_SESSION_RESET = 6, /**< command qualifier for REFRESH 3G SESSION RESET       */
-       TEL_SAT_REFRESH_RESERVED = 0xFF /**< command qualifier for REFRESH RESERVED */
-} TelSatCmdQualifierRefresh;
-
-/**
- * @enum TelSatCmdQualifierProvideLocalInfo
- * This enumeration defines cmd qualifier for local info
-*/
-typedef enum {
-       TEL_SAT_LOCAL_INFO_LOCATION = 0, /**< local info cmd qualifier -location */
-       TEL_SAT_LOCAL_INFO_IMEI = 1, /**< local info cmd qualifier -IMEI */
-       TEL_SAT_LOCAL_INFO_NMR = 2, /**< local info cmd qualifier -NMR */
-       TEL_SAT_LOCAL_INFO_DATE_TIME_AND_TIMEZONE = 3, /**< local info cmd qualifier -DATE TIME AND TIMEZONE */
-       TEL_SAT_LOCAL_INFO_LANGUAGE = 4, /**< local info cmd qualifier -LANGUAGE */
-       TEL_SAT_LOCAL_INFO_TIMING_ADVANCE = 5, /**< local info cmd qualifier -TIMING ADVANCE */
-       TEL_SAT_LOCAL_INFO_ACT = 6, /**< local info cmd qualifier -ACT */
-       TEL_SAT_LOCAL_INFO_ESN = 7, /**< local info cmd qualifier -ESN */
-       TEL_SAT_LOCAL_INFO_IMEISV = 8, /* *<local info cmd qualifier -IMEISV */
-       TEL_SAT_LOCAL_INFO_MEID = 0x0B, /**< local info cmd qualifier -MEID */
-       TEL_SAT_LOCAL_INFO_RESERVED = 0xFF /* local info cmd qualifier -RESERVED */
-} TelSatCmdQualifierProvideLocalInfo;
-
-/**
- * @enum TelSatCmdQualifierSetupCall
- * This enumeration defines cmd qualifier for setup call
-*/
-typedef enum {
-       TEL_SAT_SETUP_CALL_IF_ANOTHER_CALL_NOT_BUSY = 0x00, /**< command qualifier for SETUP CALL IF ANOTHER CALL NOT BUSY       */
-       TEL_SAT_SETUP_CALL_IF_ANOTHER_CALL_NOT_BUSY_WITH_REDIAL = 0x01, /**< command qualifier for SETUP CALL IF ANOTHER CALL NOT BUSY WITH REDIAL */
-       TEL_SAT_SETUP_CALL_PUT_ALL_OTHER_CALLS_ON_HOLD = 0x02, /**< command qualifier for SETUP CALL PUTTING ALL OTHER CALLS ON HOLD */
-       TEL_SAT_SETUP_CALL_PUT_ALL_OTHER_CALLS_ON_HOLD_WITH_REDIAL = 0x03, /**< command qualifier for SETUP CALL PUTTING ALL OTHER CALLS ON HOLD WITH REDIAL */
-       TEL_SAT_SETUP_CALL_DISCONN_ALL_OTHER_CALLS = 0x04, /**< command qualifier for SETUP CALL DISCONNECTING ALL OTHER CALLS */
-       TEL_SAT_SETUP_CALL_DISCONN_ALL_OTHER_CALLS_WITH_REDIAL = 0x05, /**< command qualifier for SETUP CALL DISCONNECTING ALL OTHER CALLS WITH REDIAL */
-       TEL_SAT_SETUP_CALL_RESERVED = 0xFF /**<  command qualifier for SETUP CALL RESERVED      */
-} TelSatCmdQualifierSetupCall;
-
-/**
- * @enum TelSatCallCtrlProblemType
- * This enumeration defines call control problem types
-*/
-typedef enum {
-       TEL_SAT_CC_PROBLEM_NO_SPECIFIC_CAUSE = 0, /**< Call Control problem with no specific cause */
-       TEL_SAT_CC_PROBLEM_ACTION_NOT_ALLOWED = 1, /**< Call Control problem with action not allowed */
-       TEL_SAT_CC_PROBLEM_REQUEST_TYPE_HAS_CHANGED = 2 /**< Call Control problem with request type has changed */
-} TelSatCallCtrlProblemType;
-
-/**
- * @enum TelSatLaunchBrowserProblemType
- * This enumeration defines launch browser problem types
-*/
-typedef enum {
-       TEL_SAT_BROWSER_PROBLEM_NO_SPECIFIC_CAUSE = 0, /**<     Browser problem with no specific cause */
-       TEL_SAT_BROWSER_PROBLEM_BEARER_UNAVAILABLE = 1, /**< Browser problem with bearer unavailable */
-       TEL_SAT_BROWSER_PROBLEM_BROWSER_UNAVAILABLE = 2, /**<   Browser problem with browser unavailable */
-       TEL_SAT_BROWSER_PRBLM_ME_UNABLE_TO_READ_PROV_DATA = 3 /**< Browser problem with ME unable to read provisioning data */
-} TelSatLaunchBrowserProblemType;
-
-/**
- * @enum TelSatBrowserTerminationCauseType
- * This enumeration defines browser termination cause types
-*/
-typedef enum {
-       TEL_SAT_BROWSER_TERMINATED_BY_USER = 0, /**<    BROWSER TERMINATED BY USER */
-       TEL_SAT_BROWSER_TERMINATED_BY_ERROR = 1, /**< BROWSER TERMINATED BY ERROR */
-} TelSatBrowserTerminationCauseType;
-
-/**
- * This structure defines Result data object.
- */
-typedef struct {
-       TelSatResultType general_result; /**< general result */
-       TelSatMeProblemType me_problem; /**< additional information on general result */
-} TelSatResultInfo;
-
-/**
- * This structure defines expected user response length.
- */
-typedef struct {
-       unsigned char min; /**< user response length minimum value */
-       unsigned char max; /**< user response length maximum value */
-} TelSatRespLenInfo;
-
-/**
-* This structure defines Address Info
-*/
-typedef struct {
-       TelSatTypeOfNum ton; /**< type of number */
-       TelSatNumberingPlanIdentity npi; /**< numbering plan identity */
-       unsigned int dialing_number_len; /**< Dialing Number length */
-       char dialing_number[TEL_SAT_DIALING_NUMBER_LEN_MAX]; /**< Dialing Number */
-} TelSatAddressInfo;
-
-/**
-* This structure defines Data Coding Scheme Info
-*/
-typedef struct {
-       gboolean is_compressed_format;          /**< if FALSE, unpacked format */
-       TelSatAlphabetFormatType a_format; /**< Alphabet format type */
-       TelSatMsgClassType m_class; /**< msg class type */
-       unsigned char raw_dcs; /**< raw dcs data */
-} TelSatDataCodingSchemeInfo;
-
-/**
-* This structure defines Alpha identifier Info
-*/
-typedef struct {
-       gboolean is_exist; /**< identifier check */
-       TelSatDataCodingSchemeInfo dcs; /**< data coding scheme */
-       unsigned char alpha_data_len; /**< alpha identifier length */
-       char alpha_data[TEL_SAT_ALPHA_ID_LEN_MAX]; /**< alpha identifier info */
-} TelSatAlphaIdentifierInfo;
-
-/**
-* This structure defines the Sub Address data object.
-*/
-typedef struct {
-       unsigned int subaddress_len; /**< sub address length */
-       char subaddress[TEL_SAT_SUB_ADDR_LEN_MAX]; /**< sub address data */
-} TelSatSubAddressInfo;
-
-/**
-* This structure defines Capability configuration parameters Info
-*/
-typedef struct {
-       unsigned int data_len; /**< ccp info data length */
-       char data[TEL_SAT_CCP_DATA_LEN_MAX]; /**< ccp info data */
-} TelSatCcpInfo;
-
-/**
-* This structure defines device identities tag Info
-*/
-typedef struct {
-       TelSatDeviceIdentitiesTagType src; /**< src device identities tag type */
-       TelSatDeviceIdentitiesTagType dest; /**< dest device identities tag type */
-} TelSatDeviceIdentitiesInfo;
-
-/**
-* This structure defines duration Info
-*/
-typedef struct {
-       TelSatTimeUnitType time_unit;  /**< duration info -time unit type */
-       unsigned char time_interval; /**< duration info -time interval type */
-} TelSatDurationInfo;
-
-/**
-* This structure defines menu item Info
-*/
-typedef struct {
-       unsigned char item_id; /**< menu item info -item id */
-       unsigned char text_len; /**< menu item info -text len */
-       unsigned char text[TEL_SAT_ITEM_TEXT_LEN_MAX + 1]; /**< menu item info -text */
-} TelSatMenuItemInfo;
-
-/**
-* This structure defines Response length Info
-*/
-typedef struct {
-       unsigned char min; /**< min Response length */
-       unsigned char max; /**< max Response length */
-} TelSatResponseLength;
-
-/**
-* This structure defines SMS TPDU Info
-*/
-typedef struct {
-       TelSatSmsTpduType tpdu_type;  /**< SMS TPDU info -tpdu type */
-       unsigned int data_len; /**< SMS TPDU info -data len */
-       char data[TEL_SAT_SMS_TPDU_SMS_DATA_LEN_MAX]; /**< SMS TPDU info -data */
-} TelSatSmsTpduInfo;
-
-/**
-* This structure defines SS string Info
-*/
-typedef struct {
-       TelSatTypeOfNum ton; /**< SS string info -type of number */
-       TelSatNumberingPlanIdentity npi; /**< SS string info -numbering plan identity */
-       unsigned char string_len; /**< SS string length */
-       char ss_string[TEL_SAT_SS_STRING_LEN_MAX];      /**< SS string */
-} TelSatSsStringInfo;
-
-/**
-* This structure defines Text string Info
-*/
-typedef struct {
-       gboolean is_digit_only; /**< text type is digit check */
-       TelSatDataCodingSchemeInfo dcs; /**< text data coding scheme */
-       unsigned int string_length; /**< text string length */
-       char string[TEL_SAT_TEXT_STRING_LEN_MAX+1]; /**< text string */
-} TelSatTextTypeInfo;
-
-/**
-* This structure defines USSD string Info
-*/
-typedef struct {
-       TelSatDataCodingSchemeInfo dsc; /**< USSD string data coding scheme */
-       unsigned char string_len; /**< USSD string length */
-       char ussd_string[TEL_SAT_USSD_STRING_LEN_MAX]; /**< USSD string */
-} TelSatUssdStringInfo;
-
-/**
-* This structure defines File List Info
-*/
-typedef struct {
-       int file_count; /**< file count */
-       int file_id[TEL_SAT_FILE_ID_LIST_MAX_COUNT]; /**< file id */
-} TelSatFileListInfo;
-
-/**
-* This structure defines Location information Info
-*/
-typedef struct {
-       char mcc[3+1]; /**< MCC */
-       char mnc[3+1]; /**< MNC */
-       char lac [4+1]; /**< LAC */
-       char cell_id[4+1]; /**< cell id */
-       char extended_cell_id[4+1]; /**< extended cell id */
-} TelSatLocationInformationInfo;
-
-/**
-* This structure defines Items next action indicator List Info
-*/
-typedef struct {
-       unsigned char cnt; /**< next action indicator items count */
-       unsigned char indicator_list[TEL_SAT_ITEMS_NEXT_ACTION_INDI_LIST_MAX_COUNT]; /**< next action indicator items list */
-} TelSatItemsNextActionIndiListInfo;
-
-/**
-* This structure defines Event List Info
-*/
-typedef struct {
-       int event_list_cnt; /**< event list count */
-       TelSatEventListType evt_list[TEL_SAT_EVENT_LIST_MAX]; /**< event list type */
-} TelSatEventListInfo;
-
-/**
- * This structure defines call control strings.
- */
-typedef struct {
-       TelSatCallCtrlStringType call_ctrl_string_type; /**< call control type  */
-       union {
-               TelSatAddressInfo voice_string; /**< voice call string */
-               TelSatSsStringInfo ss_string; /**< ss string */
-               TelSatUssdStringInfo ussd_string; /**< ussd string */
-       } call_ctrl_data; /**< call ctrl data Union */
-} TelSatCallCtrlAddressStringInfo;
-
-/**
-* This structure defines Call control requested action Info
-*/
-typedef struct {
-       TelSatCallCtrlAddressStringInfo call_ctrl_add_string; /**< Call control address string info */
-       TelSatCcpInfo ccp1; /**< Call control CCP info */
-       TelSatSubAddressInfo sub_address; /**< Call control sub address info */
-       TelSatAlphaIdentifierInfo alpha_id; /**< Call control alpha identifier info */
-       TelSatBcRepeatIndicatorType bc_repeat_type; /**< Call control bc repeat indicator type info */
-       TelSatCcpInfo ccp2; /**< Call control CCP info */
-} TelSatCallCtrlRequestedActionInfo;
-
-/**
-* This structure defines Item icon Info
-*/
-typedef struct {
-       unsigned char width; /**< icon info -width */
-       unsigned char height;  /**< icon info -height */
-       TelSatImageCodingSchemeType ics; /**< icon info -image coding scheme */
-       unsigned short icon_data_len; /**< icon info -data len */
-       unsigned short clut_data_len; /**< icon info -CLUT data len */
-       char icon_file[TEL_SAT_IMG_DATA_FILE_PATH_LEN_MAX]; /**< icon info -image data file data */
-       char clut_file[TEL_SAT_IMG_DATA_FILE_PATH_LEN_MAX]; /**< icon info -clut file data */
-} TelSatIconInfo;
-
-/**
-* This structure defines Item icon identifier Info
-*/
-typedef struct {
-       gboolean is_exist; /**< icon identifier check */
-       TelSatIconQualifierType icon_qualifer; /**< icon qualifer type */
-       unsigned char icon_identifier; /**< icon identifier data */
-       TelSatIconInfo icon_info; /**< icon info data */
-} TelSatIconIdentifierInfo;
-
-/**
-* This structure defines Item icon identifier list Info
-*/
-typedef struct {
-       gboolean is_exist; /**< icon identifier list present check */
-       TelSatIconQualifierType icon_qualifer; /**< icon qualifer type */
-       unsigned char icon_cnt; /**< icon count */
-       unsigned char icon_id_list[TEL_SAT_ICON_LIST_MAX_COUNT]; /**< icon id list data */
-       TelSatIconInfo icon_info[TEL_SAT_ICON_LIST_MAX_COUNT]; /**< icon info data */
-} TelSatIconIdentifierListInfo;
-
-/**
-* This structure defines date, time and timezone Info
-*/
-typedef struct {
-       unsigned char year; /**< year */
-       unsigned char month; /**<       month */
-       unsigned char day; /**< day */
-       unsigned char hour; /**< hour */
-       unsigned char minute; /**< minute */
-       unsigned char second; /**< second */
-       unsigned char time_zone; /**< timeZone  */
-} TelSatDateTimeZoneInfo;
-
-/**
-* This structure defines Dtmf String Info
-*/
-typedef struct {
-       unsigned int dtmf_length; /**< DTMF string length */
-       char dtmf_string[TEL_SAT_DTMF_STRING_LEN_MAX]; /**< DTMF string */
-} TelSatDtmfStringInfo;
-
-/**
- * 8.48 URL
- * URL shall be coded as defined in RFC 1738 on using the "SMS 7bit default alphabet" with bit 8 set to 0.
- */
-typedef struct {
-       unsigned int url_length; /**< URL length */
-       char url[TEL_SAT_URL_LEN_MAX]; /**< URL data */
-} TelSatUrlInfo;
-
-/**
-* This structure defines Bearer List Info
-*/
-typedef struct {
-       int count; /**< Bearer List count */
-       TelSatBearerListType bear[6]; /**< Bearer List type */
-} TelSatBearerList;
-
-/**
-* This structure defines Provisioning file Info
-*/
-typedef struct {
-       unsigned int file_path_length; /**< Provisioning file path length */
-       char file_path[TEL_SAT_PROVISIONING_FILE_PATH_LEN_MAX]; /**< Provisioning file path data */
-} TelSatProvisioningFileRef;
-
-/**
-* This structure defines channel data Info
-*/
-typedef struct {
-       unsigned char data_string_len; /**< channel data string length */
-       char    data_string[TEL_SAT_CHANNEL_DATA_STRING_LEN_MAX]; /**< channel data string */
-} TelSatChannelDataInfo;
-
-/**
-* This structure defines Channel Status Info
-*/
-typedef struct {
-       unsigned char channel_id; /**< channel id */
-       TelSatChannelStatusType status; /**< channel Status Type */
-       TelSatChannelStatusInfoType status_info; /**< channel Status info Type */
-} TelSatChannelStatusInfo;
-
-/**
-* This structure defines Other Address Info
-*/
-typedef struct {
-       TelSatAddressType address_type; /**< channel address type */
-       unsigned char address_len; /**< channel address length */
-       char address[TEL_SAT_OTHER_ADDR_LEN_MAX]; /**< channel address */
-} TelSatOtherAddressInfo;
-
-/**
-* This structure defines Me Interface Transport Level Info
-*/
-typedef struct {
-       TelSatTransportProtocolType protocol_type; /**< Transport Protocol Type */
-       unsigned short port_number; /**< Transport Protocol port number */
-} TelSatSimMeInterfaceTransportLevelInfo;
-
-/**
-* This structure defines Remote Entity Address info
-*/
-typedef struct {
-       TelSatRemoteEntityAddrCodingType coding_type; /**< Remote Entity Addr Coding Type */
-       unsigned short length;  /**< Remote Entity Addr length */
-       unsigned char remote_entity_address[TEL_SAT_REMOTE_ENTITY_ADDR_LEN_MAX]; /**< Remote Entity Addr data */
-} TelSatRemoteEntityAddressInfo;
-
-/**
-* This structure defines Network access name info
-*/
-typedef struct {
-       unsigned short length; /**< Network access name length */
-       unsigned char network_access_name[TEL_SAT_NET_ACC_NAM_LEN_MAX]; /**< Network access name data */
-} TelSatNetworkAccessNameInfo;
-
-/**
-* This structure defines Item text attribute list
-*/
-typedef struct {
-       unsigned int list_cnt; /**< text attribute list count */
-       unsigned char text_attribute_list[TEL_SAT_ITEM_TEXT_ATTRIBUTES_LIST_MAX_COUNT]; /**< text attribute list data */
-} TelSatTextAttributeListInfo;
-
-
-/**
- * This structure defines the call control result ind data.
- */
-typedef struct {
-       TelSatCallControlResult cc_result; /**< Call Control Result */
-
-       TelSatAddressInfo address; /**< Address Info */
-       TelSatSsStringInfo ss_string; /**< Ss String Info  */
-
-       TelSatCcpInfo ccp1; /**< Ccp Info */
-       TelSatSubAddressInfo sub_address; /**< Sub Address Info */
-       TelSatAlphaIdentifierInfo alpha_id; /**< alpha id */
-       TelSatBcRepeatIndicatorType bc_repeat_type; /**< Bc Repeat Indicator Type */
-       TelSatCcpInfo ccp2; /**< Ccp Info */
-} TelSatNotiCallControlResultInd;
-
-/**
- * This structure defines the mo sms control result ind data.
- */
-typedef struct {
-       TelSatCallControlResult cc_result; /**< Call Control Result */
-
-       TelSatAddressInfo rp_dst_address; /**< Address Info */
-       TelSatAddressInfo tp_dst_address; /**< Address Info */
-       TelSatAlphaIdentifierInfo alpha_id; /**< Alpha Identifier Info */
-} TelSatNotiMoSmControlResultInd;
-
-/**
- * This structure defines the user confirmation data.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       TelSatProactiveCmdType command_type; /**< Proactive Command Type */
-       TelSatUiUserConfirmType key_type; /**< User Response Type */
-       unsigned char* additional_data; /**< Additional Data */
-       unsigned int data_len; /**< Additional Data Length */
-} TelSatUiUserConfirmInfo;
-
-/**
- * This structure defines the character data for sat engine data structure.
- */
-typedef struct
-{
-       unsigned short string_len;      /**< character data length */
-       unsigned char string[TEL_SAT_DEF_TEXT_STRING_LEN_MAX+1]; /**< character data */
-} TelSatTextInfo;
-
-/**
- * This structure defines the main menu title to check sat menu.
- */
-typedef struct
-{
-       gboolean is_main_menu_present; /**<flag to check sat main menu existence */
-       TelSatTextInfo main_menu_title; /**< main menu title data */
-} TelSatMainMenuTitleInfo;
-
-/**
- * This structure defines the display text proactive command for sat ui.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       TelSatTextInfo text; /**< character data to display on screen */
-       unsigned int duration; /**< the duration of display */
-       gboolean is_priority_high;       /**< indicates whether the text is to be displayed if some other app is using the screen */
-       gboolean is_user_resp_required; /**< indicates whether user response required or Not */
-       gboolean immediately_resp; /**< indicates whether response is immediate or not */
-       TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
-} TelSatDisplayTextInd;
-
-/**
- * This structure defines the get inkey proactive command data for sat ui.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       TelSatInkeyType key_type; /**< input Type:Character Set or Yes/No */
-       TelSatUseInputAlphabetType input_char_mode; /**< input character mode(SMS default, UCS2) */
-       gboolean is_numeric;    /**< is input character numeric(0-9, *, # and +) */
-       gboolean is_help_info_available; /**< help info request flag */
-       TelSatTextInfo text; /**< character data to display on screen */
-       unsigned int duration;   /**< the duration of display */
-       TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
-} TelSatGetInkeyInd;
-
-/**
- * This structure defines the get input proactive command data for sat ui.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       TelSatUseInputAlphabetType input_char_mode; /**< input character mode(SMS default, UCS2) */
-       gboolean is_numeric;    /**< is input character numeric(0-9, *, # and +) */
-       gboolean is_help_info_available; /**< flag for help info request */
-       gboolean is_echo_input; /**< indicates whether to show input data on screen or not */
-       TelSatTextInfo text; /**< character data to display on screen */
-       TelSatRespLenInfo resp_len; /**< input data min, max length */
-       TelSatTextInfo default_text; /**< default input character data */
-       TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
-} TelSatGetInputInd;
-
-/**
- * This structure defines the play tone proactive command data for application.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       TelSatTextInfo text; /**< character data to display on screen */
-       TelSatToneType tone; /**< tone info */
-       unsigned int duration; /**< the duration for playing tone */
-       TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
-} TelSatPlayToneInd;
-
-/**
- * This structure defines the data for sat ui.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       int user_confirm; /**< user confirmation */
-       TelSatTextInfo text; /**< character data to display on screen */
-       TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
-} TelSatSendUiInfo;
-
-/**
- * This structure defines the menu item info for setup menu.
- */
-typedef struct
-{
-       char item_string[TEL_SAT_DEF_ITEM_STR_LEN_MAX + 6]; /**< menu item character data */
-       char item_id; /**< identifies the item on the menu that user selected */
-} TelSatMenuInfo;
-
-/**
- * This structure defines the sat main menu info.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       gboolean is_main_menu_present; /**< is main menu present check */
-       char sat_main_title[TEL_SAT_DEF_TITLE_LEN_MAX + 1]; /**< menu title text */
-       unsigned short sat_main_menu_item_count; /**< number of menu items */
-       TelSatMenuInfo sat_main_menu_item[TEL_SAT_MENU_ITEM_COUNT_MAX]; /**< menu items */
-       gboolean is_sat_main_menu_help_info; /**< flag for help information request */
-       gboolean is_updated_sat_main_menu; /**< check whether sat_main_menu is updated or not */
-       TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
-       TelSatIconIdentifierListInfo icon_id_list; /**< List of Icon Identifiers */
-} TelSatSetupMenuInfo;
-
-/**
- * This structure defines the select item proactive command data for sat ui.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       gboolean is_help_info_available; /**< flag for help information request */
-       TelSatTextInfo text; /**< menu title text */
-       char default_item_index; /**< selected default item - default value is 0 */
-       char menu_item_count; /**< number of menu items */
-       TelSatMenuItemInfo menu_item[TEL_SAT_MENU_ITEM_COUNT_MAX]; /**< menu items */
-       TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
-       TelSatIconIdentifierListInfo icon_id_list; /**< List of Icon Identifiers */
-}TelSatSelectItemInd;
-
-/**
- * This structure defines the setup idle mode text proactive command for idle application.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       TelSatTextInfo text; /**< character data to display on screen */
-       TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
-} TelSatSetupIdleModeTextInd;
-
-/**
- * This structure defines the refresh proactive command data for sat ui.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       unsigned int duration; /**< the duration of display */
-       TelSatCmdQualifierRefresh       refresh_type; /**< refresh mode */
-} TelSatRefreshIndUiInfo;
-
-/**
- * This structure defines the refresh proactive command data for applications which are concerned with files resident on USIM .
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       TelSatRefreshAppType     app_type; /**< concerned application type */
-       TelSatCmdQualifierRefresh       refresh_mode; /**< refresh mode */
-       unsigned char file_count; /**< refresh file count */
-       int file_id[TEL_SAT_REFRESH_FILE_LIST]; /**< refresh file identifier */
-} TelSatRefreshInd;
-
-/**
- * This structure defines the data objects to indicate to sat ui, the end of execution of a specific proactive command by other application.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       char command_type;      /**< Command Type */
-       gboolean result; /**< result of command execution by application */
-} TelSatProactiveCmdEndIndInfo;
-
-/**
- * This structure defines the send sms proactive command data for sms application.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       gboolean is_packing_required; /**< flag to check if packing required for sms tpdu */
-       TelSatAddressInfo address; /**< destination address */
-       TelSatSmsTpduInfo sms_tpdu; /**< SMS TPDU data */
-} TelSatSendSmsIndSmsData;
-
-/**
- * This structure defines the send ss proactive command data for ss application.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       unsigned short ss_string_len; /**< SS string data length */
-       unsigned char ss_string[TEL_SAT_DEF_SS_LEN_MAX+1]; /**< SS string data */
-} TelSatSendSsIndSsData;
-
-/**
- * This structure defines the send ussd proactive command data for ussd application.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       unsigned char raw_dcs; /**< data coding scheme */
-       unsigned short ussd_string_len; /**< USSD string data length */
-       unsigned char ussd_string[TEL_SAT_DEF_USSD_LEN_MAX+1]; /**< USSD string data */
-} TelSatSendUssdIndUssdData;
-
-/**
- * This structure defines the send dtmf proactive command data for dtmf application.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       gboolean is_hidden_mode; /**< hidden mode flag */
-       TelSatTextInfo dtmf_string; /**< dtmf string data */
-} TelSatSendDtmfIndDtmfData;
-
-/**
- * This structure defines the setup call proactive command data for call application.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       TelSatCmdQualifierSetupCall call_type; /**< call type */
-       TelSatTextInfo disp_text; /**< display data for calling */
-       TelSatTextInfo call_number; /**< call number */
-       unsigned int duration; /**< maximum repeat duration */
-       TelSatIconIdentifierInfo icon_id; /**< icon identifier for call application */
-} TelSatSetupCallIndCallData;
-
-/**
- * This structure defines the launch browser proactive command data for browser application.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       char url[TEL_SAT_URL_LEN_MAX + 1]; /**< url to connect */
-       TelSatCmdQualifierLaunchBrowser launch_type; /**< launch type */
-       TelSatBrowserIdentityType identity_type; /**< Browser Identity -default, html, etc */
-} TelSatLaunchBrowserIndBrowserData;
-
-/**
- * This structure defines the provide local info proactive command data for application.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       TelSatCmdQualifierProvideLocalInfo local_info_type; /**< Provide Local Information Type */
-} TelSatProvideLocalInfoInd;
-
-/**
- * This structure defines the language notification proactive command data for application.
- */
-typedef struct
-{
-       int command_id; /**< Proactive Command Number sent by USIM */
-       gboolean specific_language_notification;  /**< flag for checking specific language notification. if FALSE, non-specific language notification */
-       TelSatLanguageInfo language; /**< language info from USIM application */
-} TelSatLanguageNotiInfoInd;
-
-/**
- * This structure defines the return result data for refresh proactive command.
- */
-typedef struct
-{
-       TelSatRefreshAppType     app_type; /**< application type */
-       TelSatResultType resp; /**< result response value */
-} TelSatRefreshRetInfo;
-
-/**
- * This structure defines the return result data for setup call proactive command.
- */
-typedef struct
-{
-       TelSatResultType resp; /**< result response value */
-       gboolean is_tapi_cause_exist; /**< flag for checking tapi error cause */
-       TelCallResult call_cause; /**< call error(result) cause */
-       TelSsResult ss_cause; /**< ss error(result) cause */
-       TelSatMeProblemType me_problem; /**< me problem error cause */
-       gboolean is_other_info_exist; /**< call control result existence flag */
-       TelSatCallCtrlProblemType permanent_call_ctrl_problem; /**< call control problem type */
-       TelSatCallCtrlRequestedActionInfo call_ctrl_requested_action; /**< call control request data */
-       TelSatResultInfo result2; /**< call control envelope result value */
-       TelSatTextTypeInfo text; /**< call control envelope display data */
-} TelSatCallRetInfo;
-
-/**
- * This structure defines the return result data for send ss proactive command.
- */
-typedef struct
-{
-       TelSatResultType resp; /**< result response value */
-       TelSsResult ss_cause; /**< ss error(result) cause */
-       TelSatTextInfo ss_string; /**< ss result string */
-       TelSatMeProblemType me_problem; /**< error - me problem */
-       gboolean is_other_info_exist; /**< call control result exist flag */
-       TelSatCallCtrlProblemType additional_call_ctrl_problem_info; /**< call control problem */
-       TelSatCallCtrlRequestedActionInfo call_ctrl_requested_action; /**< call control request data */
-       TelSatResultInfo result2; /**< call control envelope result value */
-} TelSatSsRetInfo;
-
-/**
- * This structure defines the return result data for send ussd proactive command.
- */
-typedef struct
-{
-       TelSatResultType resp; /**< result response value */
-       TelSsResult ss_cause; /**< ss error(result) cause */
-       TelSatTextInfo ussd_string; /**< ussd result string */
-       TelSatDataCodingSchemeInfo dcs_ussd_string; /**< dcs of ussd result string */
-       TelSatMeProblemType me_problem; /**< error - me problem */
-       gboolean is_other_info_exist; /**< call control result exist flag */
-       TelSatCallCtrlProblemType additional_call_ctrl_problem_info; /**< call control problem */
-       gboolean is_call_ctrl_has_modification; /**< call control request modification flag */
-       TelSatCallCtrlRequestedActionInfo call_ctrl_requested_action; /**< call control request data */
-       TelSatResultInfo result2; /**< call control envelope result value */
-       TelSatTextTypeInfo text2; /**< cc envelope display data */
-} TelSatUssdRetInfo;
-
-/**
- * This structure defines the return result data for launch browser proactive command.
- */
-typedef struct
-{
-       TelSatResultType resp; /**< result response value */
-       TelSatLaunchBrowserProblemType browser_problem; /**< specific browser problem */
-} TelSatBrowserRetInfo;
-
-/**
- * This structure defines the return result data for setup idle mode text proactive command.
- */
-typedef struct
-{
-       TelSatResultType resp; /**< result response value */
-       gboolean other_info; /**< flag to check whether other information are required or not */
-       TelSatCmdQualifierProvideLocalInfo      info_type; /**< local info type - e.g. time zone or language info, etc */
-       union
-       {
-               TelSatDateTimeZoneInfo time_zone_info; /**< current time zone info */
-               TelSatLanguageInfo language_info; /**< current ME language setting info */
-       }local_info; /**< Union */
-} TelSatProvideLocalRetInfo;
-
-/**
- * This structure defines the return result data for setup idle mode text proactive command.
- */
-typedef struct
-{
-       TelSatResultType resp; /**< result response value */
-       TelSatMeProblemType      me_problem; /**< Me Problem Type */
-} TelSatDiplayTextRetInfo;
-
-/**
- * This structure defines the common return result data for applications proactive command.
- */
-typedef struct
-{
-       TelSatProactiveCmdType command_type; /**< Proactive Command type */
-       int command_id; /**< Proactive Command Number sent by USIM */
-       union
-               {
-                       TelSatResultType setup_menu_resp; /**< result response value for setup menu */
-                       TelSatRefreshRetInfo refresh; /**< result response value for refresh */
-                       TelSatCallRetInfo setup_call; /**< result response value for setup call */
-                       TelSatSsRetInfo send_ss; /**< result response value for send ss */
-                       TelSatUssdRetInfo send_ussd; /**< result response value for send ussd */
-                       TelSatResultType send_sms_resp; /**< result response value for send sms */
-                       TelSatResultType send_dtmf_resp; /**< result response value for send dtmf */
-                       TelSatBrowserRetInfo launch_browser; /**< result response value for launch browser */
-                       TelSatResultType setup_idle_mode_text_resp; /**< result response value for setup idle mode text */
-                       TelSatResultType language_noti_resp; /**< result response value for language notification */
-                       TelSatProvideLocalRetInfo provide_local_info; /**< result response value for provide local info */
-                       TelSatDiplayTextRetInfo display_text; /**< result response value for dsiplay text */
-                       TelSatResultType play_tone_resp; /**< result response value for play tone */
-               }apps_ret; /**< common union result value */
-}TelSatAppsRetInfo;
-
-/**
- * This structure defines the call control confirm data for call.
- */
-typedef struct
-{
-       TelSatTextInfo address; /**< call destination address */
-       TelSatTextInfo sub_address; /**< call SUB address */
-       TelSatBcRepeatIndicatorType bc_repeat_indicator; /**< bc repeat indicator*/
-       TelSatTextInfo ccp1; /**< Configuration Capability Parameter 1*/
-       TelSatTextInfo ccp2; /**< Configuration Capability Parameter 2*/
-} TelSatCallCtrlIndCallData;
-
-/**
- * This structure defines the call control confirm data for ss.
- */
-typedef struct
-{
-       TelSatTextInfo ss_string; /**< ss destination address */
-       TelSatTextInfo sub_address; /**< call SUB address */
-       TelSatBcRepeatIndicatorType bc_repeat_indicator; /**< bc repeat indicator */
-       TelSatTextInfo ccp1; /**< Configuration Capability Parameter 1 */
-       TelSatTextInfo ccp2; /**< Configuration Capability Parameter 2 */
-} TelSatCallCtrlIndSsData;
-
-/**
- * This structure defines the common call control confirm data.
- */
-typedef struct
-{
-       TelSatCallType call_ctrl_cnf_type; /**< call control confirm type - call, ss or ussd */
-       TelSatCallCtrlResultType call_ctrl_result; /**< call control result */
-       TelSatTextInfo disp_data; /**< call control display data */
-       gboolean is_user_info_display_enabled; /**< flag for checking existence of call control display */
-
-       union
-               {
-                       TelSatCallCtrlIndCallData call_ctrl_cnf_call_data; /**< call control call address */
-                       TelSatCallCtrlIndSsData call_ctrl_cnf_ss_data; /**< call control ss string */
-                       TelSatTextInfo call_ctrl_cnf_ussd_data; /**< call control ussd string */
-               }call_ctrl_data; /**< Union */
-} TelSatCallCtrlIndData;
-
-/**
- * This structure defines the mo sms control confirm data.
- */
-typedef struct
-{
-       TelSatCallCtrlResultType mo_sms_ctrl_result; /**< envelope result */
-       gboolean is_user_info_display_enabled; /**< display present flag */
-       TelSatTextTypeInfo disp_data; /**< display data for sending SMS */
-       TelSatTextTypeInfo rp_dest_addr; /**< the RP_Destination_Address of the Service Center */
-       TelSatTextTypeInfo tp_dest_addr; /**< the TP_Destination_Address */
-} TelSatMoSmCtrlIndData;
-
-/**
- * This structure defines the Event List Info.
- */
-typedef struct
-{
-       gboolean is_event_download_active; /**< Is Event Download Active */
-       gboolean is_mt_call_event; /**< Is Mt Call Event */
-       gboolean is_call_connected; /**< Is Call Connected */
-       gboolean is_call_disconnected; /**< Is Call Disconnected */
-       gboolean is_location_status; /**< Is Location Status */
-       gboolean is_user_activity;      /**< Is User Activity */
-       gboolean is_idle_screen_available;      /**< Is Idle Screen Available */
-       gboolean is_card_reader_status; /**< Is Card Reader Status */
-       gboolean is_language_selection; /**< Is Language Selection */
-       gboolean is_browser_termination;        /**< Is Browser Termination */
-       gboolean is_data_available; /**< Is Data Available */
-       gboolean is_channel_status; /**< Is Channel Status */
-} TelSatEventListData;
-
-/**
- * This structure contains the data objects for MENU SELECTION envelope.
- */
-typedef struct
-{
-       unsigned char item_identifier; /**< menu selection item identifier */
-       gboolean is_help_requested; /**< flag to check whether help information required or not */
-} TelSatMenuSelectionReqInfo;
-
-/**
- * This struct contains the data objects for Call Control result data sent by USIM.
- */
-typedef struct
-{
-       TelSatAddressInfo address; /**< call number */
-       TelSatSubAddressInfo sub_address; /**< call number sub address */
-       TelSatBcRepeatIndicatorType bc_repeat_indicator; /**< bc repeat indicator */
-       TelSatCcpInfo ccp1; /**< capability configuration parameter1 */
-       TelSatCcpInfo ccp2; /**< capability configuration parameter2 */
-}TelSatVoiceCallCtrlIndInfo;
-
-/**
- * This struct contains SAT ss control result data sent by USIM.
- */
-typedef struct
-{
-       TelSatSsStringInfo ss_string; /**< ss number */
-       TelSatSubAddressInfo sub_address; /**< ss sub address */
-       TelSatBcRepeatIndicatorType bc_repeat_indicator; /**< bc repeat indicator */
-       TelSatCcpInfo ccp1; /**< capability configuration parameter1 */
-       TelSatCcpInfo ccp2; /**< capability configuration parameter2 */
-}TelSatSsCtrlIndInfo;
-
-/**
- * This struct contains SAT mo SMS control configuration data
- */
-typedef struct
-{
-       TelSatAddressInfo rp_dest_address; /**< sms control rp destination address */
-       TelSatAddressInfo       tp_dest_address; /**<    sms control tp destination address */
-} TelSatMoSmsCtrlIndInfo;
-
-/**
- * This struct contains SAT call control configuration data
- */
-typedef struct
-{
-       TelSatCallType call_type; /**< call type */
-       TelSatCallCtrlResultType call_ctrl_result; /**< call control result     */
-       TelSatAlphaIdentifierInfo alpha_identifier; /**< alpha identifier */
-       unsigned char call_id; /**< call id */
-       TelSatCallType old_call_type; /**< old call type */
-       union
-       {
-               TelSatVoiceCallCtrlIndInfo      voice_call_data; /**< voice call control data */
-               TelSatSsCtrlIndInfo ss_data; /**< ss control data */
-               TelSatMoSmsCtrlIndInfo sms_data; /**< Mo Sms Ctrl Ind Info */
-       }call_ctrl_data; /**< Union */
-} TelSatCallCtrlIndInfo;
-
-/**
- * This struct contains SAT mo ss control request data
- */
- typedef struct
-{
-       TelSatCallCtrlResultType call_ctrl_result; /**< call control result     */
-       TelSatAlphaIdentifierInfo alpha_identifier; /**< alpha identifier */
-       TelSatMoSmsCtrlIndInfo sms_data;        /**< sms control data */
-}TelSatMoSMCtrlResult;
-
-/**
- * This struct contains SAT user activity event request data
- */
-typedef struct
-{
-       TelSatEventListInfo event_list; /**< event List  */
-       TelSatDeviceIdentitiesInfo device_identities;   /**<    device identities info */
-
-} TelSatUserActivityEventReqInfo;
-
-/**
- * This struct contains SAT data available event request data
- */
-typedef struct
-{
-       TelSatEventListInfo event_list; /**< event List  */
-       TelSatDeviceIdentitiesInfo device_identities;   /**<    device identities info */
-       TelSatChannelStatusInfo channel_status; /**< channel status */
-       unsigned char channel_data_len; /**< channel data length */
-
-} TelSatDataAvailableEventReqInfo;
-
-/**
- * This struct contains SAT channel status even request data
- */
-typedef struct
-{
-       TelSatEventListInfo event_list; /**< event list */
-       TelSatDeviceIdentitiesInfo device_identities;   /**<    device identities info */
-       TelSatChannelStatusInfo channel_status; /**< channel Status */
-} TelSatChannelStatusEventReqInfo;
-
-/**
- * This is the structure to be used by the Application to send envelope/event download data.
- * This contains the data structures to be used to send any envelope/event download data.
- */
-typedef struct
-{
-       TelSatEventListType event_download_type; /**< eventDownload Type */
-       union
-       {
-               gboolean is_idle_screen_available; /**< flag to specify whether Idle Screen is Available or not */
-               TelSatLanguageInfo language_selection_event_req_info; /**< Selected Language Information */
-               TelSatBrowserTerminationCauseType browser_termination_event_req_info; /**< BrowserTermination Event Information */
-               TelSatDataAvailableEventReqInfo data_available_event_req_info; /**< dataAvailableEventReqInfo */
-               TelSatChannelStatusEventReqInfo channel_status_event_req_info; /**< channelStatusEventReqInfo */
-       } event_download_data; /**< Union */
-} TelSatEventDownloadReqInfo;
-
-/**
- *  \defgroup TAPI_EVENT TAPI Event IDs
- *  @{
- */
-
-/**
- *  \defgroup TEL_EVENT_SAT SAT Event IDs
- *  @{
- */
-
-/**
- *  @hideinitializer
- *  @brief Setup menu information
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SAT_SETUP_MENU
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SAT_SETUP_MENU
- *  @retval data reference to \ref TelSatSetupMenuInfo structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SAT_SETUP_MENU                                        TELEPHONY_SAT_INTERFACE":SetupMenu"
-
-/**
- *  @hideinitializer
- *  @brief Display text information
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SAT_DISPLAY_TEXT
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SAT_DISPLAY_TEXT
- *  @retval data reference to \ref TelSatDisplayTextInd structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SAT_DISPLAY_TEXT                                      TELEPHONY_SAT_INTERFACE":DisplayText"
-
-/**
- *  @hideinitializer
- *  @brief Select item information
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SAT_SELECT_ITEM
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SAT_SELECT_ITEM
- *  @retval data reference to \ref TelSatSelectItemInd structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SAT_SELECT_ITEM                                       TELEPHONY_SAT_INTERFACE":SelectItem"
-
-/**
- *  @hideinitializer
- *  @brief Get inkey information
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SAT_GET_INKEY
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SAT_GET_INKEY
- *  @retval data reference to \ref TelSatGetInkeyInd structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SAT_GET_INKEY                                         TELEPHONY_SAT_INTERFACE":GetInkey"
-
-/**
- *  @hideinitializer
- *  @brief Get input information
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SAT_GET_INPUT
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SAT_GET_INPUT
- *  @retval data reference to \ref TelSatGetInputInd structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SAT_GET_INPUT                                         TELEPHONY_SAT_INTERFACE":GetInput"
-
-/**
- *  @hideinitializer
- *  @brief Refresh information
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SAT_REFRESH
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SAT_REFRESH
- *  @retval data reference to \ref TelSatRefreshInd structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SAT_REFRESH                                           TELEPHONY_SAT_INTERFACE":Refresh"
-
-/**
- *  @hideinitializer
- *  @brief Send SMS information
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SAT_SEND_SMS
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SAT_SEND_SMS
- *  @retval data reference to \ref TelSatSendSmsIndSmsData structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SAT_SEND_SMS                                          TELEPHONY_SAT_INTERFACE":SendSMS"
-
-/**
- *  @hideinitializer
- *  @brief Setup event list information
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SAT_SETUP_EVENT_LIST
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SAT_SETUP_EVENT_LIST
- *  @retval data reference to \ref TelSatEventListData structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SAT_SETUP_EVENT_LIST                          TELEPHONY_SAT_INTERFACE":SetupEventList"
-
-/**
- *  @hideinitializer
- *  @brief Send DTMF information
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SAT_SEND_DTMF
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SAT_SEND_DTMF
- *  @retval data reference to \ref TelSatSendDtmfIndDtmfData structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SAT_SEND_DTMF                                         TELEPHONY_SAT_INTERFACE":SendDtmf"
-
-/**
- *  @hideinitializer
- *  @brief Session end event information
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SAT_SESSION_END_EVENT
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SAT_SESSION_END_EVENT
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SAT_SESSION_END_EVENT                 TELEPHONY_SAT_INTERFACE":EndProactiveSession"
-
-/**
- *  @hideinitializer
- *  @brief Call control information
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SAT_CALL_CONTROL_RESULT
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SAT_CALL_CONTROL_RESULT
- *  @retval data reference to \ref TelSatCallCtrlIndData structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SAT_CALL_CONTROL_RESULT                       TELEPHONY_SAT_INTERFACE":CallControlResult"
-
-/**
- *  @hideinitializer
- *  @brief MO SM control information
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SAT_MO_SM_CONTROL_RESULT
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SAT_MO_SM_CONTROL_RESULT
- *  @retval data reference to \ref TelSatMoSmCtrlIndData structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SAT_MO_SM_CONTROL_RESULT              TELEPHONY_SAT_INTERFACE":MoSmControlResult"
-
-/** @}*/
-/** @}*/
-
-#ifdef __cplusplus
-}
-#endif
-
-/**
- * @}
- */
- #endif /* __TEL_SAT_H_ */
diff --git a/include/common/tel_sim.h b/include/common/tel_sim.h
deleted file mode 100644 (file)
index dc9082b..0000000
+++ /dev/null
@@ -1,703 +0,0 @@
-/*
- * tel-headers
- *
- * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
- * Copyright (c) 2013 Intel Corporation. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __TEL_SIM_H__
-#define __TEL_SIM_H__
-
-#include <tel_if.h>
-
-/**
-*  @addtogroup TAPI_SIM
-*  @{
-*
-*  @file tel_sim.h
-*  @brief TAPI sim Interface
-*/
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
-#define TELEPHONY_SIM_INTERFACE                 TELEPHONY_SERVICE".Sim"
-
-#define TEL_SIM_ICCID_LEN_MAX                  20      /**< Maximum ICCID Length */
-#define TEL_SIM_MSIN_LEN_MAX                   10      /**< Mobile Station Identification Number max length */
-#define TEL_SIM_MCC_MNC_LEN_MAX                        3       /**< MCC/MNC max length */
-
-#define TEL_SIM_PLMN_LEN_MAX                   6       /**< PLMN max length */
-#define TEL_SIM_SPN_LEN_MAX                    16      /**< Service Provider Name max length */
-
-#define TEL_SIM_ECC_NUMBER_LEN_MAX             6       /**< Emergency code max length */
-#define TEL_SIM_ECC_LIST_MAX                   16      /**< Emergency list max items */
-#define TEL_SIM_ECC_TEXT_MAX                   255     /**< Emergency alpha identifier max length */
-
-#define TEL_SIM_EXT_RECORD_CNT_MAX 15  /** EXT record count max length */
-#define TEL_SIM_OPL_PNN_RECORD_CNT_MAX 5 /* OPL PNN record count max  */
-#define TEL_SIM_NW_FULL_NAME_LEN_MAX 40 /* Full name length max */
-#define TEL_SIM_MBDN_NUM_LEN_MAX               20      /**< Max length of the Number supported*/
-#define TEL_SIM_ALPHA_ID_LEN_MAX               241     /**< Max length of the Alpha ID supported*/
-
-#define TEL_SIM_MSP_CNT_MAX                    4       /**< The Profile Identity shall be between 1and 4 as defined in TS 23.097 for MSP.*/
-
-#define TEL_SIM_AUTH_MAX_REQ_DATA_LEN          16      /**< Authentication code max length */
-#define TEL_SIM_AUTH_MAX_RESP_DATA_LEN         16      /**< Authentication response data max length */
-
-#define TEL_SIM_APDU_LEN_MAX                   261     /**< APDU max command length */
-#define TEL_SIM_APDU_RESP_LEN_MAX              258     /**< APDU max response length */
-#define TEL_SIM_ATR_LEN_MAX                    33      /**< Answer to Reset data max length */
-
-#define TEL_SIM_MAILBOX_TYPE_MAX               5       /**< Mailbox type count */
-#define TEL_SIM_CALL_FORWARDING_TYPE_MAX               5       /** Call forwarding type count */
-
-/**
- * @enum TelSimResult
- * Response (Return) values.
- */
-typedef enum {
-       TEL_SIM_RESULT_SUCCESS, /**< Operation completed successfully */
-       TEL_SIM_RESULT_FAILURE, /**< Operation Failed */
-       TEL_SIM_RESULT_INVALID_PARAMETER, /**< Invalid input parameters */
-       TEL_SIM_RESULT_MEMORY_FAILURE, /**< Memory allocation failed */
-       TEL_SIM_RESULT_OPERATION_NOT_SUPPORTED, /**< Operation not supported */
-
-       TEL_SIM_RESULT_CARD_ERROR,  /**< SIM card error - Permanently blocked and general errors   */
-       TEL_SIM_RESULT_ACCESS_CONDITION_NOT_SATISFIED, /**< SIM Incompatible pin operation that is in case when invalid SIM command is given or incorrect parameters are supplied to the SIM. */
-       TEL_SIM_RESULT_INCOMPATIBLE_PIN_OPERATION, /**< SIM PIN  Incorrect password */
-       TEL_SIM_RESULT_INCORRECT_PASSWORD, /**< SIM Incorrect password */
-       TEL_SIM_RESULT_PIN_REQUIRED, /**< PIN Required */
-       TEL_SIM_RESULT_PUK_REQUIRED, /**< PUK Required */
-       TEL_SIM_RESULT_PERM_BLOCKED, /**< Permanent block SIM */
-       TEL_SIM_RESULT_SQN_FAILURE, /**< status - SQN(SeQuenceNumber) failure */
-       TEL_SIM_RESULT_OPERATION_NOT_PERMITTED  /**< Operation not permitted */
-} TelSimResult;
-
-/**
- * @enum TelSimCardType
- * This enumeration defines the card type.
- */
-typedef enum {
-       TEL_SIM_CARD_TYPE_UNKNOWN,      /**< Unknown card */
-       TEL_SIM_CARD_TYPE_GSM,          /**< 2G SIM(GSM) card */
-       TEL_SIM_CARD_TYPE_USIM,         /**< 3G USIM card */
-       TEL_SIM_CARD_TYPE_RUIM,         /**< CDMA based card */
-       TEL_SIM_CARD_TYPE_ISIM          /**< IMS based card */
-} TelSimCardType;
-
-typedef enum {
-       TEL_SIM_MWIS_NONE = 0x00, /**< MWIS none*/
-       TEL_SIM_MWIS_VOICE = 0x01, /**< MWIS voice*/
-       TEL_SIM_MWIS_FAX = 0x02, /**< MWIS FAX*/
-       TEL_SIM_MWIS_EMAIL = 0x04, /**< MWIS email*/
-       TEL_SIM_MWIS_OTHER = 0x08, /**< MWIS other*/
-       TEL_SIM_MWIS_VIDEO = 0x10, /**< MWIS video*/
-       TEL_SIM_MWIS_RFU = 0xff /**< MWIS RFU*/
-} TelSimMwisMask;
-
-/** * @enum TelSimFacilityStatus
- * This enumeration defines the pin status.
- */
-typedef enum {
-       TEL_SIM_FACILITY_STATUS_UNKNOWN = -1, /**< SIM facility UNKNOWN status*/
-       TEL_SIM_FACILITY_STATUS_DISABLED, /**< SIM facility DISABLED status*/
-       TEL_SIM_FACILITY_STATUS_ENABLED /**< SIM facility ENABLED status*/
-} TelSimFacilityStatus;
-
-/**
- * @enum TelSimPinType
- * This enumeration defines the pin type.
- */
-typedef enum {
-       TEL_SIM_PIN_TYPE_PIN1, /**< PIN 1 code */
-       TEL_SIM_PIN_TYPE_PIN2 /**< PIN 2 code */
-} TelSimPinType;
-
-/**
- * @enum TelSimPukType
- * This enumeration defines the puk type.
- */
-typedef enum {
-       TEL_SIM_PUK_TYPE_PUK1, /**< PUK 1 code */
-       TEL_SIM_PUK_TYPE_PUK2 /**< PUK 2 code */
-} TelSimPukType;
-
-/**
- * @enum TelSimEccEmergencyServiceInfo
- * This enumeration defines the emergency service type.
- */
-typedef enum {
-       TEL_SIM_ECC_ESC_DEFAULT =               0x00, /**< DEFAULT */
-       TEL_SIM_ECC_ESC_POLICE =                0x01, /**< Police */
-       TEL_SIM_ECC_ESC_AMBULANCE =             0x02, /**< Ambulance */
-       TEL_SIM_ECC_ESC_FIREBRIGADE =           0x04, /**< Fire brigade */
-       TEL_SIM_ECC_ESC_MARINEGUARD =           0x08, /**< Marine guard */
-       TEL_SIM_ECC_ESC_MOUNTAINRESCUE =        0x10, /**< Mountain rescue */
-       TEL_SIM_ECC_ESC_MANUAL_ECALL =          0x20, /**< Manual Emergency call */
-       TEL_SIM_ECC_ESC_AUTO_ECALL =            0x40 /**< Automatic Emergency call */
-} TelSimEccEmergencyServiceInfo;
-
-/**
- * @enum TelSimLanguagePreferenceCode
- * This enumeration defines the language indication code.
- */
-typedef enum {
-       TEL_SIM_LP_GERMAN =             0x00, /**< German */
-       TEL_SIM_LP_ENGLISH =            0x01, /**< English */
-       TEL_SIM_LP_ITALIAN =            0x02, /**< Italian */
-       TEL_SIM_LP_FRENCH =             0x03, /**< French */
-       TEL_SIM_LP_SPANISH =            0x04, /**< Spanish */
-       TEL_SIM_LP_DUTCH =              0x05, /**< Dutch */
-       TEL_SIM_LP_SWEDISH =            0x06, /**< Swedish */
-       TEL_SIM_LP_DANISH =             0x07, /**< Danish */
-       TEL_SIM_LP_PORTUGUESE =         0x08, /**< Portuguese */
-       TEL_SIM_LP_FINNISH =            0x09, /**< Finnish */
-       TEL_SIM_LP_NORWEGIAN =          0x0A, /**< Norwegian */
-       TEL_SIM_LP_GREEK =              0x0B, /**< Greek */
-       TEL_SIM_LP_TURKISH =            0x0C, /**< Turkish */
-       TEL_SIM_LP_HUNGARIAN =          0x0D, /**< Hungarian */
-       TEL_SIM_LP_POLISH =             0x0E, /**< Polish */
-       TEL_SIM_LP_KOREAN =             0x0F, /**< Korean */
-       TEL_SIM_LP_CHINESE =            0x10, /**< Chinese */
-       TEL_SIM_LP_RUSSIAN =            0x11, /**< Russian */
-       TEL_SIM_LP_JAPANESE =           0x12, /**< Japanese */
-       TEL_SIM_LP_LANG_UNSPECIFIED =   0xFF /**< Unspecified */
-} TelSimLanguagePreferenceCode;
-
-/**
- * @enum TelSimCardStatus
- * This enumeration defines the SIM card status
- */
-typedef enum {
-       TEL_SIM_STATUS_UNKNOWN,                         /**<  Unknown status. It can be initial status **/
-       TEL_SIM_STATUS_CARD_ERROR,                      /**<  Bad card / On the fly SIM gone bad **/
-       TEL_SIM_STATUS_SIM_CARD_POWEROFF,       /**<  SIM Card Powered OFF **/
-       TEL_SIM_STATUS_CARD_NOT_PRESENT,        /**<  Card not present **/
-       TEL_SIM_STATUS_SIM_INITIALIZING,                /**<  SIM is Initializing state **/
-       TEL_SIM_STATUS_SIM_INIT_COMPLETED,      /**<  SIM Initialization COMPLETE **/
-       TEL_SIM_STATUS_SIM_PIN_REQUIRED,        /**<  PIN  required state **/
-       TEL_SIM_STATUS_SIM_PUK_REQUIRED,        /**<  PUK  required state **/
-       TEL_SIM_STATUS_CARD_BLOCKED,            /**<  PIN/PUK blocked(permanently blocked - All the attempts for PIN/PUK failed) **/
-       TEL_SIM_STATUS_SIM_NCK_REQUIRED,        /**<  Network Control Key required state **/
-       TEL_SIM_STATUS_SIM_NSCK_REQUIRED,       /**<  Network Subset Control Key required state **/
-       TEL_SIM_STATUS_SIM_SPCK_REQUIRED,       /**<  Service Provider Control Key required state **/
-       TEL_SIM_STATUS_SIM_CCK_REQUIRED,        /**<  Corporate Control Key required state **/
-       TEL_SIM_STATUS_CARD_REMOVED,            /**<  Card removed **/
-       TEL_SIM_STATUS_SIM_LOCK_REQUIRED        /**<  PH-SIM (phone-SIM) locked state **/
-} TelSimCardStatus;
-
-/**
- * @enum TelSimCardChangeStatus
- * This enumeration defines whether SIM card is changed or not
- */
-typedef enum {
-       TEL_SIM_CHANGE_STATUS_UNKNOWN, /**< Unknown */
-       TEL_SIM_CHANGE_STATUS_SAME, /**< SIM card is same */
-       TEL_SIM_CHANGE_STATUS_CHANGED /**< SIM card is changed */
-} TelSimCardChangeStatus;
-
-/**
- * @enum TelSimRefreshCommandType
- * This enumeration defines the SIM card status
- */
-typedef enum {
-       TEL_SIM_REFRESH_CMD_INIT_AND_FULL_FCN           = 0x00, /**<    command qualifier for REFRESH SIM INIT AND FULL FILE CHANGE_NOTIFICATION                */
-       TEL_SIM_REFRESH_CMD_FCN                                         = 0x01, /**<    command qualifier for REFRESH FILE CHANGE NOTIFICATION          */
-       TEL_SIM_REFRESH_CMD_INIT_AND_FCN                        = 0x02, /**<    command qualifier for REFRESH SIM INIT AND FILE CHANGE NOTIFICATION             */
-       TEL_SIM_REFRESH_CMD_INIT                                        = 0x03, /**<    command qualifier for REFRESH SIM INIT          */
-       TEL_SIM_REFRESH_CMD_RESET                                       = 0x04, /**<    command qualifier for REFRESH SIM RESET         */
-       TEL_SIM_REFRESH_CMD_3G_APPLICATION_RESET        = 0x05, /**<    command qualifier for REFRESH 3G APPLICATION RESET              */
-       TEL_SIM_REFRESH_CMD_3G_SESSION_RESET            = 0x06, /**<    command qualifier for REFRESH 3G SESSION RESET          */
-       TEL_SIM_REFRESH_CMD_UNSPECIFIED                         = 0xFF  /**<    command qualifier for REFRESH RESERVED          */
-}TelSimRefreshCommandType;
-
-/**
- * @enum TelSimMailboxType
- * This enum gives mailbox type.
- */
-typedef enum {
-       TEL_SIM_MAILBOX_VOICE,  /**< Mailbox identifier voice */
-       TEL_SIM_MAILBOX_FAX,    /**< Mailbox identifier fax */
-       TEL_SIM_MAILBOX_EMAIL,  /**< Mailbox identifier email */
-       TEL_SIM_MAILBOX_OTHER,  /**< Mailbox identifier other */
-       TEL_SIM_MAILBOX_VIDEO   /**< Mailbox identifier video */
-} TelSimMailboxType;
-
-/**
- * @enum TelSimCallForwardingType
- * This enum gives Call forwarding type.
- */
-typedef enum {
-       TEL_SIM_CALL_FORWARDING_VOICE,  /**< Call forwarding identifier voice */
-       TEL_SIM_CALL_FORWARDING_FAX,    /**< Call forwarding identifier fax */
-       TEL_SIM_CALL_FORWARDING_EMAIL,  /**< Call forwarding identifier email */
-       TEL_SIM_CALL_FORWARDING_OTHER,  /**< Call forwarding identifier other */
-       TEL_SIM_CALL_FORWARDING_VIDEO   /**< Call forwarding identifier video */
-} TelSimCallForwardingType;
-
-/**
- * @enum TelSimAuthenticationType
- * This is used for Authentication Procedure by using SIM.
- */
-typedef enum {
-       TEL_SIM_AUTH_GSM, /**< GSM Authentication */
-       TEL_SIM_AUTH_GSM_CTX, /**< GSM CTX Authentication */
-       TEL_SIM_AUTH_3G_CTX, /**< 3G CTX Authentication */
-       TEL_SIM_AUTH_GBA, /**< GBA Authentication */
-       TEL_SIM_AUTH_GBA_NAF, /**< GBA NAF Authentication */
-       TEL_SIM_AUTH_IMS_AKA /**< IMS Authentication */
-} TelSimAuthenticationType;
-
-/**
- * @enum TelSimLockType
- *     This structure gives security lock type enum values
- */
-typedef enum {
-       TEL_SIM_LOCK_PS,
-       /**< PH-SIM (phone-SIM) locked.Lock Phone to SIM/UICC card
-        *      (MT asks password when other than current SIM/UICC card inserted;
-        *      MT may remember certain amount of previously used cards thus not
-        *      requiring password when they are inserted
-        */
-       TEL_SIM_LOCK_PF,
-       /**< PH-FSIM (phone-first-SIM) Lock Phone to the very
-        *      First inserted SIM/UICC card(MT asks password when other than the
-        *      first SIM/UICC card is inserted
-        */
-       TEL_SIM_LOCK_SC,
-        /**< SIM Lock (PIN, PIN2, PUK, PUK2) Lock SIM/UICC card ( SIM asks
-        *      password in ME power-up and when this command is issued */
-       TEL_SIM_LOCK_FD,
-       /**< FDN - SIM card or active application in the UICC (GSM or USIM)
-        *      fixed dialing memory feature */
-       TEL_SIM_LOCK_PN, /**< Network Personalization */
-       TEL_SIM_LOCK_PU, /**< Network subset Personalization */
-       TEL_SIM_LOCK_PP, /**< Service Provider Personalization */
-       TEL_SIM_LOCK_PC, /**< Corporate Personalization */
-} TelSimLockType;
-
-/**
- * @enum TelSimLockStatus
- * This structure gives security lock key information enum values
- */
-typedef enum {
-       TEL_SIM_LOCK_KEY_NOT_NEED,      /**< key not need */
-       TEL_SIM_LOCK_KEY_PIN,           /**< PIN required */
-       TEL_SIM_LOCK_KEY_PUK,           /**< PUK required */
-       TEL_SIM_LOCK_KEY_PIN2,          /**< PIN2 required */
-       TEL_SIM_LOCK_KEY_PUK2,          /**< PUK2 required */
-       TEL_SIM_LOCK_PERM_BLOCKED       /**< Permanent block SIM */
-} TelSimLockStatus;
-
-/**
- * @enum TelSimSpnDispCondition
- * This enumeration defines Service Provider Name display condition type.
- */
-typedef enum
-{
-       TEL_SIM_DISP_INVALID, /**< Invalid display condition */
-       TEL_SIM_DISP_SPN, /**< SPN display condition */
-       TEL_SIM_DISP_PLMN, /**< PLMN display condition */
-       TEL_SIM_DISP_SPN_PLMN /**< SPN/PLMN display condition */
-} TelSimSpnDispCondition;
-
-/**
- * This data structure defines plmn informations
- */
-typedef struct {
-       unsigned int index;     /**< Plmn list index */
-       char *plmn;             /**< numeric operator name (MCCMNC) */
-} TelSimSpPlmn;
-
-/**
- * This data structure defines plmn list
- */
-typedef struct {
-       unsigned int count;     /**< Number of service provider plmns in the list */
-       TelSimSpPlmn *list;     /**< service provider plmns list */
-} TelSimSpPlmnList;
-
-/**
- * This data structure defines the status of sim initialization
- */
-typedef struct {
-       TelSimCardStatus status; /**< Sim card status */
-       TelSimCardChangeStatus change_status; /**< Sim card change status */
-} TelSimCardStatusInfo;
-
-/**
- * This data structure defines the data for the Imsi information.
- */
-typedef struct {
-       char mcc[TEL_SIM_MCC_MNC_LEN_MAX + 1];  /**< mobile country code 3 digits*/
-       char mnc[TEL_SIM_MCC_MNC_LEN_MAX + 1];  /**< mobile network code 2 or 3 digits*/
-       char msin[TEL_SIM_MSIN_LEN_MAX + 1];    /**< Mobile Station Identification Number */
-} TelSimImsiInfo;
-
-/**
- * This data structure defines the data for the SIM ECC information.
- */
-typedef struct {
-       char number[TEL_SIM_ECC_NUMBER_LEN_MAX + 1];    /**< Emergency Call Code. null termination used*/
-       char name[TEL_SIM_ECC_TEXT_MAX + 1];            /**< Alpha identifier */
-       TelSimEccEmergencyServiceInfo category;         /**< ECC emergency service information */
-} TelSimEcc;
-
-/**
- * This data structure defines the data for the SIM ECC lists.
- */
-typedef struct {
-       unsigned int count; /**< Total count for ECC list */
-       TelSimEcc list[TEL_SIM_ECC_LIST_MAX];   /**< List of emergency numbers */
-} TelSimEccList;
-
-typedef struct {
-       int ext_len;
-       char ext[TEL_SIM_EXT_RECORD_CNT_MAX + 1];
-       unsigned short next_record;
-} TelSimExt;
-
-typedef struct {
-       unsigned char plmn[6+1];
-       unsigned short lac_from;
-       unsigned short lac_to;
-       unsigned char rec_identifier;
-} TelSimOpl;
-
-typedef struct {
-       int opl_count;
-       TelSimOpl list[TEL_SIM_OPL_PNN_RECORD_CNT_MAX];
-} TelSimOplList;
-
-typedef struct {
-       unsigned char full_name[TEL_SIM_NW_FULL_NAME_LEN_MAX + 1];
-       unsigned char short_name[TEL_SIM_NW_FULL_NAME_LEN_MAX + 1];
-} TelSimPnn;
-
-typedef struct {
-       int pnn_count;
-       TelSimPnn list[TEL_SIM_OPL_PNN_RECORD_CNT_MAX];
-} TelSimPnnList;
-
-typedef struct {
-       unsigned char profile_id;               /**< Profile Identity of the subscriber profile*/
-       TelSimMailboxType mb_type;      /**< Mailbox type */
-       unsigned int alpha_id_len; /**< Mailbox Alpha Identifier length */
-       char alpha_id[TEL_SIM_ALPHA_ID_LEN_MAX]; /**< Mailbox Alpha Identifier */
-       char number[TEL_SIM_MBDN_NUM_LEN_MAX]; /**< Dialing Number/SSC String */
-} TelSimMailBoxNumber;
-
-/**
- * This data structure defines the data for the Mailbox lists.
- */
-typedef struct {
-       unsigned int alpha_id_max_len;          /**< Alpha id max length in SIM */
-       unsigned int count;                                     /**< Number of mailbox count*/
-       TelSimMailBoxNumber list[TEL_SIM_MSP_CNT_MAX * TEL_SIM_MAILBOX_TYPE_MAX]; /**< Mailbox list info */
-} TelSimMailboxList;
-
-/**
- * This data structure defines the data for the Call Forwarding.
- */
-typedef struct {
-       unsigned char profile_id;       /**< Profile Identity of the subscriber profile*/
-       gboolean indication[TEL_SIM_CALL_FORWARDING_TYPE_MAX]; /**< 0: voice , 1 : fax, 2 : email, 3:other, 4 :video */
-} TelSimCfis;
-
-/**
- * This data structure defines the data for the Call Forwarding lists.
- */
-typedef struct {
-       unsigned int profile_count; /**< Call forwarding list count in SIM */
-       TelSimCfis cf[TEL_SIM_MSP_CNT_MAX]; /**< Call forwarding list info in SIM */
-} TelSimCfisList;
-
-/**
- * This data structure defines indication status for the Message Waiting.
- */
- typedef struct {
-       gboolean indication; /**< indication status for the Message Waiting */
-       unsigned char count; /**< indication count for the Message Waiting */
-} TelSimMsgWaitingIndicator;
-
-/**
- * This data structure defines the data for the Message Waiting.
- */
-typedef struct {
-       unsigned char profile_id; /**< Profile Identity of the subscriber profile */
-       gboolean count_valid; /**< whether count is valid or not (in case of cphs, count is not valid) */
-       TelSimMsgWaitingIndicator msg_waiting[TEL_SIM_MAILBOX_TYPE_MAX]; /**< 0: voice , 1 : fax, 2 : email, 3:other, 4 :video */
-} TelSimMwis;
-
-/**
- * This data structure defines the data for the Message Waiting lists.
- */
-typedef struct {
-       unsigned int profile_count; /**< Message waiting list count in SIM */
-       TelSimMwis mw[TEL_SIM_MSP_CNT_MAX]; /**< Message waiting list info in SIM */
-} TelSimMwisList;
-
-/**
- * This data structure defines the data for the MSISDN.
- */
-typedef struct {
-       char *alpha_id; /**< MSISDN Alpha Identifier. If not exist, Null string will be returned */
-       char *num;  /**< MSISDN number. If not exist, Null string will be returned*/
-} TelSimSubscriberInfo;
-
-/**
- * This data structure defines the data for the MSISDN lists.
- */
-typedef struct {
-       unsigned int count; /**< MSISDN list count in SIM */
-       TelSimSubscriberInfo *list; /**< MSISDN list info in SIM */
-} TelSimMsisdnList;
-
-/**
- * This data structure defines the data for the SPN.
- */
-typedef struct {
-       TelSimSpnDispCondition display_condition;       /**< display condition */
-       char spn[TEL_SIM_SPN_LEN_MAX + 1];              /**< SPN */
-} TelSimSpn;
-
-/**
- * This data structure defines the data for the CPHS Network Name.
- */
-typedef struct {
-       char *full_name; /**< Short Network Operator Name */
-       char *short_name; /**< Long Network Operator Name */
-}TelSimCphsNetName;
-
-typedef struct {
-       TelSimResult result;
-       union {
-               TelSimEccList ecc;
-               TelSimLanguagePreferenceCode language;
-               char iccid[TEL_SIM_ICCID_LEN_MAX + 1];
-               TelSimMailboxList mb;
-               TelSimCfisList cf;
-               TelSimMwisList mw;
-               TelSimMsisdnList msisdn_list;
-               TelSimSpn spn;
-               TelSimOplList opl;
-               TelSimPnnList pnn;
-               TelSimSpPlmnList spdi;
-               TelSimCphsNetName cphs_net;
-       } data;
-} TelSimFileResult;
-
-typedef struct {
-       /*      '00' - no mailbox dialing number associated with message waiting indication group type.
-        'xx' - record number in EFMBDN associated with message waiting indication group type.
-        */
-       int voice_index;        /**< voice mailbox identifier*/
-       int fax_index;  /**< FAX mailbox identifier*/
-       int email_index;        /**< email mailbox identifier*/
-       int other_index;        /**< other mailbox identifier*/
-       int video_index;        /**< video mailbox identifier*/
-} TelSimMbi;
-
-/**
- *This is used for authentication request procedure.
- */
-typedef struct {
-       TelSimAuthenticationType auth_type;             /**< Authentication type */
-       unsigned int rand_length;                       /**< the length of RAND */
-       unsigned int autn_length;                       /**< the length of AUTN. it is not used in case of GSM AUTH */
-       char rand_data[TEL_SIM_AUTH_MAX_REQ_DATA_LEN];  /**< RAND data */
-       char autn_data[TEL_SIM_AUTH_MAX_REQ_DATA_LEN];  /**< AUTN data. it is not used in case of GSM AUTH */
-} TelSimAuthenticationData;
-
-/**
- * @enum TelSimAuthenticationResult
- * This is used to get detailed result for Authentication Procedure.
- */
-typedef enum {
-       TEL_SIM_AUTH_NO_ERROR = 0x00, /**< ISIM no error */
-       TEL_SIM_AUTH_CANNOT_PERFORM, /**< status - can't perform authentication */
-       TEL_SIM_AUTH_SKIP_RESPONSE, /**< status - skip authentication response */
-       TEL_SIM_AUTH_MAK_CODE_FAILURE, /**< status - MAK(Multiple Activation Key) code failure */
-       TEL_SIM_AUTH_SQN_FAILURE, /**< status - SQN(SeQuenceNumber) failure */
-       TEL_SIM_AUTH_SYNCH_FAILURE, /**< status - synch failure */
-       TEL_SIM_AUTH_UNSUPPORTED_CONTEXT, /**< status - unsupported context */
-       TEL_SIM_AUTH_UNSPECIFIED /**< Unspecified error */
-} TelSimAuthenticationResult;
-
-/**
- * This is used for result data of authentication.
- */
-typedef struct {
-       TelSimAuthenticationType auth_type;                             /**< authentication type */
-       TelSimAuthenticationResult detailed_result;             /**<Detailed result for authentication procedure*/
-       unsigned int resp_length;                                       /**< response length. IMS and 3G case, it stands for RES_AUTS. GSM case, it stands for SRES. */
-       char resp_data[TEL_SIM_AUTH_MAX_RESP_DATA_LEN];                 /**< response data. IMS and 3G case, it stands for RES_AUTS. GSM case, it stands for SRES. */
-       unsigned int authentication_key_length;                         /**< the length of authentication key, Kc*/
-       char authentication_key[TEL_SIM_AUTH_MAX_RESP_DATA_LEN];        /**< the data of of authentication key, Kc*/
-       unsigned int cipher_length;                                     /**< the length of cipher key length */
-       char cipher_data[TEL_SIM_AUTH_MAX_RESP_DATA_LEN];               /**< cipher key */
-       unsigned int integrity_length;                                  /**< the length of integrity key length */
-       char integrity_data[TEL_SIM_AUTH_MAX_RESP_DATA_LEN];            /**< integrity key */
-} TelSimAuthenticationResponse;
-
-/**
- * @enum TelSimPowerState
- * This enumeration defines the power state of SIM.
- */
-typedef enum {
-       TEL_SIM_POWER_OFF = 0x00, /**< OFF */
-       TEL_SIM_POWER_ON = 0x01, /**< ON */
-       TEL_SIM_POWER_UNSPECIFIED = 0xFF /**< Unspecified */
-} TelSimPowerState;
-
-/**
- * This is used to verify PIN code.
- */
-typedef struct {
-       TelSimPinType pin_type; /**< Specifies the PIN type */
-       char *pw;               /**< Pin password*/
-} TelSimSecPinPw;
-
-/**
- * This is used to verify PUK code.
- */
-typedef struct {
-       TelSimPukType puk_type; /**< Specifies the PUK type */
-       char *puk_pw;           /**< Puk password */
-       char *new_pin_pw;       /**< New corresponding pin password */
-} TelSimSecPukPw;
-
-/**
- * This is used to change PIN code .
- */
-typedef struct {
-       TelSimPinType pin_type; /**< Specifies the PIN type */
-       char *old_pw;           /**< Current password */
-       char *new_pw;           /**< New pin password */
-} TelSimSecChangePinPw;
-
-/**
- * This is used to PIN code verification.
- */
-typedef struct {
-       TelSimPinType pin_type;         /**< Specifies the PIN type */
-       unsigned int retry_count;       /**< Number of attempts remaining for PIN verification */
-} TelSimSecPinResult;
-
-/**
- * This is used to PUK code verification.
- */
-typedef struct {
-       TelSimPukType puk_type;         /**< Specifies the PUK type */
-       unsigned int retry_count;       /**< Number of attempts remaining for PUK verification */
-} TelSimSecPukResult;
-
-/**
- * This structure is used to enable/disable facility
- */
-typedef struct {
-       TelSimLockType lock_type;       /**< Facility type */
-       char *pw;                       /**< password */
-} TelSimFacilityPw;
-
-/**
- * This structure is used to PIN/PUK verification
- */
-typedef struct {
-       TelSimLockType type;            /**< Specifies the PIN or PUK type.*/
-       unsigned int retry_count;       /**< Number of attempts remaining for PIN/PUK verification.*/
-} TelSimFacilityResult;
-
-/**
- * This structure is used to enable/disable facility
- */
-typedef struct {
-       TelSimLockType type; /**< Security lock type */
-       TelSimFacilityStatus f_status; /**< Lock status (enable/disable) */
-}TelSimFacilityInfo;
-
-/**
- *
- * This structure is used to get information about LOCK_TYPE
- */
-typedef struct {
-       TelSimLockType lock_type;       /**< Lock type */
-       TelSimLockStatus lock_status;   /**< Lock key */
-       unsigned int retry_count;       /**< retry counts */
-} TelSimLockInfo;
-
-/**
- * This data structure defines the data for the apdu command.
- */
-typedef struct {
-       unsigned int apdu_len; /**<  SIM APDU length */
-       unsigned char apdu[TEL_SIM_APDU_LEN_MAX]; /**<  SIM APDU data */
-} TelSimApdu;
-
-/**
- * This data structure defines the data for the Response of sending apdu.
- */
-typedef struct {
-       unsigned int apdu_resp_len; /**< Response apdu data length */
-       unsigned char apdu_resp[TEL_SIM_APDU_RESP_LEN_MAX]; /**< Response apdu data */
-} TelSimApduResp;
-
-/**
- * This data structure defines the data for the Response of ATR request.
- */
-typedef struct {
-       unsigned int atr_len; /**<  SIM ATR data length */
-       unsigned char atr[TEL_SIM_ATR_LEN_MAX]; /**<  SIM ATR data */
-} TelSimAtr;
-
-/**
- *  \defgroup TAPI_EVENT TAPI Event IDs
- *  @{
- */
-
-/**
- *  \defgroup TEL_EVENT_SIM SIM Event IDs
- *  @{
- */
-
-/**
- *  @hideinitializer
- *  @brief SIM status
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SIM_STATUS
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SIM_STATUS
- *  @retval data \ref TelSimCardStatus
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SIM_STATUS                            TELEPHONY_SIM_INTERFACE":card_status"
-
-/** @}*/
-/** @}*/
-
-#ifdef __cplusplus
-}
-#endif
-
-/**
- * @}
- */
-#endif /* __TEL_SIM_H__ */
diff --git a/include/common/tel_sms.h b/include/common/tel_sms.h
deleted file mode 100644 (file)
index 18b93e0..0000000
+++ /dev/null
@@ -1,332 +0,0 @@
-/*
- * tel-headers
- *
- * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
- * Copyright (c) 2013 Intel Corporation. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __TEL_SMS_H__
-#define __TEL_SMS_H__
-
-#include <tel_if.h>
-
-/**
-*  @addtogroup TAPI_SMS
-*  @{
-*
-*  @file tel_sms.h
-*  @brief TAPI sms Interface
-*/
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
-#define TELEPHONY_SMS_INTERFACE         TELEPHONY_SERVICE".Sms"
-
-#define TEL_SMS_SCA_LEN_MAX            20      /**< Maximum length of SCA (in string format)*/
-
-#define TEL_SMS_CB_DATA_SIZE_MAX       88      /**< Maximum CB Message Size. Cell broadcast message data [Refer 3GPP TS 23.041 9.4.1] */
-#define TEL_SMS_ETWS_DATA_SIZE_MAX     1252 /**< Maximum ETWS Message Size */
-
-#define TEL_SMS_GSM_MSG_NUM_MAX                255     /**< Maximum GSM SMS message number*/
-#define TEL_SMS_GSM_CBMI_LIST_SIZE_MAX 50      /**< Maximum GSM SMS CBMI list size*/
-#define TEL_SMS_SMDATA_SIZE_MAX                164     /**< Maximum SMS data size that can be stored*/
-
-/**
- * @enum TelSmsMsgStatus
- * This enumeration defines the sms Response (Result) codes.
- */
-typedef enum {
-       TEL_SMS_STATUS_MT_READ, /**< MT message, stored and read */
-       TEL_SMS_STATUS_MT_UNREAD,       /**< MT message, stored and unread */
-       TEL_SMS_STATUS_MO_SENT, /**< MO message, stored and  sent */
-       TEL_SMS_STATUS_MO_NOT_SENT,     /**< MO message, stored but not sent */
-       TEL_SMS_STATUS_MO_DELIVERED, /**< delivered destination */
-       TEL_SMS_STATUS_MO_DELIVERY_NOT_CONFIRMED, /**< Service centre forwarded message but is unable to confirm delivery*/
-       TEL_SMS_STATUS_REPLACED /**< Message has been replaced*/
-} TelSmsMsgStatus;
-
-
-/**
-* @enum TelSmsCbMsgType
-* This enumeration defines the different CB message types.
-*/
-typedef enum {
-       TEL_SMS_CB_MSG_GSM,     /**< GSM Cell broadcast message */
-       TEL_SMS_CB_MSG_UMTS     /**< UMTSCell broadcast message */
-} TelSmsCbMsgType;
-
-/**
-* @enum TelSmsEtwsMsgType
-* This enumeration defines the different ETWS message types.
-*/
-typedef enum {
-       TEL_SMS_ETWS_PRIMARY,    /**< Primary ETWS message */
-       TEL_SMS_ETWS_SECONDARY_GSM,     /**< GSM Secondary ETWS message  */
-       TEL_SMS_ETWS_SECONDARY_UMTS     /**< UMTS Secondary ETWS message  */
-} TelSmsEtwsMsgType;
-
-/**
- * @enum TelSmsResult
- * This enum defines the different SMS error causes that come in the
- * sent status acknowledgement/notification after sending a message to the network
- */
-typedef enum {
-       TEL_SMS_RESULT_SUCCESS, /**< Operation completed successfully */
-       TEL_SMS_RESULT_FAILURE, /**< Operation Failed */
-       TEL_SMS_RESULT_INVALID_PARAMETER,       /**< Invalid input parameters */
-       TEL_SMS_RESULT_MEMORY_FAILURE,   /**< Memory allocation failed */
-       TEL_SMS_RESULT_OPERATION_NOT_SUPPORTED, /**< Operation not supported */
-       TEL_SMS_RESULT_UNKNOWN_FAILURE, /**< Unknown failure */
-
-       TEL_SMS_RESULT_INVALID_MANDATORY_INFO,  /**< Invalid format for some parameters passed in Data package information(TPDU)*/
-       TEL_SMS_RESULT_NETWORK_CONGESTION,      /**< SMS SIM operation cannot be performed due to Network Congestion */
-       TEL_SMS_RESULT_SIM_FAILURE,     /**< SMS SIM operation cannot be performed due to SIM failure */
-       TEL_SMS_RESULT_NETWORK_FAILURE, /**< SMS SIM operation cannot be performed due to Network failure */
-       TEL_SMS_RESULT_OPERATION_NOT_PERMITTED  /** Operation not permitted */
-} TelSmsResult;
-
-/**
- * This structure defines the properties of a dialing number
- * Type of Number, Numbering Plan Indicator and the actual number.
- */
-typedef struct {
-       unsigned char ton; /**< Type of number*/
-       unsigned char npi; /**<Numbering plan identification*/
-       char number[TEL_SMS_SCA_LEN_MAX + 1]; /**< Destination address */
-} TelSmsSca;
-
-/**
- * This structure defines the different parameters of  CB configuration
- */
-typedef struct {
-       unsigned short from_msg_id; /**< Starting point of the range of CBS message ID */
-       unsigned short to_msg_id; /**< Ending point of the range of CBS message ID */
-       gboolean selected;      /**< 0x00 . Not selected. 0x01 . Selected */
-} TelSmsCbMsgInfo3gpp;
-
-/**
- * This structure defines the different parameters of  CB configuration informations
- */
-typedef struct {
-       gboolean cb_enabled; /**< CB service state. If cb_enabled is true then cell broadcast service will be enabled and
-                                               * underlying modem will enable CB Channel to receiving CB messages. Otherwise CB service
-                                               * will be disabled, underlying modem will deactivate the CB channel. (enabled/disabled) */
-       unsigned int msg_id_range_cnt;  /**< Range of CB message ID count */
-       TelSmsCbMsgInfo3gpp msg_ids[TEL_SMS_GSM_CBMI_LIST_SIZE_MAX]; /**< Range of CB message ID information */
-} TelSmsCbConfigInfo;
-
-/**
- * This structure defines different fields involved in setting the parameters of
- * a particular sms in EFsmsp.
- */
-typedef struct {
-       unsigned int index; /**< Index */
-       TelSmsSca sca; /**< Service Centre Address info */
-       unsigned short vp; /**< Validity Period */
-} TelSmsParamsInfo;
-
-/**
- * This structure defines different fields involved in getting the sms parameters
- */
-typedef struct {
-       unsigned int count; /**< SMS parameter count */
-       TelSmsParamsInfo *params; /**< SMS parameter informations */
-} TelSmsParamsInfoList;
-
-/**
- * This structure defines the fields related to an Sms like SIM index, TPDU
- * and length.
- */
-typedef struct {
-       TelSmsSca sca; /**< Service Centre Address info */
-       unsigned int tpdu_length; /**< Size of array tpdu (which is actual TPDU message) */
-       unsigned char tpdu[TEL_SMS_SMDATA_SIZE_MAX]; /**< SMS TPDU message */
-} TelSmsDatapackageInfo;
-
-/**
- *This structure defines the data Related to MessageStatus and SMS Data Stored.
- */
-typedef struct {
-       TelSmsMsgStatus status; /**< Message status.*/
-       TelSmsDatapackageInfo data; /**<SMS message data*/
-} TelSmsSimDataInfo;
-
-/**
- *This structure defines the data Related to SMS Data to be send.
- */
-typedef struct {
-       gboolean more_msgs; /**< More messages to be send exist */
-       TelSmsDatapackageInfo send_data; /**<SMS message data*/
-} TelSmsSendInfo;
-
-/**
- *This structure defines the data Related to set message status
- */
-typedef struct {
-       unsigned int index; /**< Index where message status to be set */
-       TelSmsMsgStatus status; /**< Message status.*/
-} TelSmsStatusInfo;
-
-/**
- * @enum TelSmsDeliveryReport
- * This enum defines the error causes for delivery report
- */
-typedef enum {
-       TEL_SMS_DELIVERY_REPORT_SUCCESS,  /**<Message was sent successfully*/
-       TEL_SMS_DELIVERY_REPORT_MEMORY_ERROR,   /**< Memory capacity exceeded/memory full*/
-       TEL_SMS_DELIVERY_REPORT_UNSPECIFIED_ERROR       /**<Unspecified error */
-} TelSmsDeliveryReport;
-
-/**
- *This structure defines the SMS delivery report information
- */
-typedef struct {
-       TelSmsDeliveryReport report;    /**<Delivery report response types*/
-       TelSmsDatapackageInfo data;     /**<SMS data */
-} TelSmsDeliverReportInfo;
-
-/**
- * This structure defines the different parameters that are related to the message count
- * in a particular memory(Phone/SIM)
- */
-typedef struct {
-       unsigned int total_count;       /**< Total count of messages stored in SIM*/
-       unsigned int used_count;        /**< Stored message count in SIM in SIM*/
-       unsigned int index_list[TEL_SMS_GSM_MSG_NUM_MAX]; /**< Message index list stored in SIM. And the maximum
-                                                                                                          *size of this array can be of totalCount.This array contains the
-                                                                                                          *list of index values in which the messages are stored.
-                                                                                                          *i.e. index_list[totalcount] = [2,3] denotes that indexs
-                                                                                                          *2 and 3 are stored(valid) and others not(empty).
-                                                                                                          */
-} TelSmsStoredMsgCountInfo;
-
-/**
- * This structure defines a cell broadcast message.
- */
-typedef struct {
-       TelSmsCbMsgType cb_type;        /**< Cell Broadcast  message type */
-       unsigned int length;    /**<Length of cb_data (which is actual TPDU message) */
-       unsigned char *cb_data;  /**<Cell broadcast message data[Refer 3GPP TS 23.041 9.4.1]*/
-} TelSmsCbMsgInfo;
-
-/**
- * This structure defines a ETWS message.
- */
-typedef struct {
-       TelSmsEtwsMsgType etws_type;    /**< Cell Broadcast  message type */
-       unsigned int length;    /**<Length of etws_data (which is actual TPDU message) */
-       unsigned char *etws_data;       /**<Cell broadcast message data[Refer 3GPP TS 23.041 9.4.1]*/
-} TelSmsEtwsMsgInfo;
-
-/**
- *  \defgroup TAPI_EVENT TAPI Event IDs
- *  @{
- */
-
-/**
- *  \defgroup TEL_EVENT_SMS SMS Event IDs
- *  @{
- */
-
-/**
- *  @hideinitializer
- *  @brief Incoming Message
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SMS_INCOM_MSG
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SMS_INCOM_MSG
- *  @retval data reference to \ref TelSmsDatapackageInfo structure
- *  @retval user_data user data passed while registering the event
- */
- #define TEL_NOTI_SMS_INCOM_MSG                        TELEPHONY_SMS_INTERFACE":IncomingMsg"
-
-/**
- *  @hideinitializer
- *  @brief Incoming CB Message
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SMS_CB_INCOM_MSG
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SMS_CB_INCOM_MSG
- *  @retval data reference to \ref TelSmsCbMsgInfo structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SMS_CB_INCOM_MSG                      TELEPHONY_SMS_INTERFACE":IncomingCbMsg"
-
-/**
- *  @hideinitializer
- *  @brief Incoming ETWS Message
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SMS_ETWS_INCOM_MSG
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SMS_ETWS_INCOM_MSG
- *  @retval data reference to \ref TelSmsEtwsMsgInfo structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SMS_ETWS_INCOM_MSG            TELEPHONY_SMS_INTERFACE":IncomingEtwsMsg"
-
-/**
- *  @hideinitializer
- *  @brief SIM memory status for SMS
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SMS_SIM_MEMORY_STATUS
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SMS_SIM_MEMORY_STATUS
- *  @retval data <b>TRUE</b>: Memory available\n <b>FALSE</b>: Memory NOT available
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SMS_SIM_MEMORY_STATUS         TELEPHONY_SMS_INTERFACE":SimMemoryStatus"
-
-/**
- *  @hideinitializer
- *  @brief SMS init status
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SMS_INIT_STATUS
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SMS_INIT_STATUS
- *  @retval data <b>TRUE</b>: SMS is Initialized\n <b>FALSE</b>: SMS is NOT initialized
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SMS_INIT_STATUS                       TELEPHONY_SMS_INTERFACE":InitStatus"
-
-/** @}*/
-/** @}*/
-
-#ifdef __cplusplus
-}
-#endif
-
-/**
- * @}
- */
-
-#endif  /* __TEL_SMS_H__ */
diff --git a/include/common/tel_ss.h b/include/common/tel_ss.h
deleted file mode 100755 (executable)
index e2fafb2..0000000
+++ /dev/null
@@ -1,421 +0,0 @@
-/*
- * tel-headers
- *
- * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
- * Copyright (c) 2013 Intel Corporation. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __TEL_SS_H__
-#define __TEL_SS_H__
-
-#include <tel_if.h>
-
-/**
-*  @addtogroup TAPI_SS
-*  @{
-*
-*  @file tel_ss.h
-*  @brief TAPI Ss Interface
-*/
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
-#define TELEPHONY_SS_INTERFACE TELEPHONY_SERVICE".Ss"
-
-/** Maximum Barring Password length */
-#define TEL_SS_BARRING_PASSWORD_LEN_MAX 4      /**<Maximum length of barring password */
-
-/** Maximum Call Forwarding Number length */
-#define TEL_SS_NUMBER_LEN_MAX 82       /**<Maximum Call Forwarding Number length */
-
- /**
- * @enum TelSsResult
- * This enumeration defines the ss Response (Result) codes
- */
- typedef enum {
-       TEL_SS_RESULT_SUCCESS,                                  /**< Operation completed successfully */
-       TEL_SS_RESULT_FAILURE,                                  /**< Operation failed */
-       TEL_SS_RESULT_INVALID_PARAMETER,                /**< Invalid input parameters */
-       TEL_SS_RESULT_MEMORY_FAILURE,                   /**< Memory allocation falied */
-       TEL_SS_RESULT_OPERATION_NOT_SUPPORTED,/**< Operation is not supported */
-       TEL_SS_RESULT_SERVICE_NOT_AVAILABLE,    /**< Service is not available */
-       TEL_SS_RESULT_OPERATION_NOT_ALLOWED,    /**< Operation is not allowed currently */
-       TEL_SS_RESULT_INCORRECT_OPERATION,              /**< Incorrect Operation */
-       TEL_SS_RESULT_INVALID_PASSWORD,                 /**< Password is invalid */
-       TEL_SS_RESULT_PASSWORD_BLOCKED,                 /**< Password blocked */
-       TEL_SS_RESULT_UNKONWN_ALPHABET,         /**< SS error indicating unknown SS data coding of alphabet */
-       TEL_SS_RESULT_OPERATION_NOT_PERMITTED   /**< Operation not permitted */
-} TelSsResult;
-
-/**
- * @enum TelSsClass
- * This enumeration defines the Ss Class Information.
- */
-typedef enum {
-       TEL_SS_CLASS_ALL_TELE_BEARER = 0,
-       /* TELESERVICE */
-       TEL_SS_CLASS_ALL_TELE = 10,                     /**< 0x10 : All Teleservices */
-       TEL_SS_CLASS_VOICE = 11,                                /**< 0x11 : All Voice ( telephony ) */
-       TEL_SS_CLASS_ALL_DATA_TELE = 12,                /**< 0x12 : All Data Teleservices */
-       TEL_SS_CLASS_FAX = 13,                                  /**< 0x13 : All Fax Service */
-       TEL_SS_CLASS_SMS = 16,                                  /**< 0x16 : SMS service  */
-       TEL_SS_CLASS_VGCS = 17,                         /**< 0x17 : Voice Group Call Service */
-       TEL_SS_CLASS_VBS = 18,                                  /**< 0x18 : Voice Broadcast */
-       TEL_SS_CLASS_ALL_TELE_EXPT_SMS = 19,    /**< 0x19 : All teleservice except SMS */
-
-       /* BEARER SERVICE */
-       TEL_SS_CLASS_ALL_BEARER = 20,                   /**< 0X20 : all bearer services */
-       TEL_SS_CLASS_ALL_ASYNC = 21,                    /**< 0x21 : All Async services */
-       TEL_SS_CLASS_ALL_SYNC = 22,                     /**< 0x21 : All Async services */
-       TEL_SS_CLASS_ALL_CS_SYNC = 24,          /**< 0x24 : All Circuit switched sync */
-       TEL_SS_CLASS_ALL_CS_ASYNC = 25,         /**< 0x25 : All Circuit switched async */
-       TEL_SS_CLASS_ALL_DEDI_PS = 26,          /**< 0x26 : All Dedicated packet Access */
-       TEL_SS_CLASS_ALL_DEDI_PAD = 27,         /**< 0x27 : All Dedicated PAD Access */
-       TEL_SS_CLASS_ALL_DATA_CDA = 28,         /**< 0x28 : All Data CDA*/
-
-       /* CPHS - AUXILIARY SERVICE */
-       TEL_SS_CLASS_AUX_VOICE = 89,                    /**< 0x89 : All Auxiliary Voice ( Auxiliary telephony ) */
-
-       TEL_SS_CLASS_ALL_GPRS_BEARER = 99,      /**< 0x99 : All GPRS bearer services */
-} TelSsClass;
-
-/**
- * @enum TelSsBarringType
- * This enumeration defines the Call Barring Types
- */
-typedef enum {
-       TEL_SS_CB_TYPE_BAOC, /**< All Outgoing calls */
-       TEL_SS_CB_TYPE_BOIC, /**< Outgoing international calls */
-       TEL_SS_CB_TYPE_BOIC_NOT_HC, /**< Outgoing international calls except
-                                       to Home Country */
-       TEL_SS_CB_TYPE_BAIC, /**< All Incoming Calls */
-       TEL_SS_CB_TYPE_BIC_ROAM, /**< Incoming Calls when roam */
-       TEL_SS_CB_TYPE_NS, /**< Incoming calls from numbers Not stored to SIM */
-       TEL_SS_CB_TYPE_AB,  /**< All barring services */
-       TEL_SS_CB_TYPE_AOB, /**< All outgoing barring services */
-       TEL_SS_CB_TYPE_AIB, /**< All incoming barring services */
-} TelSsBarringType;
-
-/**
- * @enum TelSsForwardCondition
- * This enumeration defines the Call Forwarding Condition
- */
-typedef enum {
-       TEL_SS_CF_COND_CFU, /**< Unconditional */
-       TEL_SS_CF_COND_CFB,  /**< Mobile Subscriber Busy */
-       TEL_SS_CF_COND_CFNRY, /**< No Reply */
-       TEL_SS_CF_COND_CFNRC, /**< Not Reachable */
-       TEL_SS_CF_COND_ALL,   /**< All */
-       TEL_SS_CF_COND_ALL_CFC, /**< All Conditional */
-} TelSsForwardCondition;
-
-/**
- * @enum TelSsForwardMode
- * This enumeration defines the Call Forwarding Mode
- */
-typedef enum {
-       TEL_SS_CF_MODE_DISABLE, /**< Deactivate call forwarding  */
-       TEL_SS_CF_MODE_ENABLE, /**< Activate call forwarding */
-       TEL_SS_CF_MODE_REGISTER, /**< Register Call forwarding  */
-       TEL_SS_CF_MODE_DEREGISTER, /**< De-register call forwarding */
-} TelSsForwardMode;
-
-/**
- * @enum TelSsClirNetworkStatus
- * This enumeration defines the Clir Network Status
- */
-typedef enum {
-       TEL_CLIR_STATUS_NOT_PROVISIONED, /**<Service not provided by the service provider */
-       TEL_CLIR_STATUS_PROVISIONED, /**<Service is provided by the service provider */
-       TEL_CLIR_STATUS_UNKNOWN, /**<Service status is unknown*/
-       TEL_CLIR_STATUS_TEMP_RESTRICTED, /**<Service is temporarily restricted */
-       TEL_CLIR_STATUS_TEMP_ALLOWED, /**<Service is temporarily allowed */
-} TelSsClirNetworkStatus;
-
-/**
- * @enum TelSsClirDeviceStatus
- * This enumeration defines the Clir Device Status
- * The device CLIR status overrides the CLIR subscription when temporary mode is provisioned
- */
-typedef enum {
-       TEL_CLIR_STATUS_DEFAULT,  /**< According to the subscription of CLIR */
-       TEL_CLIR_STATUS_INVOCATION, /**< CLI presentation is restricted */
-       TEL_CLIR_STATUS_SUPPRESSION, /**< CLI presentation is allowed */
-} TelSsClirDeviceStatus;
-
-/**
- * @enum TelSsCliNetworkStatus
- * This enumeration defines the Cli Network Status
- */
-typedef enum {
-       TEL_SS_CLI_NOT_PROVISIONED, /**<Service not provided by the service provider */
-       TEL_SS_CLI_PROVISIONED, /**<Service is provided by the service provider */
-       TEL_SS_CLI_UNKNOWN, /**<Service status is unknown*/
-} TelSsCliNetworkStatus;
-
-/**
- * @enum TelSsCliDeviceStatus
- * This enumeration defines the Cli Device Status
- */
-typedef enum {
-       TEL_SS_CLI_DISABLE, /**<CLI is disabled */
-       TEL_SS_CLI_ENABLE, /**<<CLI is enabled */
-} TelSsCliDeviceStatus;
-
-/**
- * @enum TelSsCliType
- * This enumeration defines the Cli Service Types
- */
-typedef enum {
-       TEL_SS_CLI_CLIP, /**< Calling Line Identification Presentation */
-       TEL_SS_CLI_CLIR, /**< Calling Line Identification Restriction */
-       TEL_SS_CLI_COLP, /**< Connected Line Identification Presentation */
-       TEL_SS_CLI_COLR, /**< Connected Line Identification Restriction */
-       TEL_SS_CLI_CDIP, /**< Called Line Identification Presentation */
-       TEL_SS_CLI_CNAP, /**< Calling Name Presentation */
-} TelSsCliType;
-
-/**
- * @enum TelSsUssdStatus
- * This enumeration defines the ussd Indication Type
- */
-typedef enum {
-       TEL_SS_USSD_STATUS_NO_ACTION_REQUIRED, /**< No further user action required */
-       TEL_SS_USSD_STATUS_ACTION_REQUIRED, /**< Further user action required*/
-       TEL_SS_USSD_STATUS_TERMINATED_BY_NETWORK, /**< USSD terminated by network */
-       TEL_SS_USSD_STATUS_OTHER_CLIENT, /**< Other local client has responded */
-       TEL_SS_USSD_STATUS_NOT_SUPPORTED, /**< Operation not supported */
-       TEL_SS_USSD_STATUS_TIME_OUT, /**< Time out when there is no response from network */
-} TelSsUssdStatus;
-
-/**
- * @enum TelSsUssdType
- * This enum defines the values for USSD type
- */
-typedef enum {
-       TEL_SS_USSD_TYPE_USER_INIT, /**< USSD request type User Initiated. */
-       TEL_SS_USSD_TYPE_USER_RSP, /**< USSD request type User Response. */
-       TEL_SS_USSD_TYPE_USER_REL, /**< USSD request type User Release. */
-} TelSsUssdType;
-
-/**
- *  This structure  defines the different parameters related to call barring.
- */
- typedef struct {
-       TelSsClass class; /**< SS class */
-       gboolean enable; /**< Barring enable/disable */
-       TelSsBarringType type; /**< Barring type */
-       char pwd[TEL_SS_BARRING_PASSWORD_LEN_MAX + 1]; /**< Barring password */
-} TelSsBarringInfo;
-
-/**
- *  This structure  defines the different parameters related to Call Barring Service Information to get Status.
- */
-typedef struct {
-       TelSsClass class; /**< SS class */
-       TelSsBarringType type; /**< Call barring types providing various barring conditions on that basis call be barred */
-} TelSsBarringGetInfo;
-
-/**
- * This structure defines the values for ss call barring record
- */
-typedef struct {
-       TelSsClass class; /**< SS class */
-       gboolean enable; /**< Barring enable/disable */
-       TelSsBarringType type; /**< Call barring types providing various barring conditions on that basis call be barred */
-} TelSsBarringInfoRecord;
-
-/**
- * This structure defines the values for ss Call Barring Service Response Information
- */
-typedef struct {
-       unsigned int record_num; /**< Number of Call barring record */
-       TelSsBarringInfoRecord *records; /**< Call barring records */
-} TelSsBarringResp;
-
-/**
- * This structure defines the values for ss Call Barring Password Change Information
- */
-typedef struct {
-       char old_pwd[TEL_SS_BARRING_PASSWORD_LEN_MAX + 1]; /**< Call barring password(old) */
-       char new_pwd[TEL_SS_BARRING_PASSWORD_LEN_MAX + 1]; /**< Call barring password(new) */
-} TelSsBarringPwdInfo;
-
-/**
- * This structure defines the values for ss Call Forwarding Service Setting Information
- */
-typedef struct {
-       TelSsClass class; /**< SS class */
-       TelSsForwardMode mode; /**< Call Forwarding Mode */
-       TelSsForwardCondition condition; /**< Call Forwarding Condition */
-       char number[TEL_SS_NUMBER_LEN_MAX + 1]; /**< Call Forwarding Number*/
-       unsigned int wait_time; /**< No reply wait time 1-30 secs */
-} TelSsForwardInfo;
-
-/**
- * This structure defines the values for ss Call Forwarding Service Information to get Forwarding Status
- */
-typedef struct {
-       TelSsClass class; /**< SS class */
-       TelSsForwardCondition condition; /**< Call Forwarding Condition */
-} TelSsForwardGetInfo;
-
-/**
- * This structure defines the values for ss Call Forwarding Service Information to set Forwarding
- */
-typedef struct {
-       TelSsClass class; /**< SS class */
-       gboolean enable; /**< Call Forwarding enable/disable */
-       TelSsForwardCondition condition; /**< Call Forwarding Condition */
-       char number[TEL_SS_NUMBER_LEN_MAX + 1]; /**< Call forwarding number */
-       unsigned int wait_time; /**< Only be available when "no reply" is enabled
-                                       or queried, range: 1 - 30 */
-} TelSsForwardingInfoRecord;
-
-/**
- * This structure defines the values for ss Call Forwarding Service Response data
- */
-typedef struct {
-       unsigned int record_num; /**< Number of Call Forwarding record */
-       TelSsForwardingInfoRecord *records; /**< Call Forwarding records */
-} TelSsForwardingResp;
-
-/**
- * This structure defines the values for ss Call Waiting Service Setting Information
- */
-typedef struct {
-       TelSsClass class; /**< SS class */
-       gboolean enable; /**< Call waiting enable/disable */
-} TelSsWaitingInfo;
-
-/**
- * This structure defines the values for ss Call Waiting Service Response data
- */
-typedef struct {
-       unsigned int record_num; /**< Number of Call waiting record */
-       TelSsWaitingInfo *records; /**< Call waiting records */
-} TelSsWaitingResp;
-
-/**
- * This structure defines the values for ss CLIR status Information
- */
-typedef struct {
-       TelSsClirNetworkStatus net_status; /**< CLIR status (network side) */
-       TelSsClirDeviceStatus dev_status;  /**< CLIR status (device side) */
-} TelSsClirStatus;
-
-/**
- * This structure defines the values for ss CLI status Information
- */
-typedef struct {
-       TelSsCliNetworkStatus net_status; /**< CLI status (network side) */
-       TelSsCliDeviceStatus dev_status;  /**< CLI status (device side) */
-} TelSsCliStatus;
-
-/**
- * This structure defines the values for ss CLI Service Response data
- */
-typedef struct {
-       TelSsCliType type; /**< line identification service types */
-       union {
-               TelSsClirStatus clir; /**< CLIR status */
-               TelSsCliStatus clip; /**< CLIP status */
-               TelSsCliStatus colp; /**< COLP status */
-               TelSsCliStatus colr; /**< COLR status */
-               TelSsCliStatus cdip; /**< CDIP status */
-               TelSsCliStatus cnap; /**< CNAP status */
-       } status; /**< union */
-} TelSsCliResp;
-
-/**
- * This structure defines the values for ss CLI Service(include CLIR) Setting Information
- */
-typedef struct {
-       TelSsCliType type; /**< line identification service types */
-       union {
-               TelSsClirDeviceStatus clir; /**< CLIR status */
-               TelSsCliDeviceStatus clip; /**< CLIP status */
-               TelSsCliDeviceStatus colp; /**< COLP status */
-               TelSsCliDeviceStatus colr; /**< COLR status */
-               TelSsCliDeviceStatus cdip; /**< CDIP status */
-               TelSsCliDeviceStatus cnap; /**< CNAP status */
-       } status; /**< union */
-} TelSsCliInfo;
-
-/**
- * This structure defines the values for ss USSD Request Information
- */
-typedef struct {
-       TelSsUssdType type; /**< USSD type */
-       unsigned char *str; /**< NULL terminated UTF-8 USSD string */
-} TelSsUssdInfo;
-
-/**
- * This structure defines the values for ss USSD Response data
- */
-typedef struct {
-       TelSsUssdType type; /**< USSD type */
-       TelSsUssdStatus status; /**< USSD status */
-       unsigned char *str; /**< NULL terminated UTF-8 USSD string */
-} TelSsUssdResp;
-
-/**
- * This structure defines the values for ss USSD Notification data
- */
-typedef struct {
-       TelSsUssdStatus status; /**< USSD status */
-       unsigned char *str; /**< NULL terminated UTF-8 USSD string */
-} TelSsUssdNoti;
-
-/**
- *  \defgroup TAPI_EVENT TAPI Event IDs
- *  @{
- */
-
-/**
- *  \defgroup TEL_EVENT_SS SS Event IDs
- *  @{
- */
-
-/**
- *  @hideinitializer
- *  @brief USSD status and string
- *  @section subscription Event Subscription
- *  @details Event can be subscribed with event id TEL_NOTI_SS_USSD
- *  @sa tapi_register_event_id
- *  @section handling Event Handling
- *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
- *  @retval handle #TelHandle used for registering the event
- *  @retval evt_id TEL_NOTI_SS_USSD
- *  @retval data reference to \ref TelSsUssdNoti structure
- *  @retval user_data user data passed while registering the event
- */
-#define TEL_NOTI_SS_USSD                               TELEPHONY_SS_INTERFACE":NotifyUssd"
-
-/** @}*/
-/** @}*/
-
-#ifdef __cplusplus
-}
-#endif
-
-/**
- * @}
- */
-
-#endif /* __TEL_SS_H__ */
index 84c2f54d71c2605f475f19541a2e4d59aad5c437..2fbd2906bf84e0ca9483a76da3bdf5155ffd42b1 100644 (file)
@@ -1,6 +1,7 @@
 %define major 3
 %define minor 0
 %define patchlevel 1
+%define dbus_gen_code_path %{_includedir}/tel-headers/introspection
 
 Name: libtcore
 Summary: Telephony-core library
@@ -27,12 +28,26 @@ Group:          Development/Libraries
 %description devel
 Telephony-core library (Development)
 
+%package -n tel-headers
+Summary:        Telephony-common header files
+Group:          System/Libraries
+BuildRequires:  python
+BuildRequires:  python-xml
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(gudev-1.0)
+BuildRequires:  pkgconfig(gio-2.0)
+BuildRequires:  pkgconfig(gio-unix-2.0)
+BuildRequires:  pkgconfig(gobject-2.0)
+
+%description -n tel-headers
+Telephony-common header files
+
 %prep
 %setup -q
 cp %{SOURCE1001} .
 
 %build
-%cmake . -DVERSION=%{version}
+%cmake . -DDBUS_GEN_CODE_PATH=%{dbus_gen_code_path} -DVERSION=%{version}
 make %{?jobs:-j%jobs}
 
 %post
@@ -56,3 +71,10 @@ cp LICENSE %{buildroot}/usr/share/license/%{name}
 %defattr(-,root,root,-)
 %{_includedir}/*
 %{_libdir}/pkgconfig/tcore.pc
+
+%files -n tel-headers
+%defattr(-,root,root,-)
+%{_includedir}/tel-headers
+%{dbus_gen_code_path}/tel_generated_code.h
+%{_libdir}/pkgconfig/tel-headers.pc
+%{_libdir}/libtel-headers*
index af80ea799af06ba520cecd1a0a69ec895a956007..10d45f9a2fe8766e372a33f4e7f14da74ac94117 100644 (file)
@@ -6,7 +6,6 @@ includedir=${prefix}/include
 Name: tcore
 Description: SLP Telephony core API
 Version: 1.0
-Requires: glib-2.0 gobject-2.0 gudev-1.0
+Requires: glib-2.0 gobject-2.0 gudev-1.0 gio-unix-2.0 gio-2.0
 Libs: -L${libdir} -ltcore -ldl
-Cflags: -I${includedir}/tcore -I${includedir}/tcore/common
-
+Cflags: -I${includedir}/tcore
diff --git a/tel-headers/CMakeLists.txt b/tel-headers/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e4834ec
--- /dev/null
@@ -0,0 +1,65 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+PROJECT(tel-headers C)
+
+#SET(EXEC_PREFIX "\${prefix}")
+#SET(LIBDIR "\${prefix}/lib")
+#SET(INCLUDEDIR "\${prefix}/include")
+
+# Set required packages
+INCLUDE(FindPkgConfig)
+pkg_check_modules(pkgs REQUIRED glib-2.0 gobject-2.0 gio-2.0 gio-unix-2.0)
+
+FOREACH(flag ${pkgs_CFLAGS})
+       SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
+ENDFOREACH(flag)
+
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wextra -Wall -Wno-unused-parameter -Wno-missing-field-initializers")
+
+#Garbage collection - Unused code
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fdata-sections -ffunction-sections -Wl,--gc-sections")
+
+INCLUDE_DIRECTORIES(
+       ${CMAKE_BINARY_DIR}
+       ${CMAKE_BINARY_DIR}/tel-headers
+       ${CMAKE_SOURCE_DIR}/tel-headers/include
+       ${CMAKE_SOURCE_DIR}/tel-headers/introspection
+)
+
+MESSAGE(${CMAKE_C_FLAGS})
+MESSAGE(${CMAKE_EXE_LINKER_FLAGS})
+
+SET(INTROSPECTION_PATH ${CMAKE_SOURCE_DIR}/tel-headers/introspection)
+
+ADD_CUSTOM_COMMAND(
+       OUTPUT ${CMAKE_BINARY_DIR}/tel-headers/tel_generated_code.c
+       COMMAND gdbus-codegen
+       --interface-prefix org.tizen.telephony.
+       --generate-c-code tel_generated_code
+       --c-namespace Telephony
+       --c-generate-object-manager
+       ${INTROSPECTION_PATH}/manager.xml
+       ${INTROSPECTION_PATH}/network.xml
+       ${INTROSPECTION_PATH}/sim.xml
+       ${INTROSPECTION_PATH}/phonebook.xml
+       ${INTROSPECTION_PATH}/sap.xml
+       ${INTROSPECTION_PATH}/sat.xml
+       ${INTROSPECTION_PATH}/sms.xml
+       ${INTROSPECTION_PATH}/call.xml
+       ${INTROSPECTION_PATH}/ss.xml
+       ${INTROSPECTION_PATH}/modem.xml
+       ${INTROSPECTION_PATH}/gps.xml
+       COMMENT "Generating GDBus .c/.h")
+
+# pkgconfig file
+SET(PREFIX ${CMAKE_INSTALL_PREFIX})
+CONFIGURE_FILE(tel-headers.pc.in tel-headers.pc @ONLY)
+
+ADD_LIBRARY(${PROJECT_NAME} SHARED ${CMAKE_BINARY_DIR}/tel-headers/tel_generated_code.c)
+TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS})
+SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES VERSION 0.0.0 SOVERSION 0 OUTPUT_NAME ${PROJECT_NAME})
+
+# install
+INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/tel-headers/include/ DESTINATION include/tel-headers/include)
+INSTALL(FILES ${CMAKE_BINARY_DIR}/tel-headers/tel_generated_code.h DESTINATION ${DBUS_GEN_CODE_PATH})
+INSTALL(TARGETS tel-headers LIBRARY DESTINATION ${LIB_INSTALL_DIR})
+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/tel-headers.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
diff --git a/tel-headers/include/tel_call.h b/tel-headers/include/tel_call.h
new file mode 100644 (file)
index 0000000..5b18ac6
--- /dev/null
@@ -0,0 +1,831 @@
+/*
+ * tel-headers
+ *
+ * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
+ * Copyright (c) 2013 Intel Corporation. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __TEL_CALL_H__
+#define __TEL_CALL_H__
+
+#include <glib.h>
+#include <tel_if.h>
+
+/**
+*  @addtogroup TAPI_CALL
+*  @{
+*
+*  @file tel_call.h
+*  @brief TAPI Call Interface
+*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define TELEPHONY_CALL_INTERFACE TELEPHONY_SERVICE".Call"
+
+#define TEL_CALL_CALLING_NAME_LEN_MAX          82      /**< The maximum length of the string for calling party name.   */
+#define TEL_CALL_CALLING_NUMBER_LEN_MAX                82      /**< Maximum Dialling Digit Length  */
+#define TEL_CALL_MAX_CALLS_COUNT               6                       /**< Maximum number of call can be possible at a time */
+#define TEL_CALL_MAX_SOUND_EQ_PARAMETER_SIZE   6       /**< Maximum number of sound equalization parameter size */
+#define TEL_CALL_MAX_VOLUME_INFO_RECORD                20      /**< Maximum number of record for volume information */
+
+/**
+ * @enum TelCallResult
+ * Response (Return) values.
+ */
+typedef enum {
+       TEL_CALL_RESULT_SUCCESS,                                                /**< Operation completed successfully */
+       TEL_CALL_RESULT_FAILURE,                                                /**< Operation Failed */
+       TEL_CALL_RESULT_INVALID_PARAMETER,                      /**< Invalid input parameters */
+       TEL_CALL_RESULT_MEMORY_FAILURE,                         /**< Memory allocation failed */
+       TEL_CALL_RESULT_OPERATION_NOT_SUPPORTED,        /**< Operation not supported */
+       TEL_CALL_RESULT_FDN_RESTRICTED,                         /**< FDN calls only */
+       TEL_CALL_RESULT_NETWORK_BUSY,                           /**< Network busy */
+       TEL_CALL_RESULT_SERVICE_NOT_ALLOWED,            /**< Service is not allowed */
+       TEL_CALL_RESULT_OPERATION_NOT_PERMITTED /**< Operation not permitted */
+} TelCallResult;
+
+/**
+ * @enum TelCallEndCause
+ * Call End Cause.
+ */
+typedef enum {
+       TEL_CALL_END_CAUSE_NONE,                                                        /**< No Cause */
+       TEL_CALL_END_CAUSE_FAILED,                                              /**< Call failed */
+       TEL_CALL_END_CAUSE_UNASSIGNED_NUMBER,                   /**< Unassigned Number */
+       TEL_CALL_END_CAUSE_NO_ROUTE_TO_DEST,                    /**< No Route to Destination */
+       TEL_CALL_END_CAUSE_OPERATOR_DETERMINED_BARRING, /**< Operator Determined Barring */
+       TEL_CALL_END_CAUSE_NORMAL_CALL_CLEARING,                /**< Normal Call Clearing */
+       TEL_CALL_END_CAUSE_USER_BUSY,                                   /**< User Busy */
+       TEL_CALL_END_CAUSE_NO_USER_RESPONDING,          /**< No user Responding */
+       TEL_CALL_END_CAUSE_USER_ALERTING_NO_ANSWER,             /**< User Alerting no Answer */
+       TEL_CALL_END_CAUSE_CALL_REJECTED,                               /**< Call Rejected */
+       TEL_CALL_END_CAUSE_NUMBER_CHANGED,                              /**< Number Changed */
+       TEL_CALL_END_CAUSE_DESTINATION_OUT_OF_ORDER,    /**< Destination out of Order */
+       TEL_CALL_END_CAUSE_INVALID_NUMBER_FORMAT,               /**< Invalid Number Format */
+       TEL_CALL_END_CAUSE_FACILITY_REJECTED,                   /**< Facility Rejected */
+       TEL_CALL_END_CAUSE_NO_CIRCUIT_CHANNEL_AVAILABLE,        /**< No Circuit Channel Available */
+       TEL_CALL_END_CAUSE_NETWORK_OUT_OF_ORDER,                        /**< Network out of Order */
+       TEL_CALL_END_CAUSE_TEMPORARY_FAILURE,                           /**< Temporary Failure */
+       TEL_CALL_END_CAUSE_SWITCHING_EQUIPMENT_CONGESTION,      /**< Switching Equipment Congestion */
+       TEL_CALL_END_CAUSE_REQUESTED_CIRCUIT_CHANNEL_NOT_AVAILABLE,     /**< Requested Circuit channel not available */
+       TEL_CALL_END_CAUSE_REQUESTED_FACILITY_NOT_SUBSCRIBED,           /**< Requested facility not subscribed */
+       TEL_CALL_END_CAUSE_ACM_GEQ_ACMMAX,                      /**< ACM equal to greater than ACMAX */
+       TEL_CALL_END_CAUSE_IMEI_NOT_ACCEPTED,                   /**< IMEI not accepted */
+       TEL_CALL_END_CAUSE_NETWORK_FAILURE,             /**< Network unavailable */
+       TEL_CALL_END_CAUSE_CONGESTION,                  /**< Congestion */
+       TEL_CALL_END_CAUSE_SERVICE_OPTION_OUT_OF_ORDER, /**< Service option temporarily out of order */
+       TEL_CALL_END_CAUSE_ACCESS_CLASS_BLOCKED,                /**< Access class blocked */
+} TelCallEndCause;
+
+/**
+ * @enum TelCallState
+ * Call States.
+ */
+typedef enum {
+       TEL_CALL_STATE_IDLE,            /**< Call is in idle state - i.e. no call */
+       TEL_CALL_STATE_ACTIVE,          /**< Call is in connected and conversation state */
+       TEL_CALL_STATE_HELD,            /**< Call is in held state */
+       TEL_CALL_STATE_DIALING,         /**< Call is in dialing state */
+       TEL_CALL_STATE_ALERT,           /**< Call is in alerting state */
+       TEL_CALL_STATE_INCOMING,        /**< Call is in incoming state */
+       TEL_CALL_STATE_WAITING,         /**< Call is in waiting state */
+} TelCallState;
+
+/**
+ * @enum TelCallActiveLine
+ * IN GSM ONLY: Call Active Line.
+ */
+typedef enum {
+       TEL_CALL_ACTIVE_LINE1,          /**< Line 1 */
+       TEL_CALL_ACTIVE_LINE2           /**< Line 2 */
+} TelCallActiveLine;
+
+/**
+ * @enum TelCallAnswerType
+ * Call Answer Types.
+ */
+typedef enum {
+       TEL_CALL_ANSWER_ACCEPT,                 /**< Used to answer an incoming call when there are no current active calls. */
+       TEL_CALL_ANSWER_REJECT,                 /**< Used to reject the incoming call */
+       TEL_CALL_ANSWER_REPLACE,                /**< Release current active call and accept the incoming call */
+       TEL_CALL_ANSWER_HOLD_AND_ACCEPT,        /**< Hold the current active call, and accept the wating call */
+} TelCallAnswerType;
+
+/**
+ * @enum TelCallEndType
+ * Call End Types.
+ */
+typedef enum {
+       TEL_CALL_END,                           /**< Used to end single call with call handle */
+       TEL_CALL_END_ALL,                       /**< Used to end all calls */
+       TEL_CALL_END_ACTIVE_ALL,                /**< Used to end all active calls */
+       TEL_CALL_END_HOLD_ALL,                  /**< Used to end all hold calls */
+} TelCallEndType;
+
+/**
+ * @enum TelCallType
+ * Call Type.
+ */
+typedef enum {
+       TEL_CALL_TYPE_VOICE,    /**< Voice call type. */
+       TEL_CALL_TYPE_VIDEO,    /**< Video call type  */
+       TEL_CALL_TYPE_E911      /**< Emergency call type. */
+} TelCallType;
+
+/**
+ * @enum TelCallActiveState
+ * Current Call State.
+ */
+typedef enum {
+       TEL_CALL_CONNECT_IDLE,          /**< Call is in Idle state. */
+       TEL_CALL_CONNECT_ACTIVE,        /**< Call is in Active state.*/
+       TEL_CALL_CONNECT_HELD           /**< Call is in Held state. */
+} TelCallActiveState;
+
+/**
+ * @enum TelCallCliValidity
+ * CLI(Calling Line Identification) Validity.
+ */
+typedef enum {
+       TEL_CALL_CLI_VALIDITY_VALID,                            /**< CLI is valid */
+       TEL_CALL_CLI_VALIDITY_WITHHELD,                 /**< CLI is withheld ("Rejected by user")*/
+       TEL_CALL_CLI_VALIDITY_NOT_AVAILABLE,            /**< CLI is not available ("Interaction with other service" or "Unavailable")*/
+       TEL_CALL_CLI_VALIDITY_NOT_AVAILABLE_PAYPHONE,   /**< CLI is not available ("Coin line/payphone")*/
+} TelCallCliValidity;
+
+/**
+ * @enum TelCallCniValidity
+ * CNI(Calling Name Identification) Validity.
+ */
+typedef enum {
+       TEL_CALL_CNI_VALIDITY_VALID,                            /**< CLI is valid */
+       TEL_CALL_CNI_VALIDITY_WITHHELD,                 /**< CLI is withheld */
+       TEL_CALL_CNI_VALIDITY_NOT_AVAILABLE,            /**< CLI is not available */
+} TelCallCniValidity;
+
+/**
+ * @enum TelCallEmergencyCategory
+ * Emergency Call Category.
+ */
+typedef enum {
+       TEL_CALL_ECC_DEFAULT = 0x00,            /**< ECC is default */
+       TEL_CALL_ECC_POLICE = 0x01,             /**< ECC is police */
+       TEL_CALL_ECC_AMBULANCE = 0x02,  /**< ECC is ambulance */
+       TEL_CALL_ECC_FIREBRIGADE = 0x04,        /**< ECC is fire station */
+       TEL_CALL_ECC_MARINEGUARD = 0x08,        /**< ECC is marine gaurd */
+       TEL_CALL_ECC_MOUNTAINRESCUE = 0x10,     /**< ECC is mountaion rescue */
+       TEL_CALL_ECC_MANUAL_ECALL = 0x20,       /**< ECC is manual Ecall */
+       TEL_CALL_ECC_AUTO_ECALL = 0x40  /**< ECC is Auto Ecall */
+} TelCallEmergencyCategory;
+
+/**
+ * Call Dial Info.
+ */
+typedef struct {
+       TelCallType call_type;                                  /**< Sets type of call (voice, data, video, emergency) */
+       TelCallEmergencyCategory ecc;                   /**< In case of emergency call, may provide category instead of number */
+       char number[TEL_CALL_CALLING_NUMBER_LEN_MAX + 1];       /**< A string containing the destination phone number. This follows the dial number format.*/
+} TelCallDial;
+
+/**
+ * Call End Info.
+ */
+typedef struct {
+       unsigned int call_id;                   /**< Unique id for referring the call to release */
+       TelCallEndType end_type;                /**< End type used */
+} TelCallEnd;
+
+/**
+ * Call Status Info.
+ */
+typedef struct {
+       unsigned int call_id;                                   /**< Unique id for referring the call */
+
+       TelCallType call_type;                                  /**< Specifies type of call (voice, data, emergency) */
+       TelCallState call_state;                                        /**< Current Call state */
+
+       gboolean mo_call;                                       /**< TRUE for MO Call; FALSE if MT call*/
+       gboolean mpty;                                          /**< TRUE for Multi-party Call; FALSE if not Multi-party Call*/
+
+       TelCallCliValidity cli_validity;                                /**< Calling Line Identificatoin (only if mobile terminated call) */
+       char number[TEL_CALL_CALLING_NUMBER_LEN_MAX + 1];       /**< Mobile Number */
+
+       TelCallCniValidity cni_validity;                                /**< Calling Name Identification (only if mobile terminated call) */
+       char name[TEL_CALL_CALLING_NAME_LEN_MAX + 1];           /**< Caller name */
+
+       gboolean forward;                                       /**< TRUE if call is forwared (only if mobile terminated call) */
+
+       TelCallActiveLine active_line;                          /**< Active line */
+} TelCallStatus;
+
+/**
+ * All Call Status Info.
+ */
+typedef struct {
+       unsigned int count;     /**< Number of calls */
+       TelCallStatus status[TEL_CALL_MAX_CALLS_COUNT]; /**< Call Status Info */
+} TelCallStatusList;
+
+/**
+ * Incoming Call Info.
+ */
+typedef struct {
+       unsigned int call_id;                                   /**< Unique id for referring the call */
+
+       TelCallCliValidity cli_validity;                                /**< Calling Line Identificatoin (only if mobile terminated call) */
+       char number[TEL_CALL_CALLING_NUMBER_LEN_MAX + 1];       /**< Mobile Number */
+
+       TelCallCniValidity cni_validity;                                /**< Calling Name Identification (only if mobile terminated call) */
+       char name[TEL_CALL_CALLING_NAME_LEN_MAX + 1];           /**< Caller name */
+
+       gboolean forward;                                       /**< TRUE if call is forwared (only if mobile terminated call) */
+
+       TelCallActiveLine active_line;                          /**< Active line */
+}TelCallIncomingInfo;
+
+/**
+ * All Call Status idle notification.
+ */
+typedef struct {
+       unsigned int call_id;   /**< Unique id for referring the call */
+       TelCallEndCause cause;  /**< End cause for the call indicates whether the call is released normally or due to other cause*/
+} TelCallStatusIdleNoti;
+
+/**
+ * @enum TelCallSoundRecording
+ * Call Sound Recording status.
+ */
+typedef enum {
+       TEL_SOUND_RECORDING_STOP,       /**< Stop call recording */
+       TEL_SOUND_RECORDING_START,      /**< Start call recording */
+       TEL_SOUND_RECORDING_PAUSE       /**< Pause call recording */
+} TelCallSoundRecording;
+
+/**
+ * @enum TelCallSoundDevice
+ * Call Sound Device type.
+ */
+typedef enum {
+       TEL_SOUND_DEVICE_RECEIVER = 0x00,                       /**< Receiving the sound on receiver */
+       TEL_SOUND_DEVICE_SPEAKER_PHONE = 0x10,  /**< Receiving the sound on speaker phone */
+       TEL_SOUND_DEVICE_HFK = 0x20,                            /**< Receiving the sound on HFK */
+       TEL_SOUND_DEVICE_HEADSET = 0x30,                        /**< Receiving the sound on Headset */
+       TEL_SOUND_DEVICE_BLUETOOTH = 0x40,              /**< Receiving the sound on Bluetooth */
+       TEL_SOUND_DEVICE_EC = 0xA0,                             /**< Receiving the sound on Echo Cancellation device */
+} TelCallSoundDevice;
+
+/**
+ * Call Sound Volume Info.
+ */
+typedef struct {
+       TelCallSoundDevice device;              /**< Sound device */
+       unsigned int volume;            /**<Volume level(0 ~ 100)*/
+} TelCallVolumeInfo;
+
+/**
+ * @enum TelCallSoundPath
+ * Call Sound Path.
+ */
+typedef enum {
+       TEL_SOUND_PATH_HANDSET  ,               /**<Audio path is handset*/
+       TEL_SOUND_PATH_HEADSET,                 /**<Audio path is headset*/
+       TEL_SOUND_PATH_HANDSFREE,               /**<Audio path is Handsfree*/
+       TEL_SOUND_PATH_BLUETOOTH,               /**<Audio path is bluetooth*/
+       TEL_SOUND_PATH_STEREO_BLUETOOTH,        /**<Audio path is stereo bluetooth*/
+       TEL_SOUND_PATH_SPK_PHONE,               /**<Audio path is speaker phone*/
+       TEL_SOUND_PATH_HEADSET_3_5PI,           /**<Audio path is headset_3_5PI*/
+       TEL_SOUND_PATH_BT_NSEC_OFF,             /**<Audio path is bluetooth NSEC off*/
+       TEL_SOUND_PATH_MIC2,                            /**<Audio path is Mic 1*/
+       TEL_SOUND_PATH_MIC1,                            /**<Audio path is Mic 2*/
+       TEL_SOUND_PATH_HEADSET_HAC,             /**<Audio path is Hearing aid*/
+} TelCallSoundPath;
+
+/**
+ * Call Sound Path Info
+ */
+typedef struct {
+       TelCallSoundPath path;  /**< Sound path */
+       gboolean ex_volume;     /**< TEL_SOUND_EX_VOLUME_ OFF/ON*/
+} TelCallSoundPathInfo;
+
+/**
+ * @enum TelCallSoundEqualizationMode
+ * Call Sound Equalization Mode.
+ */
+typedef enum {
+       TEL_SOUND_EQUALIZATION_MODE_OFF,                /**< Sound Equalization is off */
+       TEL_SOUND_EQUALIZATION_MODE_ON,         /**< Sound Equalization is on */
+       TEL_SOUND_EQUALIZATION_MODE_FLAG_OFF,   /**< Sound Equalization mode flag is off */
+       TEL_SOUND_EQUALIZATION_MODE_FLAG_ON,    /**< Sound Equalization mode flag is on */
+       TEL_SOUND_EQUALIZATION_MODE_SOFT1,              /**< Sound Equalization is in soft1 mode */
+       TEL_SOUND_EQUALIZATION_MODE_SOFT2,              /**< Sound Equalization is in soft2 mode */
+} TelCallSoundEqualizationMode;
+
+/**
+ * @enum TelCallSoundDirection
+ * Call Sound Direction.
+ */
+typedef enum {
+       TEL_SOUND_DIRECTION_LEFT,       /**< Sound direction is left */
+       TEL_SOUND_DIRECTION_RIGHT,      /**< Sound direction is right */
+} TelCallSoundDirection;
+
+/**
+ * Call Sound Equalization Info
+ */
+typedef struct {
+       TelCallSoundEqualizationMode mode;      /**< Sound equalization mode */
+       TelCallSoundDirection direction;                /**< Sound direction */
+       unsigned short parameter[TEL_CALL_MAX_SOUND_EQ_PARAMETER_SIZE]; /**< Sound equalization parameter */
+} TelCallSoundEqualization;
+
+/**
+ * Call Volume Info
+ */
+typedef struct {
+       unsigned int record_num;        /**< Number of call records */
+       TelCallVolumeInfo record[TEL_CALL_MAX_VOLUME_INFO_RECORD];      /**< Call volume info records */
+} TelCallGetVolumeInfo;
+
+/**
+ * @enum TelCallSoundRingbackToneNoti
+ * Call Sound ring back tone.
+ */
+typedef enum {
+       TEL_CALL_SOUND_RINGBACK_TONE_START,     /**< Sound ringback tone start */
+       TEL_CALL_SOUND_RINGBACK_TONE_END,               /**< Sound ringback tone end */
+} TelCallSoundRingbackToneNoti;
+
+/**
+ * @enum TelCallSoundWbamrNoti
+ * Call AMR-WB Status
+ */
+typedef enum {
+       TEL_CALL_SOUND_WBAMR_STATUS_OFF,        /**< Call sound WBAMR is off */
+       TEL_CALL_SOUND_WBAMR_STATUS_ON, /**< Call sound WBAMR is on */
+} TelCallSoundWbamrNoti;
+
+/**
+ * Call Sound Equilization Notification Info.
+ */
+typedef struct {
+       TelCallSoundEqualizationMode mode;      /**< Call sound equalization mode */
+       TelCallSoundDirection direction;                /**< Call sound direction */
+} TelCallSoundEqualizationNoti;
+
+/**
+ *  \defgroup TAPI_EVENT TAPI Event IDs
+ *  @{
+ */
+
+/**
+ *  \defgroup TEL_EVENT_CALL Call Event IDs
+ *  @{
+ */
+
+/**
+ *  @hideinitializer
+ *  @brief Voice Call status idle
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_VOICE_CALL_STATUS_IDLE
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_VOICE_CALL_STATUS_IDLE
+ *  @retval data \ref TelCallStatusIdleNoti
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_VOICE_CALL_STATUS_IDLE                TELEPHONY_CALL_INTERFACE":VoiceCallStatusIdle"
+
+ /**
+ *  @hideinitializer
+ *  @brief Voice Call status active
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_VOICE_CALL_STATUS_ACTIVE
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_VOICE_CALL_STATUS_ACTIVE
+ *  @retval data \ref unsigned int call_id
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_VOICE_CALL_STATUS_ACTIVE              TELEPHONY_CALL_INTERFACE":VoiceCallStatusActive"
+
+ /**
+ *  @hideinitializer
+ *  @brief Voice Call status held
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_VOICE_CALL_STATUS_HELD
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_VOICE_CALL_STATUS_HELD
+ *  @retval data \ref unsigned int call_id
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_VOICE_CALL_STATUS_HELD                TELEPHONY_CALL_INTERFACE":VoiceCallStatusHeld"
+
+ /**
+ *  @hideinitializer
+ *  @brief Voice Call status dialing
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_VOICE_CALL_STATUS_DIALING
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_VOICE_CALL_STATUS_DIALING
+ *  @retval data \ref unsigned int call_id
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_VOICE_CALL_STATUS_DIALING             TELEPHONY_CALL_INTERFACE":VoiceCallStatusDialing"
+
+/**
+ *  @hideinitializer
+ *  @brief Voice Call status alert
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_VOICE_CALL_STATUS_ALERT
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_VOICE_CALL_STATUS_ALERT
+ *  @retval data \ref unsigned int call_id
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_VOICE_CALL_STATUS_ALERT               TELEPHONY_CALL_INTERFACE":VoiceCallStatusAlert"
+
+/**
+ *  @hideinitializer
+ *  @brief Voice Call status incoming
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_VOICE_CALL_STATUS_INCOMING
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_VOICE_CALL_STATUS_INCOMING
+ *  @retval data \ref unsigned int call_id
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_VOICE_CALL_STATUS_INCOMING    TELEPHONY_CALL_INTERFACE":VoiceCallStatusIncoming"
+
+/**
+ *  @hideinitializer
+ *  @brief Video Call status idle
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_VIDEO_CALL_STATUS_IDLE
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_VIDEO_CALL_STATUS_IDLE
+ *  @retval data reference to \ref TelCallStatusIdleNoti structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_VIDEO_CALL_STATUS_IDLE                TELEPHONY_CALL_INTERFACE":VideoCallStatusIdle"
+
+/**
+ *  @hideinitializer
+ *  @brief Video Call status active
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_VIDEO_CALL_STATUS_ACTIVE
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_VIDEO_CALL_STATUS_ACTIVE
+ *  @retval data \ref unsigned int call_id
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_VIDEO_CALL_STATUS_ACTIVE              TELEPHONY_CALL_INTERFACE":VideoCallStatusActive"
+
+ /**
+ *  @hideinitializer
+ *  @brief Video Call status dialing
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_VIDEO_CALL_STATUS_DIALING
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_VIDEO_CALL_STATUS_DIALING
+ *  @retval data \ref unsigned int call_id
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_VIDEO_CALL_STATUS_DIALING             TELEPHONY_CALL_INTERFACE":VideoCallStatusDialing"
+
+ /**
+ *  @hideinitializer
+ *  @brief Video Call status alert
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_VIDEO_CALL_STATUS_ALERT
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_VIDEO_CALL_STATUS_ALERT
+ *  @retval data \ref unsigned int call_id
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_VIDEO_CALL_STATUS_ALERT               TELEPHONY_CALL_INTERFACE":VideoCallStatusAlert"
+
+ /**
+ *  @hideinitializer
+ *  @brief Video Call status incoming
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_VIDEO_CALL_STATUS_INCOMING
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_VIDEO_CALL_STATUS_INCOMING
+ *  @retval data \ref unsigned int call_id
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_VIDEO_CALL_STATUS_INCOMING    TELEPHONY_CALL_INTERFACE":VideoCallStatusIncoming"
+
+ /**
+ *  @hideinitializer
+ *  @brief MO Call wating
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MO_WAITING
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_INFO_MO_WAITING
+ *  @retval data none
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_INFO_MO_WAITING                  TELEPHONY_CALL_INTERFACE":MoWaiting"
+
+ /**
+ *  @hideinitializer
+ *  @brief MO Call forwarded
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MO_FORWARDED
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_INFO_MO_FORWARDED
+ *  @retval data none
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_INFO_MO_FORWARDED                TELEPHONY_CALL_INTERFACE":MoForwarded"
+
+ /**
+ *  @hideinitializer
+ *  @brief MO Incoming call barred
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MO_BARRED_INCOMING
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_INFO_MO_BARRED_INCOMING
+ *  @retval data none
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_INFO_MO_BARRED_INCOMING          TELEPHONY_CALL_INTERFACE":MoBarredIncoming"
+
+ /**
+ *  @hideinitializer
+ *  @brief MO Outgoing call barred
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MO_BARRED_OUTGOING
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_INFO_MO_BARRED_OUTGOING
+ *  @retval data none
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_INFO_MO_BARRED_OUTGOING          TELEPHONY_CALL_INTERFACE":MoBarredOutgoing"
+
+ /**
+ *  @hideinitializer
+ *  @brief MO Call forward unconditional
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MO_FORWARD_UNCONDITIONAL
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_INFO_MO_FORWARD_UNCONDITIONAL
+ *  @retval data none
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_INFO_MO_FORWARD_UNCONDITIONAL    TELEPHONY_CALL_INTERFACE":MoForwardUnconditional"
+
+ /**
+ *  @hideinitializer
+ *  @brief MO Call forward conditional
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MO_FORWARD_CONDITIONAL
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_INFO_MO_FORWARD_CONDITIONAL
+ *  @retval data none
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_INFO_MO_FORWARD_CONDITIONAL      TELEPHONY_CALL_INTERFACE":MoForwardConditional"
+
+ /**
+ *  @hideinitializer
+ *  @brief MO Call deflected
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MO_DEFLECTED
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_INFO_MO_DEFLECTED
+ *  @retval data none
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_INFO_MO_DEFLECTED                        TELEPHONY_CALL_INTERFACE":MoDeflected"
+
+ /**
+ *  @hideinitializer
+ *  @brief MT Call forwarded
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MT_FORWARDED
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_INFO_MT_FORWARDED
+ *  @retval data none
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_INFO_MT_FORWARDED                        TELEPHONY_CALL_INTERFACE":MtForwarded"
+
+ /**
+ *  @hideinitializer
+ *  @brief MT Call deflected
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_MT_DEFLECTED
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_INFO_MT_DEFLECTED
+ *  @retval data none
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_INFO_MT_DEFLECTED                        TELEPHONY_CALL_INTERFACE":MtDeflected"
+
+ /**
+ *  @hideinitializer
+ *  @brief Call Transfered
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_TRANSFERED
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_INFO_TRANSFERED
+ *  @retval data none
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_INFO_TRANSFERED          TELEPHONY_CALL_INTERFACE":Transfered"
+
+ /**
+ *  @hideinitializer
+ *  @brief Call held
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_HELD
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_INFO_HELD
+ *  @retval data none
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_INFO_HELD                        TELEPHONY_CALL_INTERFACE":CallHeld"
+
+ /**
+ *  @hideinitializer
+ *  @brief Call active
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_ACTIVE
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_INFO_ACTIVE
+ *  @retval data none
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_INFO_ACTIVE                      TELEPHONY_CALL_INTERFACE":CallActive"
+
+ /**
+ *  @hideinitializer
+ *  @brief Call joined
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_INFO_JOINED
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_INFO_JOINED
+ *  @retval data none
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_INFO_JOINED                      TELEPHONY_CALL_INTERFACE":CallJoined"
+
+ /**
+ *  @hideinitializer
+ *  @brief Call Sound Ringback Tone
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_SOUND_RINGBACK_TONE
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_SOUND_RINGBACK_TONE
+ *  @retval data \ref TelCallSoundRingbackToneNoti
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_SOUND_RINGBACK_TONE              TELEPHONY_CALL_INTERFACE":CallSoundRingbackToneControl"
+
+ /**
+ *  @hideinitializer
+ *  @brief Call Sound WBAMR
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_SOUND_WBAMR
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_SOUND_WBAMR
+ *  @retval data \ref TelCallSoundWbamrNoti
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_SOUND_WBAMR                      TELEPHONY_CALL_INTERFACE":CallSoundWbamr"
+
+ /**
+ *  @hideinitializer
+ *  @brief Call Sound Equalization
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_SOUND_EQUALIZATION
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_SOUND_EQUALIZATION
+ *  @retval data \ref TelCallSoundEqualizationNoti
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_SOUND_EQUALIZATION               TELEPHONY_CALL_INTERFACE":CallSoundEqualiztion"
+
+ /**
+ *  @hideinitializer
+ *  @brief Call Sound Clock Status
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_CALL_SOUND_CLOCK_STATUS
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_CALL_SOUND_CLOCK_STATUS
+ *  @retval data <b>TRUE</b>: Sound clock is ON\n <b>FALSE</b>: Sound clock is OFF
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_CALL_SOUND_CLOCK_STATUS               TELEPHONY_CALL_INTERFACE":CallSoundClockStatus"
+
+/** @}*/
+/** @}*/
+
+#ifdef __cplusplus
+}
+#endif
+
+/**
+ * @}
+ */
+ #endif  /* __TEL_CALL_H__ */
diff --git a/tel-headers/include/tel_gps.h b/tel-headers/include/tel_gps.h
new file mode 100644 (file)
index 0000000..d84efbc
--- /dev/null
@@ -0,0 +1,126 @@
+/*
+ * tel-headers
+ *
+ * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
+ * Copyright (c) 2013 Intel Corporation. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __TEL_GPS_H__
+#define __TEL_GPS_H__
+
+#include <tel_if.h>
+
+/**
+*  @addtogroup TAPI_GPS
+*  @{
+*
+*  @file tel_gps.h
+*  @brief TAPI GPS Interface
+*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define TELEPHONY_GPS_INTERFACE TELEPHONY_SERVICE".Gps"
+
+/**
+ * @enum TelGpsResult
+ * Response (Return) values.
+ */
+typedef enum {
+       TEL_GPS_RESULT_SUCCESS,                                         /**< Operation completed successfully */
+       TEL_GPS_RESULT_FAILURE,                                         /**< Operation Failed */
+       TEL_GPS_RESULT_INVALID_PARAMETER,                       /**< Invalid input parameters */
+       TEL_GPS_RESULT_MEMORY_FAILURE,                          /**< Memory allocation failed */
+       TEL_GPS_RESULT_OPERATION_NOT_SUPPORTED, /**< Operation not supported */
+       TEL_GPS_RESULT_OPERATION_NOT_PERMITTED, /**< Operation not permitted */
+       TEL_GPS_RESULT_UNKNOWN_FAILURE                          /**< Unknown failure */
+} TelGpsResult;
+
+/**
+ * GPS info.
+ */
+typedef struct {
+       unsigned int data_len;          /**< Data length of GPS info */
+       unsigned char *data;            /**< GPS information */
+} TelGpsDataInfo;
+
+/**
+ *  \defgroup TAPI_EVENT TAPI Event IDs
+ *  @{
+ */
+
+/**
+ *  \defgroup TEL_EVENT_GPS GPS Event IDs
+ *  @{
+ */
+
+/**
+ *  @hideinitializer
+ *  @brief GPS assist data
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_GPS_ASSIST_DATA
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_GPS_ASSIST_DATA
+ *  @retval data reference to GPS data (as a string)
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_GPS_ASSIST_DATA                       TELEPHONY_GPS_INTERFACE":AssistData"
+
+/**
+ *  @hideinitializer
+ *  @brief GPS position information
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_GPS_MEASURE_POSITION
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_GPS_MEASURE_POSITION
+ *  @retval data reference to GPS data (as a string)
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_GPS_MEASURE_POSITION          TELEPHONY_GPS_INTERFACE":MeasurePosition"
+
+/**
+ *  @hideinitializer
+ *  @brief GPS reset assist data
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_GPS_RESET_ASSIST_DATA
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_GPS_RESET_ASSIST_DATA
+ *  @retval data None
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_GPS_RESET_ASSIST_DATA         TELEPHONY_GPS_INTERFACE":ResetAssistData"
+
+/** @}*/
+/** @}*/
+
+#ifdef __cplusplus
+}
+#endif
+
+/**
+ * @}
+ */
+#endif /* __TEL_GPS_H__ */
diff --git a/tel-headers/include/tel_if.h b/tel-headers/include/tel_if.h
new file mode 100644 (file)
index 0000000..b159238
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+ * tel-headers
+ *
+ * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
+ * Copyright (c) 2013 Intel Corporation. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __TEL_IF_H__
+#define __TEL_IF_H__
+
+/** Telephony service name */
+#define TELEPHONY_SERVICE      "org.tizen.telephony"
+
+/** Telephony object path */
+#define TELEPHONY_OBJECT_PATH "/org/tizen/telephony"
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __TEL_IF_H__ */
diff --git a/tel-headers/include/tel_modem.h b/tel-headers/include/tel_modem.h
new file mode 100644 (file)
index 0000000..de62261
--- /dev/null
@@ -0,0 +1,136 @@
+/*
+ * tel-headers
+ *
+ * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
+ * Copyright (c) 2013 Intel Corporation. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __TEL_MODEM_H__
+#define __TEL_MODEM_H__
+
+#include <tel_if.h>
+
+/**
+*  @addtogroup TAPI_MODEM
+*  @{
+*
+*  @file tel_modem.h
+*  @brief TAPI Modem Interface
+*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define TELEPHONY_MODEM_INTERFACE   TELEPHONY_SERVICE".Modem"
+
+#define TEL_MODEM_IMEI_LENGTH_MAX 15   /**< Maximum IMEI length */
+
+#define TEL_MODEM_VERSION_LENGTH_MAX 32        /**< Maximum version information length */
+
+/**
+ * @enum TelModemResult
+ * Response (Result) codes
+ */
+typedef enum {
+       TEL_MODEM_RESULT_SUCCESS,                                       /**< Operation completed successfully */
+       TEL_MODEM_RESULT_FAILURE,                                       /**< Operation Failed */
+       TEL_MODEM_RESULT_INVALID_PARAMETER,             /**< Invalid input parameters */
+       TEL_MODEM_RESULT_MEMORY_FAILURE,                        /**< Memory allocation failed */
+       TEL_MODEM_RESULT_OPERATION_NOT_SUPPORTED,/**< Operation not supported */
+       TEL_MODEM_RESULT_OPERATION_NOT_PERMITTED,       /**< Operation not permitted */
+       TEL_MODEM_RESULT_UNKNOWN_FAILURE                        /**< Unknown failure */
+} TelModemResult;
+
+/**
+ * @enum TelModemPowerStatus
+ * Power Status
+ */
+typedef enum {
+       TEL_MODEM_POWER_OFF, /**< Modem power off */
+       TEL_MODEM_POWER_ON, /**< Modem power on */
+       TEL_MODEM_POWER_ERROR /**< Modem power error */
+} TelModemPowerStatus;
+
+/**
+ * @enum TelModemFlightModeStatus
+ * Flight Mode Status
+ */
+typedef enum {
+       TEL_MODEM_FLIGHT_MODE_UNKNOWN, /**< Status is unknown at the moment */
+       TEL_MODEM_FLIGHT_MODE_OFF, /**< Flight mode is OFF. Device is Online */
+       TEL_MODEM_FLIGHT_MODE_ON /**< Flight mode is ON. Device is in Low Power */
+} TelModemFlightModeStatus;
+
+/**
+ * Version Information
+ */
+typedef struct {
+       char software_version[TEL_MODEM_VERSION_LENGTH_MAX + 1]; /**< Software Version */
+       char hardware_version[TEL_MODEM_VERSION_LENGTH_MAX + 1]; /**< Hardware Version */
+       char calibration_date[TEL_MODEM_VERSION_LENGTH_MAX + 1]; /**< Calibration Date */
+       char product_code[TEL_MODEM_VERSION_LENGTH_MAX + 1]; /**< Product Code */
+} TelModemVersion;
+
+/**
+ *  \defgroup TAPI_EVENT TAPI Event IDs
+ *  @{
+ */
+
+/**
+ *  \defgroup TAPI_EVENT_MODEM Modem Event IDs
+ *  @{
+ */
+
+/**
+ *  @hideinitializer
+ *  @brief Power Status
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_MODEM_POWER_STATUS
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_MODEM_POWER_STATUS
+ *  @retval data \ref TelModemPowerStatus
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_MODEM_POWER_STATUS            TELEPHONY_MODEM_INTERFACE":power_status"
+
+/**
+ *  @hideinitializer
+ *  @brief Flight Mode Status
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_MODEM_FLIGHT_MODE_STATUS
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_MODEM_FLIGHT_MODE_STATUS
+ *  @retval data <b>TRUE</b>: Flight mode is ON\n <b>FALSE</b>: Flight mode is OFF
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_MODEM_FLIGHT_MODE_STATUS              TELEPHONY_MODEM_INTERFACE":flight_mode_status"
+
+/** @}*/
+/** @}*/
+
+#ifdef __cplusplus
+}
+#endif
+
+/** @}*/
+
+#endif /* __TEL_MODEM_H__ */
diff --git a/tel-headers/include/tel_network.h b/tel-headers/include/tel_network.h
new file mode 100644 (file)
index 0000000..e3120a9
--- /dev/null
@@ -0,0 +1,355 @@
+/*
+ * tel-headers
+ *
+ * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
+ * Copyright (c) 2013 Intel Corporation. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __TEL_NETWORK_H__
+#define __TEL_NETWORK_H__
+
+#include <tel_if.h>
+
+/**
+*  @addtogroup TAPI_NETWORK
+*  @{
+*
+*  @file tel_network.h
+*  @brief TAPI Network Interface
+*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define TELEPHONY_NETWORK_INTERFACE TELEPHONY_SERVICE".Network"
+
+#define TEL_NETWORK_PLMN_LEN_MAX 6     /**< Maximum PLMN(MCCMNC) length */
+
+/**
+ * @enum TelNetworkResult
+ * Response (Return) values.
+ */
+typedef enum {
+       TEL_NETWORK_RESULT_SUCCESS,                                             /**< Operation completed successfully */
+       TEL_NETWORK_RESULT_FAILURE,                                             /**< Operation Failed */
+       TEL_NETWORK_RESULT_INVALID_PARAMETER,                   /**< Invalid input parameters */
+       TEL_NETWORK_RESULT_MEMORY_FAILURE,                              /**< Memory allocation failed */
+       TEL_NETWORK_RESULT_OPERATION_NOT_PERMITTED,     /**< Operation not permitted */
+       TEL_NETWORK_RESULT_OPERATION_NOT_SUPPORTED      /**< Operation not supported */
+} TelNetworkResult;
+
+/**
+ * @enum TelNetworkMode
+ * Network Mode
+ */
+typedef enum {
+       TEL_NETWORK_MODE_AUTO, /**< auto select network mode or hybrid */
+       TEL_NETWORK_MODE_2G, /**< 2G: GSM, GPRS, EDGE etc */
+       TEL_NETWORK_MODE_3G,    /**< 3G: UMTS, HSDPA, HSUPA etc */
+       TEL_NETWORK_MODE_LTE, /**< LTE */
+} TelNetworkMode;
+
+/**
+ * @enum TelNetworkSelectionMode
+ * Network Selection Mode
+ */
+typedef enum {
+       TEL_NETWORK_SELECTION_MODE_AUTOMATIC, /**< Automatic selection mode*/
+       TEL_NETWORK_SELECTION_MODE_MANUAL, /**< Manual selection mode */
+} TelNetworkSelectionMode;
+
+/**
+ * @enum TelNetworkAct
+ * Network Access Technology
+ */
+typedef enum {
+       TEL_NETWORK_ACT_UNKNOWN, /**< ACT is not presented */
+       TEL_NETWORK_ACT_GSM, /**< GSM */
+       TEL_NETWORK_ACT_GPRS, /**< GPRS */
+       TEL_NETWORK_ACT_EGPRS, /**< EDGE */
+       TEL_NETWORK_ACT_UMTS, /**< 3G */
+       TEL_NETWORK_ACT_GSM_AND_UMTS, /**< Both GSM and UMTS available */
+       TEL_NETWORK_ACT_HSDPA, /**< HSDPA */
+       TEL_NETWORK_ACT_HSUPA, /**< HSUPA */
+       TEL_NETWORK_ACT_HSPA, /**< HSDPA & HSUPA */
+       TEL_NETWORK_ACT_LTE, /**< LTE */
+} TelNetworkAct;
+
+/**
+ * @enum TelNetworkRegStatus
+ * Network Registration Status
+ */
+typedef enum {
+       TEL_NETWORK_REG_STATUS_UNREGISTERED, /**< Not registered, not searching */
+       TEL_NETWORK_REG_STATUS_REGISTERED, /**< Registered, home network */
+       TEL_NETWORK_REG_STATUS_SEARCHING, /**< Not regsitered, searching */
+       TEL_NETWORK_REG_STATUS_DENIED, /**< Registration is denied */
+       TEL_NETWORK_REG_STATUS_UNKNOWN, /**< Unknown */
+       TEL_NETWORK_REG_STATUS_ROAMING, /**< Registered, roaming */
+} TelNetworkRegStatus;
+
+/**
+ * @enum TelNetworkPlmnStatus
+ * Network Plmn Status
+ */
+typedef enum
+{
+       TEL_NETWORK_STATUS_UNKNOWN, /**< Unknown Plmn */
+       TEL_NETWORK_STATUS_AVAILABLE, /**< Available Plmn */
+       TEL_NETWORK_STATUS_CURRENT, /**< Network currently registered */
+       TEL_NETWORK_STATUS_FORBIDDEN, /**< Forbidden Plmn  */
+} TelNetworkPlmnStatus;
+
+/**
+ * Network Registration Status Information
+ */
+typedef struct {
+       TelNetworkRegStatus cs_status; /**< CS domain registration status */
+       TelNetworkRegStatus ps_status; /**< PS domain registration status */
+       TelNetworkAct act; /**< Access technology */
+} TelNetworkRegStatusInfo;
+
+/**
+ * Network Cell Information
+ */
+typedef struct {
+       unsigned int lac; /**< Location Area Code */
+       unsigned int cell_id; /**< Cell id */
+       unsigned int rac; /**< Routing Area Code - PS network specific */
+} TelNetworkCellInfo;
+
+/**
+ * Network Registration Information
+ */
+typedef struct {
+       TelNetworkRegStatusInfo reg_status_info; /**< Registration Status Information */
+       TelNetworkCellInfo cell_info; /**< Cell Information */
+} TelNetworkRegistrationInfo;
+
+/**
+ * Network Identity Information
+ */
+typedef struct {
+       char *plmn; /**< numeric name (MCCMNC) */
+       char *short_name; /**< short alphanumeric operator name */
+       char *long_name; /**< long alphanumeric operator name */
+} TelNetworkIdentityInfo;
+
+/**
+ * Network Selection Manual Information
+ */
+typedef struct {
+       char *plmn; /**< numeric name (MCCMNC) */
+       TelNetworkAct act; /**< Access technology */
+} TelNetworkSelectManualInfo;
+
+/**
+ * Network Information
+ */
+typedef struct {
+       TelNetworkPlmnStatus plmn_status; /**< Plmn Status */
+       TelNetworkAct act; /**< Access technology */
+       TelNetworkIdentityInfo network_identity; /**< Network Identity Information */
+} TelNetworkInfo;
+
+/**
+ * Network Plmn List
+ */
+typedef struct {
+       unsigned int count; /**< Network Plmn count */
+       TelNetworkInfo *network_list; /**< Network list */
+} TelNetworkPlmnList;
+
+/**
+ * Network Preferred Plmn Information
+ */
+typedef struct {
+       unsigned int index; /**< Preferred Plmn list index, start from 1 */
+       char *plmn; /**< numeric operator name (MCCMNC) */
+       TelNetworkAct act; /**< Access technology */
+} TelNetworkPreferredPlmnInfo;
+
+/**
+ * Network Preferred Plmn List
+ */
+typedef struct {
+       unsigned int count; /**< Number of preferred plmns in the list */
+       TelNetworkPreferredPlmnInfo *list; /**< Preferred Plmns List */
+} TelNetworkPreferredPlmnList;
+
+/**
+ * Network Gsm Neighbour Cell Information
+ */
+typedef struct {
+       int cell_id; /**< Cell ID (-1 indicates cell ID not present)*/
+       int lac; /**< Location area code (ignored when cell_id not present) */
+       int bcch; /**< Broadcast Control Channel Frequency number */
+       int bsic; /**< Base Station Identification Code  */
+       int rxlev; /**< Received Signal Strength level. Valid values: (0-63,99)
+                               * Reference: 33GPP TS 45.008 [20] subclause 8.1.4
+                               - Rxlev 0 is a signal strength less than -110 dBm
+                               - Rxlev 1 is -110 dBm to -109 dBm
+                               - Rxlev 2 is -109 dBm to -108 dBm
+                                - ...
+                               - Rxlev 62 is -49 dBm to -48 dBm
+                               - Rxlev 63 is greater than -48 dBm
+                               - Rxlev 99 is not known or not detectable
+                       */
+} TelNetworkGsmNeighbourCellInfo;
+
+/**
+ * Network Umts Neighbour Cell Information
+ */
+typedef struct {
+       int cell_id; /**< Cell ID (-1 indicates cell ID not present)*/
+       int lac; /**< Location area code (ignored if cell_id not present)*/
+       int arfcn; /**< UTRA Absolute RF Channel Number */
+       int psc; /**< Primary scrambling Code   */
+       int rscp; /**< Received Signal Code Power. Valid values: (0-96, 255)
+                               * Reference : 3GPP TS 25.133 [95] subclause 9.1.1.3
+                                and 3GPP TS 25.123 [96] subclause 9.1.1.1.3)
+                               - Rscp 0 is a signal strength less than -120 dBm
+                               - Rscp 1 is -120 dBm to -119 dBm
+                               - Rscp 2 is -119 dBm to -118 dBm
+                               - ...
+                               - Rscp 95 is -26 dBm to -25 dBm
+                               - Rscp 96 is greater than -25 dBm
+                               - Rscp 255 is not known or not detectable
+                       */
+} TelNetworkUmtsNeighbourCellInfo;
+
+/**
+ * Network Neighbour Cell Information
+ */
+typedef struct {
+       unsigned int gsm_list_count; /**< GSM cells count */
+       TelNetworkGsmNeighbourCellInfo *gsm_list; /**< GSM cells information */
+       unsigned int umts_list_count; /**< UMTS cells count */
+       TelNetworkUmtsNeighbourCellInfo *umts_list; /**< UMTS cells information */
+} TelNetworkNeighbourCellInfo;
+
+/**
+ * Network Nitz Information
+ */
+typedef struct {
+       unsigned int year; /**< Last two digits of year */
+       unsigned int month; /**< Month */
+       unsigned int day; /**< Day */
+       unsigned int hour; /**< Hour */
+       unsigned int minute; /**< Minute */
+       unsigned int second; /**< Second */
+       int gmtoff; /**< GMT Offset */
+       gboolean isdst; /**< Daylight Saving Time Valid */
+       int dstoff; /**< Daylight Saving Time Offset */
+       char *plmn; /**< numeric name (MCCMNC) */
+} TelNetworkNitzInfoNoti;
+
+/**
+ *  \defgroup TAPI_EVENT TAPI Event IDs
+ *  @{
+ */
+
+/**
+ *  \defgroup TAPI_EVENT_NETWORK Network Event IDs
+ *  @{
+ */
+
+/**
+ *  @hideinitializer
+ *  @brief Network registration status
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_NETWORK_REGISTRATION_STATUS
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_NETWORK_REGISTRATION_STATUS
+ *  @retval data reference to \ref TelNetworkRegStatusInfo structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_NETWORK_REGISTRATION_STATUS   TELEPHONY_NETWORK_INTERFACE":RegistrationStatus"
+
+/**
+ *  @hideinitializer
+ *  @brief Network cell information
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_NETWORK_CELL_INFO
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_NETWORK_CELL_INFO
+ *  @retval data reference to \ref TelNetworkCellInfo structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_NETWORK_CELL_INFO                     TELEPHONY_NETWORK_INTERFACE":CellInfo"
+
+/**
+ *  @hideinitializer
+ *  @brief Network Identity information
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_NETWORK_IDENTITY
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_NETWORK_IDENTITY
+ *  @retval data reference to \ref TelNetworkIdentityInfo structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_NETWORK_IDENTITY                      TELEPHONY_NETWORK_INTERFACE":Identity"
+
+/**
+ *  @hideinitializer
+ *  @brief Network RSSI
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_NETWORK_RSSI
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_NETWORK_RSSI
+ *  @retval data \ref unsigned int rssi
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_NETWORK_RSSI                          TELEPHONY_NETWORK_INTERFACE":Rssi"
+
+/**
+ *  @hideinitializer
+ *  @brief Network time information
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_NETWORK_TIME_INFO
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_NETWORK_TIME_INFO
+ *  @retval data reference to \ref TelNetworkNitzInfoNoti structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_NETWORK_TIME_INFO                     TELEPHONY_NETWORK_INTERFACE":TimeInfo"
+
+/** @}*/
+/** @}*/
+
+#ifdef __cplusplus
+}
+#endif
+
+/** @}*/
+
+#endif /* __TEL_NETWORK_H__ */
+
diff --git a/tel-headers/include/tel_phonebook.h b/tel-headers/include/tel_phonebook.h
new file mode 100644 (file)
index 0000000..fc39db7
--- /dev/null
@@ -0,0 +1,253 @@
+/*
+ * tel-headers
+ *
+ * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
+ * Copyright (c) 2013 Intel Corporation. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __TEL_PHONEBOOK_H__
+#define __TEL_PHONEBOOK_H__
+
+#include <tel_if.h>
+
+/**
+*  @addtogroup TAPI_PHONEBOOK
+*  @{
+*
+*  @file tel_phonebook.h
+*  @brief TAPI Phonebook Interface
+*/
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+#define TELEPHONY_PB_INTERFACE  TELEPHONY_SERVICE".Phonebook"
+
+#define TEL_PB_TEXT_MAX_LEN    255 /**< Phone book text maximum length */
+#define TEL_PB_NUMBER_MAX_LEN  82 /**< Phone book number maximum length */
+#define TEL_PB_ANR_MAX_COUNT   3 /**< Phone book ANR maximum count */
+#define TEL_PB_EMAIL_MAX_COUNT 4 /**< Phone book email maximum count */
+
+/**
+ * @enum TelPbResult
+ * Response (Return) values.
+ */
+typedef enum {
+       TEL_PB_RESULT_SUCCESS, /**< Operation completed successfully */
+       TEL_PB_RESULT_FAILURE, /**< Operation Failed */
+       TEL_PB_RESULT_INVALID_PARAMETER, /**< Invalid input parameters */
+       TEL_PB_RESULT_MEMORY_FAILURE, /**< Memory allocation failed */
+       TEL_PB_RESULT_OPERATION_NOT_SUPPORTED, /**< Operation not supported */
+       TEL_PB_RESULT_UNKNOWN_FAILURE, /**< Unknown failure */
+       TEL_PB_RESULT_INVALID_INDEX, /**< The index passed was not a valid index. */
+       TEL_PB_RESULT_NOT_INITIALIZED, /**< Phonebook not initialized */
+       TEL_PB_RESULT_PIN2_REQUIRED, /**< PIN2 Required */
+       TEL_PB_RESULT_PUK2_REQUIRED, /**< PUK2 Required */
+       TEL_PB_RESULT_ACCESS_RESTRICTED, /**< Access restricted */
+       TEL_PB_RESULT_OPERATION_NOT_PERMITTED   /**< Operation not permitted */
+} TelPbResult;
+
+/**
+ * @enum TelPbType
+ * This enumeration defines the Phonebook type.
+ */
+typedef enum {
+       TEL_PB_FDN, /**< Fixed Dialing Number */
+       TEL_PB_ADN, /**< Abbreviated dialling numbers */
+       TEL_PB_SDN, /**< Service Dialing Number */
+       TEL_PB_USIM, /**< USIM - 3G phone book */
+} TelPbType;
+
+/**
+ * This data structure gives the phone book availability of current SIM
+ */
+typedef struct {
+       gboolean fdn; /**< Availability of Fixed Dialing Number */
+       gboolean adn; /**< Availability of Abbreviated dialling numbers */
+       gboolean sdn; /**< Availability of Service Dialing Number */
+       gboolean usim; /**< Availability of USIM - 3G phone book */
+} TelPbList;
+
+/**
+ * @enum TelPbInitInfo
+ * This data structure gives the phonebook init information
+ */
+typedef struct {
+       gboolean init_status; /**< Phonebook init status */
+       TelPbList pb_list; /**< Phonebook availability of current SIM */
+} TelPbInitInfo;
+
+/**
+ *This data structure gives the phone book entry information(SIM).
+ */
+typedef struct {
+       unsigned int max_count; /**< Total number of locations in selected memory */
+       unsigned int used_count; /**< Number of used locations in selected memory */
+       unsigned int max_num_len; /**< maximum length of field "number" */
+       unsigned int max_text_len; /**< maximum length of field "text" */
+} TelPbSimInfo;
+
+/**
+ *This data structure gives the phone book entry information(USIM).
+ */
+typedef struct {
+       unsigned int max_count; /**< Total number of locations in selected memory */
+       unsigned int used_count; /**< Number of used locations in selected memory */
+       unsigned int max_num_len; /**< maximum length of field "number" */
+       unsigned int max_text_len; /**< maximum length of field "text" */
+
+       unsigned char max_anr_count; /**< Total number of locations for Additional Number */
+       unsigned int max_anr_len; /**< Maximun length for Additional Number */
+
+       unsigned char max_email_count; /**< Total number of locations for email */
+       unsigned int max_email_len; /**< Maximun length for email */
+
+       unsigned int max_sne_len; /**< Maximun length for second name*/
+
+       unsigned int max_gas_count; /**< Total number of locations for Grouping Alpha String */
+       unsigned int max_gas_len; /**< Maximun length for Grouping Alpha String */
+
+       unsigned int max_aas_count; /**< Total number of locations for Additional Alpha String */
+       unsigned int max_aas_len; /**< Maximun length for Additional Alpha String */
+} TelPbUsimInfo;
+
+/**
+ *This data structure gives SIM/USIM the phone book entry information.
+ */
+typedef struct {
+       TelPbType pb_type; /**< Type of Phone book */
+       union {
+               TelPbSimInfo sim; /**< 2G sim phone book info */
+               TelPbUsimInfo usim; /**< 3G sim phone book info */
+       } info_u; /**< union */
+} TelPbInfo;
+
+/**
+ *These data structures defines the phone book record fields.
+ */
+typedef char TelPbName[TEL_PB_TEXT_MAX_LEN + 1]; /**< Record of Phone book name */
+
+typedef char TelPbNumber[TEL_PB_NUMBER_MAX_LEN + 1]; /**< Record of Phone book number */
+
+typedef char TelPbEmail[TEL_PB_TEXT_MAX_LEN + 1]; /**< Record of Phone book email */
+
+/**
+ *These data structures defines the phone book Additional number information
+ */
+typedef struct {
+       TelPbNumber number; /**< Additional number */
+       gboolean description;   /**< TRUE if the ANR has an additional number description */
+       TelPbName aas;          /**< Additional number description   */
+} TelPbAnr;
+
+/**
+ *These data structures defines the USIM phone book records
+ */
+typedef struct {
+       TelPbName name; /**< USIM Phone book name */
+       TelPbNumber number; /**< USIM Phone book number */
+
+       TelPbName sne; /**< USIM Phone book second name */
+       TelPbName grp_name; /**< USIM Phone book group name */
+
+       unsigned char anr_count; /**< USIM Phone book Additional number count */
+       TelPbAnr anr[TEL_PB_ANR_MAX_COUNT]; /**< USIM Phone book Additional number description */
+
+       unsigned char email_count; /**< USIM Phone book email count */
+       TelPbEmail email[TEL_PB_EMAIL_MAX_COUNT]; /**< USIM Phone book email description */
+
+       gboolean hidden; /**< indicates if the entry is hidden or not - only available, if a UICC with an active USIM application is present */
+} TelPbUsimRecord;
+
+/**
+ *These data structures defines the SIM phone book records
+ */
+typedef struct {
+       TelPbName name; /**< SIM Phone book name */
+       TelPbNumber number; /**< SIM Phone book number */
+} TelPbSimRecord;
+
+/**
+ *These data structures defines the read record informations
+ */
+typedef struct {
+       unsigned int index; /**< Index of phonebook memory */
+       unsigned int next_index; /**< Next index of phonebook memory */
+
+       TelPbType pb_type; /**< Type of Phone book */
+       union {
+               TelPbSimRecord sim; /**< 2G sim phone book info */
+               TelPbUsimRecord usim; /**< 3G sim phone book info */
+       } rec_u; /**< union */
+} TelPbReadRecord;
+
+/**
+ *These data structures defines the update record informations
+ */
+typedef struct {
+       unsigned int index; /**< Index of phonebook memory */
+
+       TelPbType pb_type; /**< Type of Phone book */
+       union {
+               TelPbSimRecord sim; /**< 2G sim phone book info */
+               TelPbUsimRecord usim; /**< 3G sim phone book info */
+       } rec_u; /**< union */
+} TelPbUpdateRecord;
+
+/**
+ *These data structures defines the phone book record informations
+ */
+typedef struct {
+       TelPbType pb_type; /**< Type of Phone book */
+       unsigned int index; /**< Index of phonebook memory */
+} TelPbRecordInfo;
+
+/**
+ *  \defgroup TAPI_EVENT TAPI Event IDs
+ *  @{
+ */
+
+/**
+ *  \defgroup TEL_EVENT_PHONEBOOK Phonebook Event IDs
+ *  @{
+ */
+
+/**
+ *  @hideinitializer
+ *  @brief Phonebook init status
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_PB_STATUS
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_PB_STATUS
+ *  #retval data \ref TelPbInitInfo
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_PB_STATUS                             TELEPHONY_PB_INTERFACE":Status"
+
+/** @}*/
+/** @}*/
+
+#ifdef __cplusplus
+}
+#endif
+
+/** @}*/
+
+#endif /* __TEL_PHONEBOOK_H__ */
diff --git a/tel-headers/include/tel_return.h b/tel-headers/include/tel_return.h
new file mode 100644 (file)
index 0000000..2dc87a6
--- /dev/null
@@ -0,0 +1,54 @@
+/*
+ * tel-headers
+ *
+ * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
+ * Copyright (c) 2013 Intel Corporation. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __TEL_RETURN_H__
+#define __TEL_RETURN_H__
+
+/**
+*  @addtogroup TAPI_COMMON
+*  @{
+*
+*  @file tel_return.h
+*  @brief TAPI return values
+*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * @enum TelReturn
+ * TAPI return values
+ */
+typedef enum {
+       TEL_RETURN_SUCCESS, /**< Operation completed successfully */
+       TEL_RETURN_FAILURE, /**< Operation Failed */
+       TEL_RETURN_INVALID_PARAMETER, /**< Invalid input parameters */
+       TEL_RETURN_MEMORY_FAILURE, /**< Memory allocation failed */
+       TEL_RETURN_OPERATION_NOT_SUPPORTED, /**< Operation not supported */
+       TEL_RETURN_UNKNOWN_FAILURE /**< Unknown failure */
+} TelReturn;
+
+#ifdef __cplusplus
+}
+#endif
+
+/** @}*/
+
+#endif /* __TEL_RETURN_H__ */
diff --git a/tel-headers/include/tel_sap.h b/tel-headers/include/tel_sap.h
new file mode 100644 (file)
index 0000000..d22d363
--- /dev/null
@@ -0,0 +1,179 @@
+/*
+ * tel-headers
+ *
+ * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
+ * Copyright (c) 2013 Intel Corporation. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#ifndef __TEL_SAP_H__
+#define __TEL_SAP_H__
+
+#include <tel_if.h>
+
+/**
+*  @addtogroup TAPI_SAP
+*  @{
+*
+*  @file tel_sap.h
+*  @brief TAPI SAP Interface
+*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define TELEPHONY_SAP_INTERFACE         TELEPHONY_SERVICE".Sap"
+
+#define TEL_SAP_APDU_LEN_MAX           261     /**< APDU max command length */
+#define TEL_SAP_APDU_RESP_LEN_MAX      258     /**< APDU max response length */
+#define TEL_SAP_ATR_LEN_MAX            33      /**< Answer to Reset data max length */
+
+/**
+ * @enum TelSapResult
+ * This enum gives the SAP result information.
+ */
+
+typedef enum {
+       TEL_SAP_RESULT_SUCCESS,                 /**<  operation successfully completed*/
+       TEL_SAP_RESULT_FAILURE_NO_REASON,       /**<  no reason*/
+       TEL_SAP_RESULT_CARD_NOT_ACCESSIBLE,     /**<  not accessible*/
+       TEL_SAP_RESULT_CARD_ALREADY_POWERED_OFF,/**<  card already powered off*/
+       TEL_SAP_RESULT_CARD_REMOVED,            /**<  card removed*/
+       TEL_SAP_RESULT_CARD_ALREADY_POWERED_ON, /**<  card already powered on*/
+       TEL_SAP_RESULT_DATA_NOT_AVAILABLE,      /**<  data not available*/
+       TEL_SAP_RESULT_NOT_SUPPORTED,           /**<  not supported*/
+       TEL_SAP_RESULT_UNABLE_TO_ESTABLISH,     /**<  unable to establish connection*/
+       TEL_SAP_RESULT_NOT_SUPPORT_MAX_SIZE,    /**<  server does not support message length that client want send*/
+       TEL_SAP_RESULT_TOO_SMALL_MAX_SIZE,      /**<  client wants to connect with very small message length which is not supported by Server */
+       TEL_SAP_RESULT_ONGOING_CALL,            /**<  server cannot reset the SIM due to an ongoing call */
+       TEL_SAP_RESULT_OPERATION_NOT_PERMITTED  /** Operation not permitted */
+} TelSapResult;
+
+/**
+ * @enum TelSapPowerMode
+ * This enum gives the SAP message Ids between SAP client and SAP server.
+ */
+typedef enum {
+       TEL_SAP_SIM_POWER_ON_REQ,       /**< SAP Client request for Power ON SIM off in Server */
+       TEL_SAP_SIM_POWER_OFF_REQ,      /**< SAP Client request for Power OFF SIM off in Server */
+       TEL_SAP_SIM_RESET_REQ,          /**< SAP Client request for reset SIM in Server */
+} TelSapPowerMode;
+
+/**
+ * @enum TelSapDisconnectType
+ * This enum gives the SAP disconnect type information.
+ */
+typedef enum {
+       TEL_SAP_DISCONNECT_TYPE_GRACEFUL,       /**< disconnection procedure ends after finishing current work */
+       TEL_SAP_DISCONNECT_TYPE_IMMEDIATE       /**< disconnection procedure ends immediately */
+} TelSapDisconnectType;
+
+/**
+ * @enum TelSapCardStatus
+ * This enum gives the SIM card status if server`s status changed about connection with subscription module
+ */
+typedef enum {
+       TEL_SAP_CARD_STATUS_UNKNOWN,            /**<  SAP server status - unknown*/
+       TEL_SAP_CARD_STATUS_RESET,              /**<  SAP server status - reset*/
+       TEL_SAP_CARD_STATUS_NOT_ACCESSIBLE,     /**<  SAP server status - not accessible*/
+       TEL_SAP_CARD_STATUS_REMOVED,            /**<  SAP server status - removed*/
+       TEL_SAP_CARD_STATUS_INSERTED,           /**<  SAP server status - inserted*/
+       TEL_SAP_CARD_STATUS_RECOVERED           /**<  SAP server status - recovered*/
+} TelSapCardStatus;
+
+/**
+ * @enum TelSimSapProtocol
+ * This enum gives SAP transport protocol type
+ */
+typedef enum {
+       TEL_SIM_SAP_PROTOCOL_T0,        /**< T = 0, character*/
+       TEL_SIM_SAP_PROTOCOL_T1         /**< T = 1, block*/
+} TelSimSapProtocol;
+
+/**
+ * This data structure gives the SAP ATR response data information.
+ */
+typedef struct {
+       unsigned int atr_len; /**<  SAP ATR response data length */
+       unsigned char atr[TEL_SAP_ATR_LEN_MAX]; /**<  SAP ATR response data */
+} TelSapAtr;
+
+/**
+ * This data structure is used to transfer the SAP APDU command.
+ */
+typedef struct {
+       unsigned int apdu_len;  /**<  SAP APDU length */
+       unsigned char apdu[TEL_SAP_APDU_LEN_MAX];  /**<  SAP APDU data */
+} TelSapApdu;
+
+/**
+ * This data structure gives the SAP APDU response.
+ */
+typedef struct {
+       unsigned int apdu_resp_len; /**<  SAP APDU response data length */
+       unsigned char apdu_resp[TEL_SAP_APDU_RESP_LEN_MAX]; /**<  SAP APDU response data */
+} TelSapApduResp;
+
+/**
+ *  \defgroup TAPI_EVENT TAPI Event IDs
+ *  @{
+ */
+
+/**
+ *  \defgroup TEL_EVENT_SAP SAP Event IDs
+ *  @{
+ */
+
+/**
+ *  @hideinitializer
+ *  @brief SAP status
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SAP_STATUS
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SAP_STATUS
+ *  @retval data \ref TelSapCardStatus
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SAP_STATUS                            TELEPHONY_SAP_INTERFACE":Status"
+
+/**
+ *  @hideinitializer
+ *  @brief SAP disconnect type
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SAP_DISCONNECT
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SAP_DISCONNECT
+ *  @retval data \ref TelSapDisconnectType
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SAP_DISCONNECT                        TELEPHONY_SAP_INTERFACE":Disconnect"
+
+/** @}*/
+/** @}*/
+
+#ifdef __cplusplus
+}
+#endif
+
+/** @}*/
+
+#endif /* __TEL_SAP_H__ */
diff --git a/tel-headers/include/tel_sat.h b/tel-headers/include/tel_sat.h
new file mode 100644 (file)
index 0000000..58e819c
--- /dev/null
@@ -0,0 +1,1813 @@
+/*
+ * tel-headers
+ *
+ * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
+ * Copyright (c) 2013 Intel Corporation. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __TEL_SAT_H__
+#define __TEL_SAT_H__
+
+#include <glib.h>
+#include <tel_if.h>
+#include <tel_call.h>
+#include <tel_ss.h>
+
+/**
+*  @addtogroup TAPI_SAT
+*  @{
+*
+*  @file tel_sat.h
+*  @brief TAPI sat Interface
+*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define TELEPHONY_SAT_INTERFACE TELEPHONY_SERVICE".Sat"
+
+#define TEL_SAT_DEF_TEXT_STRING_LEN_MAX        500 /**< max length for Text String  */
+#define TEL_SAT_DEF_TITLE_LEN_MAX      50 /**< max length for Menu Title */
+#define TEL_SAT_DEF_ITEM_STR_LEN_MAX   50 /**< max length for default item string */
+#define TEL_SAT_TEXT_STRING_LEN_MAX            500 /**< max length for text string */
+#define TEL_SAT_DEF_BIT_MASK_CONTACT   0x01 /**< Bit Mask for Contact */
+#define TEL_SAT_DEF_BIT_MASK_MSG       0x02 /**< Bit Mask for Msg */
+#define TEL_SAT_DEF_BIT_MASK_OTHER     0x04 /**< Bit Mask for Psh */
+#define TEL_SAT_REFRESH_FILE_LIST              20 /**< Refresh File List */
+#define TEL_SAT_DEF_SS_LEN_MAX 250 /**< max length for SS */
+#define TEL_SAT_DEF_USSD_LEN_MAX       250 /**< max length for USSD */
+#define TEL_SAT_DIALING_NUMBER_LEN_MAX 200 /**< max length for dailing number */
+#define TEL_SAT_ALPHA_ID_LEN_MAX       255     /**< max length of  alpha identifier */
+#define TEL_SAT_SUB_ADDR_LEN_MAX       30 /**< max length for Sub address */
+#define TEL_SAT_CCP_DATA_LEN_MAX       30 /**< max length of ccp data */
+#define TEL_SAT_SS_STRING_LEN_MAX      160 /**< max length for SS string */
+#define TEL_SAT_USSD_STRING_LEN_MAX    255 /**< max length for USSD string */
+#define TEL_SAT_ITEM_TEXT_LEN_MAX      45 /**< max length of item text */
+#define TEL_SAT_SMS_TPDU_SMS_DATA_LEN_MAX      175 /**< max length for SMS TPDU SMS data */
+#define TEL_SAT_FILE_ID_LIST_MAX_COUNT 255 /**< max length for file id list */
+#define TEL_SAT_ITEMS_NEXT_ACTION_INDI_LIST_MAX_COUNT  50 /**< max count of items next action indication list */
+#define TEL_SAT_EVENT_LIST_MAX 17 /**< max count of event list */
+#define TEL_SAT_IMG_DATA_FILE_PATH_LEN_MAX     50 /**< max length of image data file name (Icon, CLUT) */
+#define TEL_SAT_ICON_LIST_MAX_COUNT    50 /**< max count of icon list */
+#define TEL_SAT_DTMF_STRING_LEN_MAX    30 /**< max length of dtmf string */
+#define TEL_SAT_URL_LEN_MAX    129 /**< max length of URL*/
+#define TEL_SAT_PROVISIONING_FILE_PATH_LEN_MAX 50 /**< max length of provisioning file path */
+#define TEL_SAT_CHANNEL_DATA_STRING_LEN_MAX    255 /**< max length for channel data string */
+#define TEL_SAT_OTHER_ADDR_LEN_MAX     30 /**< max length of other address */
+#define TEL_SAT_NET_ACC_NAM_LEN_MAX    30 /**< max length of net acc name */
+#define TEL_SAT_REMOTE_ENTITY_ADDR_LEN_MAX     50 /**< max length of remote entity address */
+#define TEL_SAT_ITEM_TEXT_ATTRIBUTES_LIST_MAX_COUNT    50 /**< max count of item text attributes list */
+#define TEL_SAT_MENU_ITEM_COUNT_MAX    40 /**< max count for Menu items */
+
+/**
+ * @enum TelSatResult
+ * Response (Result) codes
+*/
+typedef enum {
+       TEL_SAT_RESULT_SUCCESS, /**< Operation completed successfully */
+       TEL_SAT_RESULT_FAILURE, /**< Operation Failed */
+       TEL_SAT_RESULT_INVALID_PARAMETER, /**< Invalid input parameters */
+       TEL_SAT_RESULT_MEMORY_FAILURE, /**< Memory allocation failed */
+       TEL_SAT_RESULT_OPERATION_NOT_SUPPORTED, /**< Operation not supported */
+       TEL_SAT_RESULT_UNKNOWN_FAILURE, /**< Unknown failure */
+
+       TEL_SAT_RESULT_REQUIRED_VALUE_MISSING, /**< Required value missing */
+       TEL_SAT_RESULT_COMMAND_NOT_UNDERSTOOD, /**< Command not understood by ME */
+       TEL_SAT_RESULT_BEYOND_ME_CAPABILITY /**< Beyond ME capability */
+} TelSatResult;
+
+/**
+ * @enum TelSatUiUserConfirmType
+ * This enumeration defines UI user confirm types
+*/
+typedef enum {
+       TEL_SAT_USER_CONFIRM_YES, /**<This Enum Informs That user confirms yes */
+       TEL_SAT_USER_CONFIRM_NO_OR_CANCEL, /**<This enum informs that user confirms no/cancel */
+       TEL_SAT_USER_CONFIRM_HELP_INFO, /**<This enum informs that user wants help information */
+       TEL_SAT_USER_CONFIRM_END, /**<This enum informs that user confirms end */
+       TEL_SAT_USER_CONFIRM_TIMEOUT, /**<This enum informs that user did not respond */
+} TelSatUiUserConfirmType;
+
+/**
+ * @enum TelSatUiDisplayStatusType
+ * This enumeration defines the UI Display Status.
+ */
+typedef enum
+{
+       TEL_SAT_DISPLAY_SUCCESS = 0x00, /**< This enum informs  UI display success */
+       TEL_SAT_DISPLAY_FAIL = 0x01, /**< This enum informs  UI display failure */
+}TelSatUiDisplayStatusType;
+
+/**
+ * @enum TelSatRefreshAppType
+ * This enumeration defines the Refresh Application Type.
+ */
+ typedef enum
+{
+       TEL_SAT_REFRESH_CONTACT = 0x00,  /**< refresh application type - Phonebook */
+       TEL_SAT_REFRESH_MSG, /**< refresh application type - SMS */
+       TEL_SAT_REFRESH_OTHER, /**< refresh application type - other */
+       TEL_SAT_REFRESH_MAX      /**< Maximum Enumeration Value */
+}TelSatRefreshAppType;
+
+/**
+ * @enum TelSatCallCtrlType
+ * This enumeration defines Call Control Type.
+ */
+typedef enum
+{
+       TEL_SAT_CALL_CNF_NONE = 0x00, /**< call control confirm type - None */
+       TEL_SAT_CALL_CNF_CALL, /**< call control confirm type - call */
+       TEL_SAT_CALL_CNF_SS, /**< call control confirm type - ss */
+       TEL_SAT_CALL_CNF_USSD, /**< call control confirm type - ussd */
+       TEL_SAT_CALL_CNF_MAX /**< Maximum Enumeration Value */
+}TelSatCallCtrlType;
+
+/**
+ * @enum TelSatProactiveCmdType
+ * This enumeration defines Proactive command types
+*/
+typedef enum {
+       TEL_SAT_PROATV_CMD_NONE = 0x00, /**< command type - None */
+       TEL_SAT_PROATV_CMD_REFRESH = 0x01, /**< command type - refresh */
+       TEL_SAT_PROATV_CMD_MORE_TIME = 0x02, /**< command type - more time      */
+       TEL_SAT_PROATV_CMD_SETUP_EVENT_LIST = 0x05, /**< command type - setup event list */
+       TEL_SAT_PROATV_CMD_SETUP_CALL = 0x10, /**<      command type - setup call */
+       TEL_SAT_PROATV_CMD_SEND_SS = 0x11, /**< command type - send ss */
+       TEL_SAT_PROATV_CMD_SEND_USSD = 0x12, /**< command type - send ussd       */
+       TEL_SAT_PROATV_CMD_SEND_SMS = 0x13, /**< command type - send sms */
+       TEL_SAT_PROATV_CMD_SEND_DTMF = 0x14, /**< command type - send dtmf      */
+       TEL_SAT_PROATV_CMD_LAUNCH_BROWSER = 0x15, /**< command type - launch browser     */
+       TEL_SAT_PROATV_CMD_PLAY_TONE = 0x20, /**< command type - play tone */
+       TEL_SAT_PROATV_CMD_DISPLAY_TEXT = 0x21, /**< command type - display text */
+       TEL_SAT_PROATV_CMD_GET_INKEY = 0x22, /**< command type - get inkey */
+       TEL_SAT_PROATV_CMD_GET_INPUT = 0x23, /**< command type - get input */
+       TEL_SAT_PROATV_CMD_SELECT_ITEM = 0x24, /**< command type - select item */
+       TEL_SAT_PROATV_CMD_SETUP_MENU = 0x25, /**< command type - setup menu */
+       TEL_SAT_PROATV_CMD_PROVIDE_LOCAL_INFO = 0x26, /**< command type - provide local info */
+       TEL_SAT_PROATV_CMD_SETUP_IDLE_MODE_TEXT = 0x28, /**< command type - setup idle mode text */
+       TEL_SAT_PROATV_CMD_LANGUAGE_NOTIFICATION = 0x35, /**< command type - language notification */
+       TEL_SAT_PROATV_CMD_OPEN_CHANNEL = 0x40, /**< command type - open channel -class e */
+       TEL_SAT_PROATV_CMD_CLOSE_CHANNEL = 0x41, /**< command type - close channel - class e */
+       TEL_SAT_PROATV_CMD_RECEIVE_DATA = 0x42, /**< command type - receive data -class e */
+       TEL_SAT_PROATV_CMD_SEND_DATA = 0x43, /**< command type - send data */
+       TEL_SAT_PROATV_CMD_GET_CHANNEL_STATUS = 0x44, /**< command type - get channel status -class e */
+       TEL_SAT_PROATV_CMD_TYPE_END_PROACTIVE_SESSION = 0xFE, /**< command type - end proactive session */
+       TEL_SAT_PROATV_CMD_RESERVED = 0xFF /**< command type - reserved */
+} TelSatProactiveCmdType;
+
+/**
+ * @enum TelSatAlphabetFormatType
+ * This enumeration defines Alphabet format type
+*/
+typedef enum {
+       TEL_SAT_ALPHABET_FORMAT_SMS_DEFAULT = 0x00, /**< Alphabet type -SMS default format */
+       TEL_SAT_ALPHABET_FORMAT_8BIT_DATA = 0x01, /**< Alphabet type -8 bit format data */
+       TEL_SAT_ALPHABET_FORMAT_UCS2 = 0x02, /**< Alphabet type -UCS2 format */
+       TEL_SAT_ALPHABET_FORMAT_RESERVED = 0x03 /**< Alphabet type -format reserved */
+} TelSatAlphabetFormatType;
+
+/**
+ * @enum TelSatMsgClassType
+ * This enumeration defines message class types
+*/
+typedef enum {
+       TEL_SAT_MSG_CLASS_NONE = 0x00, /**< class none */
+       TEL_SAT_MSG_CLASS_0 = 0x01, /**< class 0 */
+       TEL_SAT_MSG_CLASS_1, /**< class 1 Default meaning:ME-specific */
+       TEL_SAT_MSG_CLASS_2, /**< class 2 SIM specific message */
+       TEL_SAT_MSG_CLASS_3, /**< class 3 Default meaning: TE specific */
+       TEL_SAT_MSG_CLASS_RESERVED = 0xFF /**< class reserved */
+} TelSatMsgClassType;
+
+/**
+ * @enum TelSatCallCtrlResultType
+ * This enum indicates the result of call control by SIM.
+ */
+typedef enum {
+       TEL_SAT_CALL_CTRL_R_ALLOWED_NO_MOD = 0, /**<    call control result type -  ALLOWED WITH NO MOD */
+       TEL_SAT_CALL_CTRL_R_NOT_ALLOWED = 1, /**< call control result type -  NOT ALLOWED */
+       TEL_SAT_CALL_CTRL_R_ALLOWED_WITH_MOD = 2, /**< call control result type -  ALLOWED WITH MOD     */
+       TEL_SAT_CALL_CTRL_R_RESERVED = 0xFF /**< call control result type -  RESERVED */
+} TelSatCallCtrlResultType;
+
+/**
+ * @enum TelSatCallType
+ * This enum indicates the SAT call type
+ */
+typedef enum {
+       TEL_SAT_CALL_TYPE_MO_VOICE = 0X00,      /**<    call type -mo voice */
+       TEL_SAT_CALL_TYPE_MO_SMS, /**< call type - mo sms */
+       TEL_SAT_CALL_TYPE_SS, /**< call type -  ss */
+       TEL_SAT_CALL_TYPE_USSD, /**< call type -  ussd */
+       TEL_SAT_PDP_CNTXT_ACT, /**< call type -  pdp context action */
+       TEL_SAT_CALL_TYPE_MAX /**< call type -  max */
+}TelSatCallType;
+
+/**
+ * @enum TelSatUseInputAlphabetType
+ * This is associated with the command qualifier for get input.
+ */
+typedef enum {
+       TEL_SAT_USER_INPUT_ALPHABET_TYPE_SMS_DEFAULT = 1, /**< command qualifier for  ALPHABET TYPE SMS DEFAULT */
+       TEL_SAT_USER_INPUT_ALPHABET_TYPE_UCS2 = 2 /**< command qualifier for  ALPHABET TYPE UCS2 */
+} TelSatUseInputAlphabetType;
+
+/**
+ * @enum TelSatResultType
+ * This enumeration defines sat result types
+*/
+typedef enum {
+       TEL_SAT_RESULT_SUCCESS_RETURN = 0x0, /**< command performed successfully */
+       TEL_SAT_RESULT_SUCCESS_WITH_PARTIAL_COMPREHENSION = 0x01, /**< command performed with partial comprehension */
+       TEL_SAT_RESULT_SUCCESS_WITH_MISSING_INFO = 0x02, /**< command performed, with missing information */
+
+       TEL_SAT_RESULT_REFRESH_PERFORMED_WITH_ADDITIONAL_EFS_READ = 0x03, /**< REFRESH PERFORMED WITH ADDITIONAL EFS READ */
+       TEL_SAT_RESULT_SUCCESS_BUT_REQUESTED_ICON_NOT_DISPLAYED = 0x04, /**<     command performed but REQUESTED ICON NOT DISPLAYED */
+       TEL_SAT_RESULT_SUCCESS_BUT_MODIFIED_BY_CALL_CONTROL_BY_SIM = 0x05, /**< command performed but MODIFIED BY CALL CONTROL BY SIM */
+       TEL_SAT_RESULT_SUCCESS_LIMITED_SERVICE = 0x06, /**< command performed with LIMITED SERVICE */
+       TEL_SAT_RESULT_SUCCESS_WITH_MODIFICATION = 0x07, /**< command performed with MODIFICATION */
+       TEL_SAT_RESULT_REFRESH_PRFRMD_BUT_INDICATED_USIM_NOT_ACTIVE = 0x08, /**< REFRESH PERFORMED BUT INDICATED USIM NOT ACTIVE */
+       TEL_SAT_RESULT_SUCCESS_BUT_TONE_NOT_PLAYED = 0x09, /**< command performed successfully, tone not played */
+
+       TEL_SAT_RESULT_PROACTIVE_SESSION_TERMINATED_BY_USER = 0x10, /**< proactive sim application session terminated by user    */
+       TEL_SAT_RESULT_BACKWARD_MOVE_BY_USER = 0x11, /**< backward move in the proactive sim application session request by the user */
+       TEL_SAT_RESULT_NO_RESPONSE_FROM_USER = 0x12, /**< no response from user */
+
+       TEL_SAT_RESULT_HELP_INFO_REQUIRED_BY_USER = 0x13, /**< HELP INFO REQUIRED BY USER */
+       TEL_SAT_RESULT_USSD_OR_SS_TRANSACTION_TERMINATED_BY_USER = 0x14, /**< USSD OR SS TRANSACTION TERMINATED BY USER */
+
+       TEL_SAT_RESULT_ME_UNABLE_TO_PROCESS_COMMAND = 0x20, /**<        ME currently unable to process command  */
+       TEL_SAT_RESULT_NETWORK_UNABLE_TO_PROCESS_COMMAND = 0x21, /**< Network currently unable to process command */
+       TEL_SAT_RESULT_USER_DID_NOT_ACCEPT_CALL_SETUP_REQ = 0x22, /**< User did not accept call setup request */
+       TEL_SAT_RESULT_USER_CLEAR_DOWN_CALL_BEFORE_CONN = 0x23, /**< User cleared down call before connection or network released */
+
+       TEL_SAT_RESULT_INTERACTION_WITH_CC_BY_SIM_IN_TMP_PRBLM = 0x25, /**< INTERACTION WITH CALL CONTROL BY SIM IN TEMPORARY PROBLEM */
+       TEL_SAT_RESULT_LAUNCH_BROWSER_GENERIC_ERROR_CODE = 0x26, /**< LAUNCH BROWSER GENERIC ERROR CODE */
+
+       TEL_SAT_RESULT_BEYOND_ME_CAPABILITIES = 0x30, /**< command beyond ME's capabilities */
+       TEL_SAT_RESULT_COMMAND_TYPE_NOT_UNDERSTOOD_BY_ME = 0x31, /**< command type not understood by ME */
+       TEL_SAT_RESULT_COMMAND_DATA_NOT_UNDERSTOOD_BY_ME = 0x32, /**< command data not understood by ME */
+       TEL_SAT_RESULT_COMMAND_NUMBER_NOT_KNOWN_BY_ME = 0x33, /**<      command number not known by ME */
+       TEL_SAT_RESULT_SS_RETURN_ERROR = 0x34, /**< SS return error */
+       TEL_SAT_RESULT_SMS_RP_ERROR = 0x35, /**< SMS rp-error */
+       TEL_SAT_RESULT_ERROR_REQUIRED_VALUES_ARE_MISSING = 0x36, /**< Error, required values are missing */
+
+       TEL_SAT_RESULT_USSD_RETURN_ERROR = 0x37, /**<   USSD_RETURN_ERROR */
+       TEL_SAT_RESULT_INTRCTN_WITH_CC_OR_SMS_CTRL_PRMNT_PRBLM = 0x39, /**<     INTERACTION WITH CALL CONTROL OR SMS CONTROL PERMANENT PROBLEM */
+       TEL_SAT_RESULT_BEARER_INDEPENDENT_PROTOCOL_ERROR = 0x3A, /**< BEARER INDEPENDENT PROTOCOL ERROR */
+       TEL_SAT_RESULT_FRAMES_ERROR = 0x3C, /**< FRAMES ERROR */
+} TelSatResultType;
+
+/**
+ * @enum TelSatMeProblemType
+ * This enumeration defines ME problem types
+*/
+typedef enum {
+       TEL_SAT_ME_PROBLEM_NO_SPECIFIC_CAUSE = 0x0, /**< ME problem with NO SPECIFIC CAUSE */
+       TEL_SAT_ME_PROBLEM_SCREEN_BUSY = 0x01, /**< ME problem with SCREEN BUSY */
+       TEL_SAT_ME_PROBLEM_ME_BUSY_ON_CALL = 0x02, /**< ME problem with ME BUSY ON CALL */
+       TEL_SAT_ME_PROBLEM_ME_BUSY_ON_SS = 0x03, /**< ME problem with ME_BUSY ON SS */
+       TEL_SAT_ME_PROBLEM_NO_SERVICE = 0x04, /**<      ME problem with NO SERVICE */
+       TEL_SAT_ME_PROBLEM_ACCESS_CONTROL_CLASS_BAR = 0x05, /**< ME problem with ACCESS CONTROL CLASS BAR */
+       TEL_SAT_ME_PROBLEM_RADIO_RES_NOT_GRANTED = 0x06, /**< ME problem with RADIO RES NOT GRANTED */
+       TEL_SAT_ME_PROBLEM_NOT_IN_SPEECH_CALL = 0x07, /**< ME problem with NOT IN SPEECH CALL */
+       TEL_SAT_ME_PROBLEM_ME_BUSY_ON_USSD = 0x08, /**< ME problem with ME BUSY ON USSD */
+       TEL_SAT_ME_PROBLEM_ME_BUSY_ON_SEND_DTMF_CMD = 0x09, /**<        ME problem with ME BUSY ON SEND DTMF CMD */
+       TEL_SAT_ME_PROBLEM_NO_USIM_ACTIVE = 0x0A, /**< ME problem with NO USIM ACTIVE */
+       TEL_SAT_ME_PROBLEM_INVALID = 0xFF /**< ME problem with INVALID */
+} TelSatMeProblemType;
+
+/**
+ * @enum TelSatCallControlResult
+ * This enumeration defines call control result types
+*/
+typedef enum {
+       TEL_SAT_CALL_CTRL_RESULT_ALLOWED_NO_MOD = 0x00, /**< call control result type -ALLOWED NO MOD */
+       TEL_SAT_CALL_CTRL_RESULT_NOT_ALLOWED = 0x01, /**< call control result type -NOT ALLOWED */
+       TEL_SAT_CALL_CTRL_RESULT_ALLOWED_WITH_MOD = 0x02, /**< call control result type -ALLOWED WITH MOD */
+       TEL_SAT_CALL_CTRL_RESULT_RESERVED /**< call control result type -RESERVED */
+} TelSatCallControlResult;
+
+/**
+ * @enum TelSatTypeOfNum
+ * This enumeration defines sat type of number
+*/
+typedef enum {
+       TEL_SAT_TON_UNKNOWN = 0,                        /*< unknown */
+       TEL_SAT_TON_INTERNATIONAL = 1,          /*< international number */
+       TEL_SAT_TON_NATIONAL = 2,                       /*< national number */
+       TEL_SAT_TON_NETWORK_SPECIFIC = 3,       /*< network specific number */
+       TEL_SAT_TON_DEDICATED_ACCESS = 4,       /*< subscriber number */
+       TEL_SAT_TON_ALPHA_NUMERIC = 5,          /*< alphanumeric, GSM 7-bit default alphabet) */
+       TEL_SAT_TON_ABBREVIATED_NUMBER = 6,     /*< abbreviated number */
+       TEL_SAT_TON_RESERVED_FOR_EXT = 7        /*< reserved for extension */
+} TelSatTypeOfNum;
+
+/**
+ * @enum TelSatNumberingPlanIdentity
+ * This enumeration defines numbering plan identity
+*/
+typedef enum {
+       TEL_SAT_NPI_UNKNOWN = 0,                                /*< Unknown */
+       TEL_SAT_NPI_ISDN_TEL = 1,                               /*< ISDN Telephone numbering plan */
+       TEL_SAT_NPI_DATA_NUMBERING_PLAN = 3,    /*< Data numbering plan */
+       TEL_SAT_NPI_TELEX = 4,                                  /*< Telex numbering plan */
+       TEL_SAT_NPI_SVC_CNTR_SPECIFIC_PLAN = 5, /*< Service Center Specific plan */
+       TEL_SAT_NPI_SVC_CNTR_SPECIFIC_PLAN2 = 6,/*< Service Center Specific plan */
+       TEL_SAT_NPI_NATIONAL = 8,                               /*< National numbering plan */
+       TEL_SAT_NPI_PRIVATE = 9,                                /*< Private numbering plan */
+       TEL_SAT_NPI_ERMES_NUMBERING_PLAN = 10,  /*< ERMES numbering plan */
+       TEL_SAT_NPI_RESERVED_FOR_EXT = 0xF              /*< Reserved for extension */
+} TelSatNumberingPlanIdentity;
+
+/**
+ * @enum TelSatDeviceIdentitiesTagType
+ * This enumeration defines device identities tag types
+*/
+typedef enum {
+       TEL_SAT_DEVICE_ID_KEYPAD = 0x01, /**< device identities tag type -ID KEYPAD */
+       TEL_SAT_DEVICE_ID_DISPLAY = 0x02, /**< device identities tag type -ID DISPLAY */
+       TEL_SAT_DEVICE_ID_EARPIECE = 0x03, /**< device identities tag type -ID EARPIECE */
+       /* 21-27 for channel */
+       TEL_SAT_DEVICE_ID_SIM = 0x81, /**< device identities tag type -ID SIM */
+       TEL_SAT_DEVICE_ID_ME = 0x82, /**< device identities tag type -ID ME */
+       TEL_SAT_DEVICE_ID_NETWORK = 0x83, /**< device identities tag type -ID NETWORK */
+       TEL_SAT_DEVICE_ID_RESERVED = 0XFF /**< device identities tag type -ID RESERVED */
+} TelSatDeviceIdentitiesTagType;
+
+/**
+ * @enum TelSatTimeUnitType
+ * This enumeration defines time unit types
+*/
+typedef enum {
+       TEL_SAT_TIME_UNIT_MINUTES = 0x0, /**< Time unit type -MINUTES */
+       TEL_SAT_TIME_UNIT_SECONDS = 0x01, /**< Time unit type -SECONDS */
+       TEL_SAT_TIME_UNIT_TENTHS_OF_SECONDS     = 0x02, /**< Time unit type -TENTHS_OF_SECONDS */
+       TEL_SAT_TIME_UNIT_RESERVED       = 0xFF /**< Time unit type -RESERVED */
+} TelSatTimeUnitType;
+
+/**
+ * @enum TelSatSmsTpduType
+ * This enumeration defines SMS TPDU types
+*/
+typedef enum {
+       TEL_SAT_SMS_TPDU_TYPE_DELIVER_TPDU = 0, /**< SMS TPDU type -DELIVER TPDU */
+       TEL_SAT_SMS_TPDU_TYPE_DELIVER_RPT = 1, /**< SMS TPDU type -DELIVER RPT */
+       TEL_SAT_SMS_TPDU_TYPE_SUBMIT_TPDU = 2, /**< SMS TPDU type -SUBMIT TPDU */
+       TEL_SAT_SMS_TPDU_TYPE_SUBMIT_RPT        = 3, /**< SMS TPDU type -SUBMIT RPT */
+       TEL_SAT_SMS_TPDU_TYPE_STATUS_RPT        = 4, /**< SMS TPDU type -STATUS RPT */
+       TEL_SAT_SMS_TPDU_TYPE_TPDU_CMD = 5 /**< SMS TPDU type -TPDU CMD */
+} TelSatSmsTpduType;
+
+/**
+ * @enum TelSatEventListType
+ * This enumeration defines event list types
+*/
+typedef enum {
+       TEL_SAT_EVENT_MT_CALL = 0, /**< event type -MT CALL */
+       TEL_SAT_EVENT_CALL_CONNECTED = 1, /**< event type -CALL CONNECTED */
+       TEL_SAT_EVENT_CALL_DISCONNECTED = 2, /**< event type -CALL DISCONNECTED */
+       TEL_SAT_EVENT_LOCATION_STATUS = 3, /**< event type -LOCATION STATUS */
+       TEL_SAT_EVENT_USER_ACTIVITY = 4, /**< event type - USER_ACTIVITY */
+       TEL_SAT_EVENT_IDLE_SCREEN_AVAILABLE = 5, /**< event type - IDLE SCREEN AVAILABLE */
+       TEL_SAT_EVENT_CARD_READER_STATUS = 6, /**< event type -CARD READER STATUS */
+       TEL_SAT_EVENT_LANGUAGE_SELECTION = 7, /**<      event type - LANGUAGE SELECTION */
+       TEL_SAT_EVENT_BROWSER_TERMINATION = 8, /**< event type - BROWSER TERMINATION */
+       TEL_SAT_EVENT_DATA_AVAILABLE = 9, /**< event type -DATA AVAILABLE */
+       TEL_SAT_EVENT_CHANNEL_STATUS = 0x0A, /**< event type - CHANNEL STATUS    */
+       TEL_SAT_EVENT_ACCESS_TECHNOLOGY_CHANGED = 0x0B, /**< event type -TECHNOLOGY CHANGED */
+       TEL_SAT_EVENT_DISPLAY_PARAMETERS_CHANGED = 0x0C, /**< event type -PARAMETERS CHANGED */
+       TEL_SAT_EVENT_LOCAL_CONNECTION = 0x0D, /**< event type -LOCAL CONNECTION */
+       TEL_SAT_EVENT_NW_SEARCH_MODE_CHANGED = 0X0E, /**< event type -NW SEARCH MODE CHANGED */
+       TEL_SAT_EVENT_BROWSING_STATUS = 0X0F, /**< event type -BROWSING STATUS */
+       TEL_SAT_EVENT_FRAMES_INFORMATION_CHANGED = 0X10, /**< event type -FRAMES INFORMATION CHANGED */
+       TEL_SAT_EVENT_RESERVED_FOR_3GPP = 0X11, /**< event type -RESERVED FOR 3GPP */
+       TEL_SAT_EVENT_UNKNOWN = 0xFF /**< event type - UNKNOWN */
+} TelSatEventListType;
+
+/**
+ * @enum TelSatCallCtrlStringType
+ * This enumeration defines call control string type.
+ */
+typedef enum {
+       TEL_SAT_CC_VOICE = 0x00, /**< Call Control String Type - voice */
+       TEL_SAT_CC_SS = 0x01, /**< Call Control String Type - ss */
+       TEL_SAT_CC_USSD = 0x02, /**< Call Control String Type - ussd */
+       TEL_SAT_CC_NONE = 0xFF /**< Call Control String Type - none */
+} TelSatCallCtrlStringType;
+
+/**
+ * @enum TelSatInkeyType
+ * This enumeration defines inkey type
+*/
+typedef enum {
+       TEL_SAT_INKEY_TYPE_CHARACTER_SET_ENABLED = 0, /**< Display inkey type -character set enabled */
+       TEL_SAT_INKEY_TYPE_YES_NO_REQUESTED = 1 /**< Display inkey type -yes/No requested */
+} TelSatInkeyType;
+
+/**
+ * @enum TelSatToneType
+ * This enumeration defines tone types
+*/
+typedef enum {
+       /* standard supervisory tones */
+       TEL_SAT_DIAL_TONE = 0x01, /**<  TONE TYPE DIAL TONE */
+       TEL_SAT_CALLED_SUBSCRIBER_BUSY = 0x02, /**< TONE TYPE CALLED SUBSCRIBER BUSY */
+       TEL_SAT_CONGESTION = 0x03, /**< TONE TYPE CONGESTION */
+       TEL_SAT_RADIO_PATH_ACK = 0x04, /**< TONE TYPE RADIO PATH ACK */
+       TEL_SAT_RADIO_PATH_NOT_AVAILABLE_CALL_DROPPED = 0x05, /**< TONE TYPE RADIO PATH NOT AVAILABLE CALL DROPPED */
+       TEL_SAT_ERR_SPECIAL_INFO = 0x06, /**<   TONE TYPE ERR SPECIAL INFO */
+       TEL_SAT_CALL_WAITING_TONE = 0x07, /**< TONE TYPE CALL WAITING TONE */
+       TEL_SAT_RINGING_TONE = 0x08, /**< TONE TYPE RINGING TONE */
+
+       /* ME proprietary tones */
+       TEL_SAT_GENERAL_BEEP = 0x10, /**<       TONE TYPE GENERAL BEEP */
+       TEL_SAT_POSITIVE_ACK_TONE = 0x11, /**< TONE TYPE POSITIVE ACK TONE */
+       TEL_SAT_NEGATIVE_ACK_OR_ERROR_TONE = 0x12, /**< TONE TYPE NEGATIVE ACK OR ERROR TONE */
+       TEL_SAT_RINGING_TONE_SLCTD_BY_USR_FOR_INCOM_SPEECH_CALL = 0x13, /**<    TONE TYPE RINGING TONE SELECTED BY USER FOR INCOMING SPEECH CALL */
+       TEL_SAT_ALERT_TONE_SELECTED_BY_USER_FOR_INCOMING_SMS = 0x14, /**< TONE TYPE ALERT TONE SELECTED BY USER FOR INCOMING SMS */
+       TEL_SAT_CRITICAL_ALERT = 0x15, /**< TONE TYPE CRITICAL ALERT */
+
+       /* Themed tones */
+       TEL_SAT_HAPPY_TONE = 0x30, /**< TONE TYPE HAPPY TONE */
+       TEL_SAT_SAD_TONE = 0x31, /**< TONE TYPE SAD TONE */
+       TEL_SAT_URGENT_ACTION_TONE = 0x32, /**< TONE TYPE URGENT ACTION TONE */
+       TEL_SAT_QUESTION_TONE = 0x33, /**< TONE TYPE QUESTION TONE */
+       TEL_SAT_MESSAGE_RECEIVED_TONE = 0x34, /**< TONE TYPE MESSAGE RECEIVED TONE */
+
+       /* Melody tones */
+       TEL_SAT_MELODY_1 = 0x40, /**<   TONE TYPE MELODY 1 */
+       TEL_SAT_MELODY_2 = 0x41, /**<   TONE TYPE MELODY 2 */
+       TEL_SAT_MELODY_3 = 0x42, /**<   TONE TYPE MELODY 3 */
+       TEL_SAT_MELODY_4 = 0x43, /**<   TONE TYPE MELODY 4 */
+       TEL_SAT_MELODY_5 = 0x44, /**<   TONE TYPE MELODY 5 */
+       TEL_SAT_MELODY_6 = 0x45, /**<   TONE TYPE MELODY 6 */
+       TEL_SAT_MELODY_7 = 0x46, /**<   TONE TYPE MELODY 7 */
+       TEL_SAT_MELODY_8 = 0x47, /**<   TONE TYPE MELODY 8 */
+
+       TEL_SAT_TONE_TYPE_RESERVED = 0xFF /**< TONE TYPE RESERVED */
+} TelSatToneType;
+
+/**
+ * @enum TelSatBcRepeatIndicatorType
+ * This enumeration defines BC repeat indicator types
+*/
+typedef enum {
+       TEL_SAT_BC_REPEAT_INDI_ALTERNATE_MODE = 0x01, /**< BC REPEAT ALTERNATE MODE */
+       TEL_SAT_BC_REPEAT_INDI_SEQUENTIAL_MODE = 0x03, /**< BC REPEAT SEQUENTIAL MODE */
+       TEL_SAT_BC_REPEAT_INDI_RESERVED = 0xFF /**< RESERVED */
+} TelSatBcRepeatIndicatorType;
+
+/**
+ * @enum TelSatImageCodingSchemeType
+ * This enumeration defines image coding scheme types
+*/
+typedef enum {
+       TEL_SAT_SIM_IMAGE_CODING_SCHEME_BASIC = 0x11, /**< Image coding scheme type - BASIC */
+       TEL_SAT_SIM_IMAGE_CODING_SCHEME_COLOUR = 0x21, /**< Image coding scheme type - COLOUR */
+       TEL_SAT_SIM_IMAGE_CODING_SCHEME_RESERVED = 0xFF /**< Image coding scheme type - RESERVED */
+} TelSatImageCodingSchemeType;
+
+/**
+ * @enum TelSatIconQualifierType
+ * This enumeration defines icon qualifier types
+*/
+typedef enum {
+       TEL_SAT_ICON_QUALI_SELF_EXPLANATORY = 0, /**< Icon qualifier type - SELF EXPLANATORY */
+       TEL_SAT_ICON_QUALI_NOT_SELF_EXPLANATORY = 1, /**< Icon qualifier type - NOT SELF EXPLANATORY */
+       TEL_SAT_ICON_QUALI_RESERVED = 0xFF /**< Icon qualifier type - RESERVED */
+} TelSatIconQualifierType;
+
+/**
+ * @enum TelSatBrowserIdentityType
+ * This enumeration defines browser identity types
+*/
+typedef enum {
+       TEL_SAT_BROWSER_ID_DEFAULT = 0, /**< DEFAULT BROWSER */
+       TEL_SAT_BROWSER_ID_WML, /**< BROWSER WML */
+       TEL_SAT_BROWSER_ID_HTML, /**< BROWSER HTML */
+       TEL_SAT_BROWSER_ID_XHTML, /**< BROWSER XHTML */
+       TEL_SAT_BROWSER_ID_CHTML, /**<  BROWSER CHTML */
+       TEL_SAT_BROWSER_ID_RESERVED = 0xFF /**< RESERVED */
+} TelSatBrowserIdentityType;
+
+/**
+ * @enum TelSatBearerListType
+ * This enumeration defines bearer list types
+*/
+typedef enum {
+       TEL_SAT_BEARER_LIST_SMS = 0, /**<       BEARER SMS */
+       TEL_SAT_BEARER_LIST_CSD = 1, /**<       BEARER CSD */
+       TEL_SAT_BEARER_LIST_USSD = 2, /**< BEARER USSD  */
+       TEL_SAT_BEARER_LIST_GPRS = 3, /**< BEARER GPRS */
+       TEL_SAT_BEARER_LIST_RESERVED = 0xFF /**< BEARER RESERVED */
+} TelSatBearerListType;
+
+/**
+ * @enum TelSatChannelStatusType
+ * This enumeration defines channel status types
+*/
+typedef enum {
+       TEL_SAT_LINK_OR_PACKET_SERVICE_NOT_ACTIVATED, /**< channel status type -LINK OR PACKET SERVICE NOT ACTIVATED */
+       TEL_SAT_LINK_OR_PACKET_SERVICE_ACTIVATED /**< channel status type -LINK OR PACKET SERVICE ACTIVATED */
+} TelSatChannelStatusType;
+
+/**
+ * @enum TelSatChannelStatusInfoType
+ * This enumeration defines channel status info types
+*/
+typedef enum {
+       TEL_SAT_CHANNEL_STATUS_NO_FURTHER_INFO = 0x00, /**< channel status info type - NO FURTHER INFO */
+       TEL_SAT_CHANNEL_STATUS_LINK_DROPPED = 0x05 /**< channel status info type -LINK DROPPED */
+} TelSatChannelStatusInfoType;
+
+/**
+ * @enum TelSatAddressType
+ * This enumeration defines address types
+*/
+typedef enum {
+       TEL_SAT_ADDR_TYPE_IPv4 = 0x21, /**< address type - IPv4 */
+       TEL_SAT_ADDR_TYPE_IPv6 = 0x57, /**< address type - IPv6 */
+       TEL_SAT_ADDR_RESERVED = 0xFF /**< reserved */
+} TelSatAddressType;
+
+/**
+ * @enum TelSatTransportProtocolType
+ * This enumeration defines transport protocal types
+*/
+typedef enum {
+       TEL_SAT_TP_TYPE_UDP_UICC_CLIENT = 0x01, /**< transport protocol type- UDP UICC CLIENT */
+       TEL_SAT_TP_TYPE_TCP_UICC_CLIENT = 0x02, /**< transport protocol type-TCP UICC CLIENT */
+       TEL_SAT_TP_TYPE_TCP_UICC_SERVER = 0x03 /**< transport protocol type- TCP UICC SERVER    */
+} TelSatTransportProtocolType;
+
+/**
+ * @enum TelSatRemoteEntityAddrCodingType
+ * This enumeration defines remote entity address coding types
+*/
+typedef enum {
+       TEL_SAT_REMOTE_ENTITY_ADDR_CODING_TYPE_IEEE802_48BIT = 0, /**<  remote entity address coding type- IEEE802 48BIT */
+       TEL_SAT_REMOTE_ENTITY_ADDR_CODING_TYPE_IRDA_32BIT = 1, /**< remote entity address coding type- IRDA 32BIT */
+       TEL_SAT_REMOTE_ENTITY_ADDR_CODING_TYPE_RESERVED = 0xFF /**< reserved */
+} TelSatRemoteEntityAddrCodingType;
+
+/**
+ * @enum TelSatLanguageInfo
+ * This enumeration defines lists the language values.
+ */
+typedef enum {
+       TEL_SAT_LP_GERMAN = 0x00, /**< GERMAN */
+       TEL_SAT_LP_ENGLISH = 0x01, /**< ENGLISH */
+       TEL_SAT_LP_ITALIAN = 0x02, /**< ITALIAN */
+       TEL_SAT_LP_FRENCH = 0x03, /**< FRENCH */
+       TEL_SAT_LP_SPANISH = 0x04, /**< SPANISH */
+       TEL_SAT_LP_DUTCH = 0x05, /**<   DUTCH */
+       TEL_SAT_LP_SWEDISH = 0x06, /**< SWEDISH */
+       TEL_SAT_LP_DANISH = 0x07, /**<  DANISH  */
+       TEL_SAT_LP_PORTUGUESE = 0x08, /**< PORTUGUESE   */
+       TEL_SAT_LP_FINNISH = 0x09, /**< FINNISH */
+       TEL_SAT_LP_NORWEGIAN = 0x0A, /**< NORWEGIAN */
+       TEL_SAT_LP_GREEK = 0x0B, /**< GREEK */
+       TEL_SAT_LP_TURKISH = 0x0C, /**< TURKISH */
+       TEL_SAT_LP_HUNGARIAN = 0x0D, /**< HUNGARIAN */
+       TEL_SAT_LP_POLISH = 0x0E, /**<  POLISH  */
+       TEL_SAT_LP_LANG_UNSPECIFIED = 0x0F /**< LANGUAGE UNSPECIFIED */
+} TelSatLanguageInfo;
+
+/**
+ * @enum TelSatCmdQualifierLaunchBrowser
+ * This enumeration defines cmd qualifier for launch browser
+*/
+typedef enum {
+       TEL_SAT_LAUNCH_BROWSER_IF_NOT_ALREADY_LAUNCHED = 0, /**<        command qualifier for  LAUNCH BROWSER */
+       TEL_SAT_LAUNCH_BROWSER_NOT_USED = 1, /**< command qualifier for  NOT USED */
+       TEL_SAT_LAUNCH_BROWSER_USE_EXISTING_BROWSER = 2, /**< command qualifier for  USE EXISTING BROWSER if secure session, do not use it */
+       TEL_SAT_LAUNCH_BROWSER_CLOSE_AND_LAUNCH_NEW_BROWSER = 3, /**<   command qualifier for CLOSE AND LAUNCH NEW BROWSER      */
+       TEL_SAT_LAUNCH_BROWSER_NOT_USED2 = 4, /**< command qualifier for  NOT USED2 */
+       TEL_SAT_LAUNCH_BROWSER_RESERVED = 0xFF /**<     reserved        */
+} TelSatCmdQualifierLaunchBrowser;
+
+/**
+ * @enum TelSatCmdQualifierRefresh
+ * This enumeration defines cmd qualifier for refresh cmd
+*/
+typedef enum {
+       TEL_SAT_REFRESH_SIM_INIT_AND_FULL_FCN = 0, /**< command qualifier for REFRESH SIM INIT AND FULL FILE CHANGE_NOTIFICATION */
+       TEL_SAT_REFRESH_FCN = 1, /**<   command qualifier for REFRESH FILE CHANGE NOTIFICATION */
+       TEL_SAT_REFRESH_SIM_INIT_AND_FCN = 2, /**< command qualifier for REFRESH SIM INIT AND FILE CHANGE NOTIFICATION  */
+       TEL_SAT_REFRESH_SIM_INIT = 3, /**< command qualifier for REFRESH SIM INIT */
+       TEL_SAT_REFRESH_SIM_RESET = 4, /**< command qualifier for REFRESH SIM RESET */
+       TEL_SAT_REFRESH_3G_APPLICATION_RESET = 5, /**<  command qualifier for REFRESH 3G APPLICATION RESET */
+       TEL_SAT_REFRESH_3G_SESSION_RESET = 6, /**< command qualifier for REFRESH 3G SESSION RESET       */
+       TEL_SAT_REFRESH_RESERVED = 0xFF /**< command qualifier for REFRESH RESERVED */
+} TelSatCmdQualifierRefresh;
+
+/**
+ * @enum TelSatCmdQualifierProvideLocalInfo
+ * This enumeration defines cmd qualifier for local info
+*/
+typedef enum {
+       TEL_SAT_LOCAL_INFO_LOCATION = 0, /**< local info cmd qualifier -location */
+       TEL_SAT_LOCAL_INFO_IMEI = 1, /**< local info cmd qualifier -IMEI */
+       TEL_SAT_LOCAL_INFO_NMR = 2, /**< local info cmd qualifier -NMR */
+       TEL_SAT_LOCAL_INFO_DATE_TIME_AND_TIMEZONE = 3, /**< local info cmd qualifier -DATE TIME AND TIMEZONE */
+       TEL_SAT_LOCAL_INFO_LANGUAGE = 4, /**< local info cmd qualifier -LANGUAGE */
+       TEL_SAT_LOCAL_INFO_TIMING_ADVANCE = 5, /**< local info cmd qualifier -TIMING ADVANCE */
+       TEL_SAT_LOCAL_INFO_ACT = 6, /**< local info cmd qualifier -ACT */
+       TEL_SAT_LOCAL_INFO_ESN = 7, /**< local info cmd qualifier -ESN */
+       TEL_SAT_LOCAL_INFO_IMEISV = 8, /* *<local info cmd qualifier -IMEISV */
+       TEL_SAT_LOCAL_INFO_MEID = 0x0B, /**< local info cmd qualifier -MEID */
+       TEL_SAT_LOCAL_INFO_RESERVED = 0xFF /* local info cmd qualifier -RESERVED */
+} TelSatCmdQualifierProvideLocalInfo;
+
+/**
+ * @enum TelSatCmdQualifierSetupCall
+ * This enumeration defines cmd qualifier for setup call
+*/
+typedef enum {
+       TEL_SAT_SETUP_CALL_IF_ANOTHER_CALL_NOT_BUSY = 0x00, /**< command qualifier for SETUP CALL IF ANOTHER CALL NOT BUSY       */
+       TEL_SAT_SETUP_CALL_IF_ANOTHER_CALL_NOT_BUSY_WITH_REDIAL = 0x01, /**< command qualifier for SETUP CALL IF ANOTHER CALL NOT BUSY WITH REDIAL */
+       TEL_SAT_SETUP_CALL_PUT_ALL_OTHER_CALLS_ON_HOLD = 0x02, /**< command qualifier for SETUP CALL PUTTING ALL OTHER CALLS ON HOLD */
+       TEL_SAT_SETUP_CALL_PUT_ALL_OTHER_CALLS_ON_HOLD_WITH_REDIAL = 0x03, /**< command qualifier for SETUP CALL PUTTING ALL OTHER CALLS ON HOLD WITH REDIAL */
+       TEL_SAT_SETUP_CALL_DISCONN_ALL_OTHER_CALLS = 0x04, /**< command qualifier for SETUP CALL DISCONNECTING ALL OTHER CALLS */
+       TEL_SAT_SETUP_CALL_DISCONN_ALL_OTHER_CALLS_WITH_REDIAL = 0x05, /**< command qualifier for SETUP CALL DISCONNECTING ALL OTHER CALLS WITH REDIAL */
+       TEL_SAT_SETUP_CALL_RESERVED = 0xFF /**<  command qualifier for SETUP CALL RESERVED      */
+} TelSatCmdQualifierSetupCall;
+
+/**
+ * @enum TelSatCallCtrlProblemType
+ * This enumeration defines call control problem types
+*/
+typedef enum {
+       TEL_SAT_CC_PROBLEM_NO_SPECIFIC_CAUSE = 0, /**< Call Control problem with no specific cause */
+       TEL_SAT_CC_PROBLEM_ACTION_NOT_ALLOWED = 1, /**< Call Control problem with action not allowed */
+       TEL_SAT_CC_PROBLEM_REQUEST_TYPE_HAS_CHANGED = 2 /**< Call Control problem with request type has changed */
+} TelSatCallCtrlProblemType;
+
+/**
+ * @enum TelSatLaunchBrowserProblemType
+ * This enumeration defines launch browser problem types
+*/
+typedef enum {
+       TEL_SAT_BROWSER_PROBLEM_NO_SPECIFIC_CAUSE = 0, /**<     Browser problem with no specific cause */
+       TEL_SAT_BROWSER_PROBLEM_BEARER_UNAVAILABLE = 1, /**< Browser problem with bearer unavailable */
+       TEL_SAT_BROWSER_PROBLEM_BROWSER_UNAVAILABLE = 2, /**<   Browser problem with browser unavailable */
+       TEL_SAT_BROWSER_PRBLM_ME_UNABLE_TO_READ_PROV_DATA = 3 /**< Browser problem with ME unable to read provisioning data */
+} TelSatLaunchBrowserProblemType;
+
+/**
+ * @enum TelSatBrowserTerminationCauseType
+ * This enumeration defines browser termination cause types
+*/
+typedef enum {
+       TEL_SAT_BROWSER_TERMINATED_BY_USER = 0, /**<    BROWSER TERMINATED BY USER */
+       TEL_SAT_BROWSER_TERMINATED_BY_ERROR = 1, /**< BROWSER TERMINATED BY ERROR */
+} TelSatBrowserTerminationCauseType;
+
+/**
+ * This structure defines Result data object.
+ */
+typedef struct {
+       TelSatResultType general_result; /**< general result */
+       TelSatMeProblemType me_problem; /**< additional information on general result */
+} TelSatResultInfo;
+
+/**
+ * This structure defines expected user response length.
+ */
+typedef struct {
+       unsigned char min; /**< user response length minimum value */
+       unsigned char max; /**< user response length maximum value */
+} TelSatRespLenInfo;
+
+/**
+* This structure defines Address Info
+*/
+typedef struct {
+       TelSatTypeOfNum ton; /**< type of number */
+       TelSatNumberingPlanIdentity npi; /**< numbering plan identity */
+       unsigned int dialing_number_len; /**< Dialing Number length */
+       char dialing_number[TEL_SAT_DIALING_NUMBER_LEN_MAX]; /**< Dialing Number */
+} TelSatAddressInfo;
+
+/**
+* This structure defines Data Coding Scheme Info
+*/
+typedef struct {
+       gboolean is_compressed_format;          /**< if FALSE, unpacked format */
+       TelSatAlphabetFormatType a_format; /**< Alphabet format type */
+       TelSatMsgClassType m_class; /**< msg class type */
+       unsigned char raw_dcs; /**< raw dcs data */
+} TelSatDataCodingSchemeInfo;
+
+/**
+* This structure defines Alpha identifier Info
+*/
+typedef struct {
+       gboolean is_exist; /**< identifier check */
+       TelSatDataCodingSchemeInfo dcs; /**< data coding scheme */
+       unsigned char alpha_data_len; /**< alpha identifier length */
+       char alpha_data[TEL_SAT_ALPHA_ID_LEN_MAX]; /**< alpha identifier info */
+} TelSatAlphaIdentifierInfo;
+
+/**
+* This structure defines the Sub Address data object.
+*/
+typedef struct {
+       unsigned int subaddress_len; /**< sub address length */
+       char subaddress[TEL_SAT_SUB_ADDR_LEN_MAX]; /**< sub address data */
+} TelSatSubAddressInfo;
+
+/**
+* This structure defines Capability configuration parameters Info
+*/
+typedef struct {
+       unsigned int data_len; /**< ccp info data length */
+       char data[TEL_SAT_CCP_DATA_LEN_MAX]; /**< ccp info data */
+} TelSatCcpInfo;
+
+/**
+* This structure defines device identities tag Info
+*/
+typedef struct {
+       TelSatDeviceIdentitiesTagType src; /**< src device identities tag type */
+       TelSatDeviceIdentitiesTagType dest; /**< dest device identities tag type */
+} TelSatDeviceIdentitiesInfo;
+
+/**
+* This structure defines duration Info
+*/
+typedef struct {
+       TelSatTimeUnitType time_unit;  /**< duration info -time unit type */
+       unsigned char time_interval; /**< duration info -time interval type */
+} TelSatDurationInfo;
+
+/**
+* This structure defines menu item Info
+*/
+typedef struct {
+       unsigned char item_id; /**< menu item info -item id */
+       unsigned char text_len; /**< menu item info -text len */
+       unsigned char text[TEL_SAT_ITEM_TEXT_LEN_MAX + 1]; /**< menu item info -text */
+} TelSatMenuItemInfo;
+
+/**
+* This structure defines Response length Info
+*/
+typedef struct {
+       unsigned char min; /**< min Response length */
+       unsigned char max; /**< max Response length */
+} TelSatResponseLength;
+
+/**
+* This structure defines SMS TPDU Info
+*/
+typedef struct {
+       TelSatSmsTpduType tpdu_type;  /**< SMS TPDU info -tpdu type */
+       unsigned int data_len; /**< SMS TPDU info -data len */
+       char data[TEL_SAT_SMS_TPDU_SMS_DATA_LEN_MAX]; /**< SMS TPDU info -data */
+} TelSatSmsTpduInfo;
+
+/**
+* This structure defines SS string Info
+*/
+typedef struct {
+       TelSatTypeOfNum ton; /**< SS string info -type of number */
+       TelSatNumberingPlanIdentity npi; /**< SS string info -numbering plan identity */
+       unsigned char string_len; /**< SS string length */
+       char ss_string[TEL_SAT_SS_STRING_LEN_MAX];      /**< SS string */
+} TelSatSsStringInfo;
+
+/**
+* This structure defines Text string Info
+*/
+typedef struct {
+       gboolean is_digit_only; /**< text type is digit check */
+       TelSatDataCodingSchemeInfo dcs; /**< text data coding scheme */
+       unsigned int string_length; /**< text string length */
+       char string[TEL_SAT_TEXT_STRING_LEN_MAX+1]; /**< text string */
+} TelSatTextTypeInfo;
+
+/**
+* This structure defines USSD string Info
+*/
+typedef struct {
+       TelSatDataCodingSchemeInfo dsc; /**< USSD string data coding scheme */
+       unsigned char string_len; /**< USSD string length */
+       char ussd_string[TEL_SAT_USSD_STRING_LEN_MAX]; /**< USSD string */
+} TelSatUssdStringInfo;
+
+/**
+* This structure defines File List Info
+*/
+typedef struct {
+       int file_count; /**< file count */
+       int file_id[TEL_SAT_FILE_ID_LIST_MAX_COUNT]; /**< file id */
+} TelSatFileListInfo;
+
+/**
+* This structure defines Location information Info
+*/
+typedef struct {
+       char mcc[3+1]; /**< MCC */
+       char mnc[3+1]; /**< MNC */
+       char lac [4+1]; /**< LAC */
+       char cell_id[4+1]; /**< cell id */
+       char extended_cell_id[4+1]; /**< extended cell id */
+} TelSatLocationInformationInfo;
+
+/**
+* This structure defines Items next action indicator List Info
+*/
+typedef struct {
+       unsigned char cnt; /**< next action indicator items count */
+       unsigned char indicator_list[TEL_SAT_ITEMS_NEXT_ACTION_INDI_LIST_MAX_COUNT]; /**< next action indicator items list */
+} TelSatItemsNextActionIndiListInfo;
+
+/**
+* This structure defines Event List Info
+*/
+typedef struct {
+       int event_list_cnt; /**< event list count */
+       TelSatEventListType evt_list[TEL_SAT_EVENT_LIST_MAX]; /**< event list type */
+} TelSatEventListInfo;
+
+/**
+ * This structure defines call control strings.
+ */
+typedef struct {
+       TelSatCallCtrlStringType call_ctrl_string_type; /**< call control type  */
+       union {
+               TelSatAddressInfo voice_string; /**< voice call string */
+               TelSatSsStringInfo ss_string; /**< ss string */
+               TelSatUssdStringInfo ussd_string; /**< ussd string */
+       } call_ctrl_data; /**< call ctrl data Union */
+} TelSatCallCtrlAddressStringInfo;
+
+/**
+* This structure defines Call control requested action Info
+*/
+typedef struct {
+       TelSatCallCtrlAddressStringInfo call_ctrl_add_string; /**< Call control address string info */
+       TelSatCcpInfo ccp1; /**< Call control CCP info */
+       TelSatSubAddressInfo sub_address; /**< Call control sub address info */
+       TelSatAlphaIdentifierInfo alpha_id; /**< Call control alpha identifier info */
+       TelSatBcRepeatIndicatorType bc_repeat_type; /**< Call control bc repeat indicator type info */
+       TelSatCcpInfo ccp2; /**< Call control CCP info */
+} TelSatCallCtrlRequestedActionInfo;
+
+/**
+* This structure defines Item icon Info
+*/
+typedef struct {
+       unsigned char width; /**< icon info -width */
+       unsigned char height;  /**< icon info -height */
+       TelSatImageCodingSchemeType ics; /**< icon info -image coding scheme */
+       unsigned short icon_data_len; /**< icon info -data len */
+       unsigned short clut_data_len; /**< icon info -CLUT data len */
+       char icon_file[TEL_SAT_IMG_DATA_FILE_PATH_LEN_MAX]; /**< icon info -image data file data */
+       char clut_file[TEL_SAT_IMG_DATA_FILE_PATH_LEN_MAX]; /**< icon info -clut file data */
+} TelSatIconInfo;
+
+/**
+* This structure defines Item icon identifier Info
+*/
+typedef struct {
+       gboolean is_exist; /**< icon identifier check */
+       TelSatIconQualifierType icon_qualifer; /**< icon qualifer type */
+       unsigned char icon_identifier; /**< icon identifier data */
+       TelSatIconInfo icon_info; /**< icon info data */
+} TelSatIconIdentifierInfo;
+
+/**
+* This structure defines Item icon identifier list Info
+*/
+typedef struct {
+       gboolean is_exist; /**< icon identifier list present check */
+       TelSatIconQualifierType icon_qualifer; /**< icon qualifer type */
+       unsigned char icon_cnt; /**< icon count */
+       unsigned char icon_id_list[TEL_SAT_ICON_LIST_MAX_COUNT]; /**< icon id list data */
+       TelSatIconInfo icon_info[TEL_SAT_ICON_LIST_MAX_COUNT]; /**< icon info data */
+} TelSatIconIdentifierListInfo;
+
+/**
+* This structure defines date, time and timezone Info
+*/
+typedef struct {
+       unsigned char year; /**< year */
+       unsigned char month; /**<       month */
+       unsigned char day; /**< day */
+       unsigned char hour; /**< hour */
+       unsigned char minute; /**< minute */
+       unsigned char second; /**< second */
+       unsigned char time_zone; /**< timeZone  */
+} TelSatDateTimeZoneInfo;
+
+/**
+* This structure defines Dtmf String Info
+*/
+typedef struct {
+       unsigned int dtmf_length; /**< DTMF string length */
+       char dtmf_string[TEL_SAT_DTMF_STRING_LEN_MAX]; /**< DTMF string */
+} TelSatDtmfStringInfo;
+
+/**
+ * 8.48 URL
+ * URL shall be coded as defined in RFC 1738 on using the "SMS 7bit default alphabet" with bit 8 set to 0.
+ */
+typedef struct {
+       unsigned int url_length; /**< URL length */
+       char url[TEL_SAT_URL_LEN_MAX]; /**< URL data */
+} TelSatUrlInfo;
+
+/**
+* This structure defines Bearer List Info
+*/
+typedef struct {
+       int count; /**< Bearer List count */
+       TelSatBearerListType bear[6]; /**< Bearer List type */
+} TelSatBearerList;
+
+/**
+* This structure defines Provisioning file Info
+*/
+typedef struct {
+       unsigned int file_path_length; /**< Provisioning file path length */
+       char file_path[TEL_SAT_PROVISIONING_FILE_PATH_LEN_MAX]; /**< Provisioning file path data */
+} TelSatProvisioningFileRef;
+
+/**
+* This structure defines channel data Info
+*/
+typedef struct {
+       unsigned char data_string_len; /**< channel data string length */
+       char    data_string[TEL_SAT_CHANNEL_DATA_STRING_LEN_MAX]; /**< channel data string */
+} TelSatChannelDataInfo;
+
+/**
+* This structure defines Channel Status Info
+*/
+typedef struct {
+       unsigned char channel_id; /**< channel id */
+       TelSatChannelStatusType status; /**< channel Status Type */
+       TelSatChannelStatusInfoType status_info; /**< channel Status info Type */
+} TelSatChannelStatusInfo;
+
+/**
+* This structure defines Other Address Info
+*/
+typedef struct {
+       TelSatAddressType address_type; /**< channel address type */
+       unsigned char address_len; /**< channel address length */
+       char address[TEL_SAT_OTHER_ADDR_LEN_MAX]; /**< channel address */
+} TelSatOtherAddressInfo;
+
+/**
+* This structure defines Me Interface Transport Level Info
+*/
+typedef struct {
+       TelSatTransportProtocolType protocol_type; /**< Transport Protocol Type */
+       unsigned short port_number; /**< Transport Protocol port number */
+} TelSatSimMeInterfaceTransportLevelInfo;
+
+/**
+* This structure defines Remote Entity Address info
+*/
+typedef struct {
+       TelSatRemoteEntityAddrCodingType coding_type; /**< Remote Entity Addr Coding Type */
+       unsigned short length;  /**< Remote Entity Addr length */
+       unsigned char remote_entity_address[TEL_SAT_REMOTE_ENTITY_ADDR_LEN_MAX]; /**< Remote Entity Addr data */
+} TelSatRemoteEntityAddressInfo;
+
+/**
+* This structure defines Network access name info
+*/
+typedef struct {
+       unsigned short length; /**< Network access name length */
+       unsigned char network_access_name[TEL_SAT_NET_ACC_NAM_LEN_MAX]; /**< Network access name data */
+} TelSatNetworkAccessNameInfo;
+
+/**
+* This structure defines Item text attribute list
+*/
+typedef struct {
+       unsigned int list_cnt; /**< text attribute list count */
+       unsigned char text_attribute_list[TEL_SAT_ITEM_TEXT_ATTRIBUTES_LIST_MAX_COUNT]; /**< text attribute list data */
+} TelSatTextAttributeListInfo;
+
+
+/**
+ * This structure defines the call control result ind data.
+ */
+typedef struct {
+       TelSatCallControlResult cc_result; /**< Call Control Result */
+
+       TelSatAddressInfo address; /**< Address Info */
+       TelSatSsStringInfo ss_string; /**< Ss String Info  */
+
+       TelSatCcpInfo ccp1; /**< Ccp Info */
+       TelSatSubAddressInfo sub_address; /**< Sub Address Info */
+       TelSatAlphaIdentifierInfo alpha_id; /**< alpha id */
+       TelSatBcRepeatIndicatorType bc_repeat_type; /**< Bc Repeat Indicator Type */
+       TelSatCcpInfo ccp2; /**< Ccp Info */
+} TelSatNotiCallControlResultInd;
+
+/**
+ * This structure defines the mo sms control result ind data.
+ */
+typedef struct {
+       TelSatCallControlResult cc_result; /**< Call Control Result */
+
+       TelSatAddressInfo rp_dst_address; /**< Address Info */
+       TelSatAddressInfo tp_dst_address; /**< Address Info */
+       TelSatAlphaIdentifierInfo alpha_id; /**< Alpha Identifier Info */
+} TelSatNotiMoSmControlResultInd;
+
+/**
+ * This structure defines the user confirmation data.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       TelSatProactiveCmdType command_type; /**< Proactive Command Type */
+       TelSatUiUserConfirmType key_type; /**< User Response Type */
+       unsigned char* additional_data; /**< Additional Data */
+       unsigned int data_len; /**< Additional Data Length */
+} TelSatUiUserConfirmInfo;
+
+/**
+ * This structure defines the character data for sat engine data structure.
+ */
+typedef struct
+{
+       unsigned short string_len;      /**< character data length */
+       unsigned char string[TEL_SAT_DEF_TEXT_STRING_LEN_MAX+1]; /**< character data */
+} TelSatTextInfo;
+
+/**
+ * This structure defines the main menu title to check sat menu.
+ */
+typedef struct
+{
+       gboolean is_main_menu_present; /**<flag to check sat main menu existence */
+       TelSatTextInfo main_menu_title; /**< main menu title data */
+} TelSatMainMenuTitleInfo;
+
+/**
+ * This structure defines the display text proactive command for sat ui.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       TelSatTextInfo text; /**< character data to display on screen */
+       unsigned int duration; /**< the duration of display */
+       gboolean is_priority_high;       /**< indicates whether the text is to be displayed if some other app is using the screen */
+       gboolean is_user_resp_required; /**< indicates whether user response required or Not */
+       gboolean immediately_resp; /**< indicates whether response is immediate or not */
+       TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
+} TelSatDisplayTextInd;
+
+/**
+ * This structure defines the get inkey proactive command data for sat ui.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       TelSatInkeyType key_type; /**< input Type:Character Set or Yes/No */
+       TelSatUseInputAlphabetType input_char_mode; /**< input character mode(SMS default, UCS2) */
+       gboolean is_numeric;    /**< is input character numeric(0-9, *, # and +) */
+       gboolean is_help_info_available; /**< help info request flag */
+       TelSatTextInfo text; /**< character data to display on screen */
+       unsigned int duration;   /**< the duration of display */
+       TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
+} TelSatGetInkeyInd;
+
+/**
+ * This structure defines the get input proactive command data for sat ui.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       TelSatUseInputAlphabetType input_char_mode; /**< input character mode(SMS default, UCS2) */
+       gboolean is_numeric;    /**< is input character numeric(0-9, *, # and +) */
+       gboolean is_help_info_available; /**< flag for help info request */
+       gboolean is_echo_input; /**< indicates whether to show input data on screen or not */
+       TelSatTextInfo text; /**< character data to display on screen */
+       TelSatRespLenInfo resp_len; /**< input data min, max length */
+       TelSatTextInfo default_text; /**< default input character data */
+       TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
+} TelSatGetInputInd;
+
+/**
+ * This structure defines the play tone proactive command data for application.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       TelSatTextInfo text; /**< character data to display on screen */
+       TelSatToneType tone; /**< tone info */
+       unsigned int duration; /**< the duration for playing tone */
+       TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
+} TelSatPlayToneInd;
+
+/**
+ * This structure defines the data for sat ui.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       int user_confirm; /**< user confirmation */
+       TelSatTextInfo text; /**< character data to display on screen */
+       TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
+} TelSatSendUiInfo;
+
+/**
+ * This structure defines the menu item info for setup menu.
+ */
+typedef struct
+{
+       char item_string[TEL_SAT_DEF_ITEM_STR_LEN_MAX + 6]; /**< menu item character data */
+       char item_id; /**< identifies the item on the menu that user selected */
+} TelSatMenuInfo;
+
+/**
+ * This structure defines the sat main menu info.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       gboolean is_main_menu_present; /**< is main menu present check */
+       char sat_main_title[TEL_SAT_DEF_TITLE_LEN_MAX + 1]; /**< menu title text */
+       unsigned short sat_main_menu_item_count; /**< number of menu items */
+       TelSatMenuInfo sat_main_menu_item[TEL_SAT_MENU_ITEM_COUNT_MAX]; /**< menu items */
+       gboolean is_sat_main_menu_help_info; /**< flag for help information request */
+       gboolean is_updated_sat_main_menu; /**< check whether sat_main_menu is updated or not */
+       TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
+       TelSatIconIdentifierListInfo icon_id_list; /**< List of Icon Identifiers */
+} TelSatSetupMenuInfo;
+
+/**
+ * This structure defines the select item proactive command data for sat ui.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       gboolean is_help_info_available; /**< flag for help information request */
+       TelSatTextInfo text; /**< menu title text */
+       char default_item_index; /**< selected default item - default value is 0 */
+       char menu_item_count; /**< number of menu items */
+       TelSatMenuItemInfo menu_item[TEL_SAT_MENU_ITEM_COUNT_MAX]; /**< menu items */
+       TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
+       TelSatIconIdentifierListInfo icon_id_list; /**< List of Icon Identifiers */
+}TelSatSelectItemInd;
+
+/**
+ * This structure defines the setup idle mode text proactive command for idle application.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       TelSatTextInfo text; /**< character data to display on screen */
+       TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
+} TelSatSetupIdleModeTextInd;
+
+/**
+ * This structure defines the refresh proactive command data for sat ui.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       unsigned int duration; /**< the duration of display */
+       TelSatCmdQualifierRefresh       refresh_type; /**< refresh mode */
+} TelSatRefreshIndUiInfo;
+
+/**
+ * This structure defines the refresh proactive command data for applications which are concerned with files resident on USIM .
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       TelSatRefreshAppType     app_type; /**< concerned application type */
+       TelSatCmdQualifierRefresh       refresh_mode; /**< refresh mode */
+       unsigned char file_count; /**< refresh file count */
+       int file_id[TEL_SAT_REFRESH_FILE_LIST]; /**< refresh file identifier */
+} TelSatRefreshInd;
+
+/**
+ * This structure defines the data objects to indicate to sat ui, the end of execution of a specific proactive command by other application.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       char command_type;      /**< Command Type */
+       gboolean result; /**< result of command execution by application */
+} TelSatProactiveCmdEndIndInfo;
+
+/**
+ * This structure defines the send sms proactive command data for sms application.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       gboolean is_packing_required; /**< flag to check if packing required for sms tpdu */
+       TelSatAddressInfo address; /**< destination address */
+       TelSatSmsTpduInfo sms_tpdu; /**< SMS TPDU data */
+} TelSatSendSmsIndSmsData;
+
+/**
+ * This structure defines the send ss proactive command data for ss application.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       unsigned short ss_string_len; /**< SS string data length */
+       unsigned char ss_string[TEL_SAT_DEF_SS_LEN_MAX+1]; /**< SS string data */
+} TelSatSendSsIndSsData;
+
+/**
+ * This structure defines the send ussd proactive command data for ussd application.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       unsigned char raw_dcs; /**< data coding scheme */
+       unsigned short ussd_string_len; /**< USSD string data length */
+       unsigned char ussd_string[TEL_SAT_DEF_USSD_LEN_MAX+1]; /**< USSD string data */
+} TelSatSendUssdIndUssdData;
+
+/**
+ * This structure defines the send dtmf proactive command data for dtmf application.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       gboolean is_hidden_mode; /**< hidden mode flag */
+       TelSatTextInfo dtmf_string; /**< dtmf string data */
+} TelSatSendDtmfIndDtmfData;
+
+/**
+ * This structure defines the setup call proactive command data for call application.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       TelSatCmdQualifierSetupCall call_type; /**< call type */
+       TelSatTextInfo disp_text; /**< display data for calling */
+       TelSatTextInfo call_number; /**< call number */
+       unsigned int duration; /**< maximum repeat duration */
+       TelSatIconIdentifierInfo icon_id; /**< icon identifier for call application */
+} TelSatSetupCallIndCallData;
+
+/**
+ * This structure defines the launch browser proactive command data for browser application.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       char url[TEL_SAT_URL_LEN_MAX + 1]; /**< url to connect */
+       TelSatCmdQualifierLaunchBrowser launch_type; /**< launch type */
+       TelSatBrowserIdentityType identity_type; /**< Browser Identity -default, html, etc */
+} TelSatLaunchBrowserIndBrowserData;
+
+/**
+ * This structure defines the provide local info proactive command data for application.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       TelSatCmdQualifierProvideLocalInfo local_info_type; /**< Provide Local Information Type */
+} TelSatProvideLocalInfoInd;
+
+/**
+ * This structure defines the language notification proactive command data for application.
+ */
+typedef struct
+{
+       int command_id; /**< Proactive Command Number sent by USIM */
+       gboolean specific_language_notification;  /**< flag for checking specific language notification. if FALSE, non-specific language notification */
+       TelSatLanguageInfo language; /**< language info from USIM application */
+} TelSatLanguageNotiInfoInd;
+
+/**
+ * This structure defines the return result data for refresh proactive command.
+ */
+typedef struct
+{
+       TelSatRefreshAppType     app_type; /**< application type */
+       TelSatResultType resp; /**< result response value */
+} TelSatRefreshRetInfo;
+
+/**
+ * This structure defines the return result data for setup call proactive command.
+ */
+typedef struct
+{
+       TelSatResultType resp; /**< result response value */
+       gboolean is_tapi_cause_exist; /**< flag for checking tapi error cause */
+       TelCallResult call_cause; /**< call error(result) cause */
+       TelSsResult ss_cause; /**< ss error(result) cause */
+       TelSatMeProblemType me_problem; /**< me problem error cause */
+       gboolean is_other_info_exist; /**< call control result existence flag */
+       TelSatCallCtrlProblemType permanent_call_ctrl_problem; /**< call control problem type */
+       TelSatCallCtrlRequestedActionInfo call_ctrl_requested_action; /**< call control request data */
+       TelSatResultInfo result2; /**< call control envelope result value */
+       TelSatTextTypeInfo text; /**< call control envelope display data */
+} TelSatCallRetInfo;
+
+/**
+ * This structure defines the return result data for send ss proactive command.
+ */
+typedef struct
+{
+       TelSatResultType resp; /**< result response value */
+       TelSsResult ss_cause; /**< ss error(result) cause */
+       TelSatTextInfo ss_string; /**< ss result string */
+       TelSatMeProblemType me_problem; /**< error - me problem */
+       gboolean is_other_info_exist; /**< call control result exist flag */
+       TelSatCallCtrlProblemType additional_call_ctrl_problem_info; /**< call control problem */
+       TelSatCallCtrlRequestedActionInfo call_ctrl_requested_action; /**< call control request data */
+       TelSatResultInfo result2; /**< call control envelope result value */
+} TelSatSsRetInfo;
+
+/**
+ * This structure defines the return result data for send ussd proactive command.
+ */
+typedef struct
+{
+       TelSatResultType resp; /**< result response value */
+       TelSsResult ss_cause; /**< ss error(result) cause */
+       TelSatTextInfo ussd_string; /**< ussd result string */
+       TelSatDataCodingSchemeInfo dcs_ussd_string; /**< dcs of ussd result string */
+       TelSatMeProblemType me_problem; /**< error - me problem */
+       gboolean is_other_info_exist; /**< call control result exist flag */
+       TelSatCallCtrlProblemType additional_call_ctrl_problem_info; /**< call control problem */
+       gboolean is_call_ctrl_has_modification; /**< call control request modification flag */
+       TelSatCallCtrlRequestedActionInfo call_ctrl_requested_action; /**< call control request data */
+       TelSatResultInfo result2; /**< call control envelope result value */
+       TelSatTextTypeInfo text2; /**< cc envelope display data */
+} TelSatUssdRetInfo;
+
+/**
+ * This structure defines the return result data for launch browser proactive command.
+ */
+typedef struct
+{
+       TelSatResultType resp; /**< result response value */
+       TelSatLaunchBrowserProblemType browser_problem; /**< specific browser problem */
+} TelSatBrowserRetInfo;
+
+/**
+ * This structure defines the return result data for setup idle mode text proactive command.
+ */
+typedef struct
+{
+       TelSatResultType resp; /**< result response value */
+       gboolean other_info; /**< flag to check whether other information are required or not */
+       TelSatCmdQualifierProvideLocalInfo      info_type; /**< local info type - e.g. time zone or language info, etc */
+       union
+       {
+               TelSatDateTimeZoneInfo time_zone_info; /**< current time zone info */
+               TelSatLanguageInfo language_info; /**< current ME language setting info */
+       }local_info; /**< Union */
+} TelSatProvideLocalRetInfo;
+
+/**
+ * This structure defines the return result data for setup idle mode text proactive command.
+ */
+typedef struct
+{
+       TelSatResultType resp; /**< result response value */
+       TelSatMeProblemType      me_problem; /**< Me Problem Type */
+} TelSatDiplayTextRetInfo;
+
+/**
+ * This structure defines the common return result data for applications proactive command.
+ */
+typedef struct
+{
+       TelSatProactiveCmdType command_type; /**< Proactive Command type */
+       int command_id; /**< Proactive Command Number sent by USIM */
+       union
+               {
+                       TelSatResultType setup_menu_resp; /**< result response value for setup menu */
+                       TelSatRefreshRetInfo refresh; /**< result response value for refresh */
+                       TelSatCallRetInfo setup_call; /**< result response value for setup call */
+                       TelSatSsRetInfo send_ss; /**< result response value for send ss */
+                       TelSatUssdRetInfo send_ussd; /**< result response value for send ussd */
+                       TelSatResultType send_sms_resp; /**< result response value for send sms */
+                       TelSatResultType send_dtmf_resp; /**< result response value for send dtmf */
+                       TelSatBrowserRetInfo launch_browser; /**< result response value for launch browser */
+                       TelSatResultType setup_idle_mode_text_resp; /**< result response value for setup idle mode text */
+                       TelSatResultType language_noti_resp; /**< result response value for language notification */
+                       TelSatProvideLocalRetInfo provide_local_info; /**< result response value for provide local info */
+                       TelSatDiplayTextRetInfo display_text; /**< result response value for dsiplay text */
+                       TelSatResultType play_tone_resp; /**< result response value for play tone */
+               }apps_ret; /**< common union result value */
+}TelSatAppsRetInfo;
+
+/**
+ * This structure defines the call control confirm data for call.
+ */
+typedef struct
+{
+       TelSatTextInfo address; /**< call destination address */
+       TelSatTextInfo sub_address; /**< call SUB address */
+       TelSatBcRepeatIndicatorType bc_repeat_indicator; /**< bc repeat indicator*/
+       TelSatTextInfo ccp1; /**< Configuration Capability Parameter 1*/
+       TelSatTextInfo ccp2; /**< Configuration Capability Parameter 2*/
+} TelSatCallCtrlIndCallData;
+
+/**
+ * This structure defines the call control confirm data for ss.
+ */
+typedef struct
+{
+       TelSatTextInfo ss_string; /**< ss destination address */
+       TelSatTextInfo sub_address; /**< call SUB address */
+       TelSatBcRepeatIndicatorType bc_repeat_indicator; /**< bc repeat indicator */
+       TelSatTextInfo ccp1; /**< Configuration Capability Parameter 1 */
+       TelSatTextInfo ccp2; /**< Configuration Capability Parameter 2 */
+} TelSatCallCtrlIndSsData;
+
+/**
+ * This structure defines the common call control confirm data.
+ */
+typedef struct
+{
+       TelSatCallType call_ctrl_cnf_type; /**< call control confirm type - call, ss or ussd */
+       TelSatCallCtrlResultType call_ctrl_result; /**< call control result */
+       TelSatTextInfo disp_data; /**< call control display data */
+       gboolean is_user_info_display_enabled; /**< flag for checking existence of call control display */
+
+       union
+               {
+                       TelSatCallCtrlIndCallData call_ctrl_cnf_call_data; /**< call control call address */
+                       TelSatCallCtrlIndSsData call_ctrl_cnf_ss_data; /**< call control ss string */
+                       TelSatTextInfo call_ctrl_cnf_ussd_data; /**< call control ussd string */
+               }call_ctrl_data; /**< Union */
+} TelSatCallCtrlIndData;
+
+/**
+ * This structure defines the mo sms control confirm data.
+ */
+typedef struct
+{
+       TelSatCallCtrlResultType mo_sms_ctrl_result; /**< envelope result */
+       gboolean is_user_info_display_enabled; /**< display present flag */
+       TelSatTextTypeInfo disp_data; /**< display data for sending SMS */
+       TelSatTextTypeInfo rp_dest_addr; /**< the RP_Destination_Address of the Service Center */
+       TelSatTextTypeInfo tp_dest_addr; /**< the TP_Destination_Address */
+} TelSatMoSmCtrlIndData;
+
+/**
+ * This structure defines the Event List Info.
+ */
+typedef struct
+{
+       gboolean is_event_download_active; /**< Is Event Download Active */
+       gboolean is_mt_call_event; /**< Is Mt Call Event */
+       gboolean is_call_connected; /**< Is Call Connected */
+       gboolean is_call_disconnected; /**< Is Call Disconnected */
+       gboolean is_location_status; /**< Is Location Status */
+       gboolean is_user_activity;      /**< Is User Activity */
+       gboolean is_idle_screen_available;      /**< Is Idle Screen Available */
+       gboolean is_card_reader_status; /**< Is Card Reader Status */
+       gboolean is_language_selection; /**< Is Language Selection */
+       gboolean is_browser_termination;        /**< Is Browser Termination */
+       gboolean is_data_available; /**< Is Data Available */
+       gboolean is_channel_status; /**< Is Channel Status */
+} TelSatEventListData;
+
+/**
+ * This structure contains the data objects for MENU SELECTION envelope.
+ */
+typedef struct
+{
+       unsigned char item_identifier; /**< menu selection item identifier */
+       gboolean is_help_requested; /**< flag to check whether help information required or not */
+} TelSatMenuSelectionReqInfo;
+
+/**
+ * This struct contains the data objects for Call Control result data sent by USIM.
+ */
+typedef struct
+{
+       TelSatAddressInfo address; /**< call number */
+       TelSatSubAddressInfo sub_address; /**< call number sub address */
+       TelSatBcRepeatIndicatorType bc_repeat_indicator; /**< bc repeat indicator */
+       TelSatCcpInfo ccp1; /**< capability configuration parameter1 */
+       TelSatCcpInfo ccp2; /**< capability configuration parameter2 */
+}TelSatVoiceCallCtrlIndInfo;
+
+/**
+ * This struct contains SAT ss control result data sent by USIM.
+ */
+typedef struct
+{
+       TelSatSsStringInfo ss_string; /**< ss number */
+       TelSatSubAddressInfo sub_address; /**< ss sub address */
+       TelSatBcRepeatIndicatorType bc_repeat_indicator; /**< bc repeat indicator */
+       TelSatCcpInfo ccp1; /**< capability configuration parameter1 */
+       TelSatCcpInfo ccp2; /**< capability configuration parameter2 */
+}TelSatSsCtrlIndInfo;
+
+/**
+ * This struct contains SAT mo SMS control configuration data
+ */
+typedef struct
+{
+       TelSatAddressInfo rp_dest_address; /**< sms control rp destination address */
+       TelSatAddressInfo       tp_dest_address; /**<    sms control tp destination address */
+} TelSatMoSmsCtrlIndInfo;
+
+/**
+ * This struct contains SAT call control configuration data
+ */
+typedef struct
+{
+       TelSatCallType call_type; /**< call type */
+       TelSatCallCtrlResultType call_ctrl_result; /**< call control result     */
+       TelSatAlphaIdentifierInfo alpha_identifier; /**< alpha identifier */
+       unsigned char call_id; /**< call id */
+       TelSatCallType old_call_type; /**< old call type */
+       union
+       {
+               TelSatVoiceCallCtrlIndInfo      voice_call_data; /**< voice call control data */
+               TelSatSsCtrlIndInfo ss_data; /**< ss control data */
+               TelSatMoSmsCtrlIndInfo sms_data; /**< Mo Sms Ctrl Ind Info */
+       }call_ctrl_data; /**< Union */
+} TelSatCallCtrlIndInfo;
+
+/**
+ * This struct contains SAT mo ss control request data
+ */
+ typedef struct
+{
+       TelSatCallCtrlResultType call_ctrl_result; /**< call control result     */
+       TelSatAlphaIdentifierInfo alpha_identifier; /**< alpha identifier */
+       TelSatMoSmsCtrlIndInfo sms_data;        /**< sms control data */
+}TelSatMoSMCtrlResult;
+
+/**
+ * This struct contains SAT user activity event request data
+ */
+typedef struct
+{
+       TelSatEventListInfo event_list; /**< event List  */
+       TelSatDeviceIdentitiesInfo device_identities;   /**<    device identities info */
+
+} TelSatUserActivityEventReqInfo;
+
+/**
+ * This struct contains SAT data available event request data
+ */
+typedef struct
+{
+       TelSatEventListInfo event_list; /**< event List  */
+       TelSatDeviceIdentitiesInfo device_identities;   /**<    device identities info */
+       TelSatChannelStatusInfo channel_status; /**< channel status */
+       unsigned char channel_data_len; /**< channel data length */
+
+} TelSatDataAvailableEventReqInfo;
+
+/**
+ * This struct contains SAT channel status even request data
+ */
+typedef struct
+{
+       TelSatEventListInfo event_list; /**< event list */
+       TelSatDeviceIdentitiesInfo device_identities;   /**<    device identities info */
+       TelSatChannelStatusInfo channel_status; /**< channel Status */
+} TelSatChannelStatusEventReqInfo;
+
+/**
+ * This is the structure to be used by the Application to send envelope/event download data.
+ * This contains the data structures to be used to send any envelope/event download data.
+ */
+typedef struct
+{
+       TelSatEventListType event_download_type; /**< eventDownload Type */
+       union
+       {
+               gboolean is_idle_screen_available; /**< flag to specify whether Idle Screen is Available or not */
+               TelSatLanguageInfo language_selection_event_req_info; /**< Selected Language Information */
+               TelSatBrowserTerminationCauseType browser_termination_event_req_info; /**< BrowserTermination Event Information */
+               TelSatDataAvailableEventReqInfo data_available_event_req_info; /**< dataAvailableEventReqInfo */
+               TelSatChannelStatusEventReqInfo channel_status_event_req_info; /**< channelStatusEventReqInfo */
+       } event_download_data; /**< Union */
+} TelSatEventDownloadReqInfo;
+
+/**
+ *  \defgroup TAPI_EVENT TAPI Event IDs
+ *  @{
+ */
+
+/**
+ *  \defgroup TEL_EVENT_SAT SAT Event IDs
+ *  @{
+ */
+
+/**
+ *  @hideinitializer
+ *  @brief Setup menu information
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SAT_SETUP_MENU
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SAT_SETUP_MENU
+ *  @retval data reference to \ref TelSatSetupMenuInfo structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SAT_SETUP_MENU                                        TELEPHONY_SAT_INTERFACE":SetupMenu"
+
+/**
+ *  @hideinitializer
+ *  @brief Display text information
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SAT_DISPLAY_TEXT
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SAT_DISPLAY_TEXT
+ *  @retval data reference to \ref TelSatDisplayTextInd structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SAT_DISPLAY_TEXT                                      TELEPHONY_SAT_INTERFACE":DisplayText"
+
+/**
+ *  @hideinitializer
+ *  @brief Select item information
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SAT_SELECT_ITEM
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SAT_SELECT_ITEM
+ *  @retval data reference to \ref TelSatSelectItemInd structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SAT_SELECT_ITEM                                       TELEPHONY_SAT_INTERFACE":SelectItem"
+
+/**
+ *  @hideinitializer
+ *  @brief Get inkey information
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SAT_GET_INKEY
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SAT_GET_INKEY
+ *  @retval data reference to \ref TelSatGetInkeyInd structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SAT_GET_INKEY                                         TELEPHONY_SAT_INTERFACE":GetInkey"
+
+/**
+ *  @hideinitializer
+ *  @brief Get input information
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SAT_GET_INPUT
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SAT_GET_INPUT
+ *  @retval data reference to \ref TelSatGetInputInd structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SAT_GET_INPUT                                         TELEPHONY_SAT_INTERFACE":GetInput"
+
+/**
+ *  @hideinitializer
+ *  @brief Refresh information
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SAT_REFRESH
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SAT_REFRESH
+ *  @retval data reference to \ref TelSatRefreshInd structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SAT_REFRESH                                           TELEPHONY_SAT_INTERFACE":Refresh"
+
+/**
+ *  @hideinitializer
+ *  @brief Send SMS information
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SAT_SEND_SMS
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SAT_SEND_SMS
+ *  @retval data reference to \ref TelSatSendSmsIndSmsData structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SAT_SEND_SMS                                          TELEPHONY_SAT_INTERFACE":SendSMS"
+
+/**
+ *  @hideinitializer
+ *  @brief Setup event list information
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SAT_SETUP_EVENT_LIST
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SAT_SETUP_EVENT_LIST
+ *  @retval data reference to \ref TelSatEventListData structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SAT_SETUP_EVENT_LIST                          TELEPHONY_SAT_INTERFACE":SetupEventList"
+
+/**
+ *  @hideinitializer
+ *  @brief Send DTMF information
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SAT_SEND_DTMF
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SAT_SEND_DTMF
+ *  @retval data reference to \ref TelSatSendDtmfIndDtmfData structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SAT_SEND_DTMF                                         TELEPHONY_SAT_INTERFACE":SendDtmf"
+
+/**
+ *  @hideinitializer
+ *  @brief Session end event information
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SAT_SESSION_END_EVENT
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SAT_SESSION_END_EVENT
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SAT_SESSION_END_EVENT                 TELEPHONY_SAT_INTERFACE":EndProactiveSession"
+
+/**
+ *  @hideinitializer
+ *  @brief Call control information
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SAT_CALL_CONTROL_RESULT
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SAT_CALL_CONTROL_RESULT
+ *  @retval data reference to \ref TelSatCallCtrlIndData structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SAT_CALL_CONTROL_RESULT                       TELEPHONY_SAT_INTERFACE":CallControlResult"
+
+/**
+ *  @hideinitializer
+ *  @brief MO SM control information
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SAT_MO_SM_CONTROL_RESULT
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SAT_MO_SM_CONTROL_RESULT
+ *  @retval data reference to \ref TelSatMoSmCtrlIndData structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SAT_MO_SM_CONTROL_RESULT              TELEPHONY_SAT_INTERFACE":MoSmControlResult"
+
+/** @}*/
+/** @}*/
+
+#ifdef __cplusplus
+}
+#endif
+
+/**
+ * @}
+ */
+ #endif /* __TEL_SAT_H_ */
diff --git a/tel-headers/include/tel_sim.h b/tel-headers/include/tel_sim.h
new file mode 100644 (file)
index 0000000..dc9082b
--- /dev/null
@@ -0,0 +1,703 @@
+/*
+ * tel-headers
+ *
+ * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
+ * Copyright (c) 2013 Intel Corporation. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __TEL_SIM_H__
+#define __TEL_SIM_H__
+
+#include <tel_if.h>
+
+/**
+*  @addtogroup TAPI_SIM
+*  @{
+*
+*  @file tel_sim.h
+*  @brief TAPI sim Interface
+*/
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+#define TELEPHONY_SIM_INTERFACE                 TELEPHONY_SERVICE".Sim"
+
+#define TEL_SIM_ICCID_LEN_MAX                  20      /**< Maximum ICCID Length */
+#define TEL_SIM_MSIN_LEN_MAX                   10      /**< Mobile Station Identification Number max length */
+#define TEL_SIM_MCC_MNC_LEN_MAX                        3       /**< MCC/MNC max length */
+
+#define TEL_SIM_PLMN_LEN_MAX                   6       /**< PLMN max length */
+#define TEL_SIM_SPN_LEN_MAX                    16      /**< Service Provider Name max length */
+
+#define TEL_SIM_ECC_NUMBER_LEN_MAX             6       /**< Emergency code max length */
+#define TEL_SIM_ECC_LIST_MAX                   16      /**< Emergency list max items */
+#define TEL_SIM_ECC_TEXT_MAX                   255     /**< Emergency alpha identifier max length */
+
+#define TEL_SIM_EXT_RECORD_CNT_MAX 15  /** EXT record count max length */
+#define TEL_SIM_OPL_PNN_RECORD_CNT_MAX 5 /* OPL PNN record count max  */
+#define TEL_SIM_NW_FULL_NAME_LEN_MAX 40 /* Full name length max */
+#define TEL_SIM_MBDN_NUM_LEN_MAX               20      /**< Max length of the Number supported*/
+#define TEL_SIM_ALPHA_ID_LEN_MAX               241     /**< Max length of the Alpha ID supported*/
+
+#define TEL_SIM_MSP_CNT_MAX                    4       /**< The Profile Identity shall be between 1and 4 as defined in TS 23.097 for MSP.*/
+
+#define TEL_SIM_AUTH_MAX_REQ_DATA_LEN          16      /**< Authentication code max length */
+#define TEL_SIM_AUTH_MAX_RESP_DATA_LEN         16      /**< Authentication response data max length */
+
+#define TEL_SIM_APDU_LEN_MAX                   261     /**< APDU max command length */
+#define TEL_SIM_APDU_RESP_LEN_MAX              258     /**< APDU max response length */
+#define TEL_SIM_ATR_LEN_MAX                    33      /**< Answer to Reset data max length */
+
+#define TEL_SIM_MAILBOX_TYPE_MAX               5       /**< Mailbox type count */
+#define TEL_SIM_CALL_FORWARDING_TYPE_MAX               5       /** Call forwarding type count */
+
+/**
+ * @enum TelSimResult
+ * Response (Return) values.
+ */
+typedef enum {
+       TEL_SIM_RESULT_SUCCESS, /**< Operation completed successfully */
+       TEL_SIM_RESULT_FAILURE, /**< Operation Failed */
+       TEL_SIM_RESULT_INVALID_PARAMETER, /**< Invalid input parameters */
+       TEL_SIM_RESULT_MEMORY_FAILURE, /**< Memory allocation failed */
+       TEL_SIM_RESULT_OPERATION_NOT_SUPPORTED, /**< Operation not supported */
+
+       TEL_SIM_RESULT_CARD_ERROR,  /**< SIM card error - Permanently blocked and general errors   */
+       TEL_SIM_RESULT_ACCESS_CONDITION_NOT_SATISFIED, /**< SIM Incompatible pin operation that is in case when invalid SIM command is given or incorrect parameters are supplied to the SIM. */
+       TEL_SIM_RESULT_INCOMPATIBLE_PIN_OPERATION, /**< SIM PIN  Incorrect password */
+       TEL_SIM_RESULT_INCORRECT_PASSWORD, /**< SIM Incorrect password */
+       TEL_SIM_RESULT_PIN_REQUIRED, /**< PIN Required */
+       TEL_SIM_RESULT_PUK_REQUIRED, /**< PUK Required */
+       TEL_SIM_RESULT_PERM_BLOCKED, /**< Permanent block SIM */
+       TEL_SIM_RESULT_SQN_FAILURE, /**< status - SQN(SeQuenceNumber) failure */
+       TEL_SIM_RESULT_OPERATION_NOT_PERMITTED  /**< Operation not permitted */
+} TelSimResult;
+
+/**
+ * @enum TelSimCardType
+ * This enumeration defines the card type.
+ */
+typedef enum {
+       TEL_SIM_CARD_TYPE_UNKNOWN,      /**< Unknown card */
+       TEL_SIM_CARD_TYPE_GSM,          /**< 2G SIM(GSM) card */
+       TEL_SIM_CARD_TYPE_USIM,         /**< 3G USIM card */
+       TEL_SIM_CARD_TYPE_RUIM,         /**< CDMA based card */
+       TEL_SIM_CARD_TYPE_ISIM          /**< IMS based card */
+} TelSimCardType;
+
+typedef enum {
+       TEL_SIM_MWIS_NONE = 0x00, /**< MWIS none*/
+       TEL_SIM_MWIS_VOICE = 0x01, /**< MWIS voice*/
+       TEL_SIM_MWIS_FAX = 0x02, /**< MWIS FAX*/
+       TEL_SIM_MWIS_EMAIL = 0x04, /**< MWIS email*/
+       TEL_SIM_MWIS_OTHER = 0x08, /**< MWIS other*/
+       TEL_SIM_MWIS_VIDEO = 0x10, /**< MWIS video*/
+       TEL_SIM_MWIS_RFU = 0xff /**< MWIS RFU*/
+} TelSimMwisMask;
+
+/** * @enum TelSimFacilityStatus
+ * This enumeration defines the pin status.
+ */
+typedef enum {
+       TEL_SIM_FACILITY_STATUS_UNKNOWN = -1, /**< SIM facility UNKNOWN status*/
+       TEL_SIM_FACILITY_STATUS_DISABLED, /**< SIM facility DISABLED status*/
+       TEL_SIM_FACILITY_STATUS_ENABLED /**< SIM facility ENABLED status*/
+} TelSimFacilityStatus;
+
+/**
+ * @enum TelSimPinType
+ * This enumeration defines the pin type.
+ */
+typedef enum {
+       TEL_SIM_PIN_TYPE_PIN1, /**< PIN 1 code */
+       TEL_SIM_PIN_TYPE_PIN2 /**< PIN 2 code */
+} TelSimPinType;
+
+/**
+ * @enum TelSimPukType
+ * This enumeration defines the puk type.
+ */
+typedef enum {
+       TEL_SIM_PUK_TYPE_PUK1, /**< PUK 1 code */
+       TEL_SIM_PUK_TYPE_PUK2 /**< PUK 2 code */
+} TelSimPukType;
+
+/**
+ * @enum TelSimEccEmergencyServiceInfo
+ * This enumeration defines the emergency service type.
+ */
+typedef enum {
+       TEL_SIM_ECC_ESC_DEFAULT =               0x00, /**< DEFAULT */
+       TEL_SIM_ECC_ESC_POLICE =                0x01, /**< Police */
+       TEL_SIM_ECC_ESC_AMBULANCE =             0x02, /**< Ambulance */
+       TEL_SIM_ECC_ESC_FIREBRIGADE =           0x04, /**< Fire brigade */
+       TEL_SIM_ECC_ESC_MARINEGUARD =           0x08, /**< Marine guard */
+       TEL_SIM_ECC_ESC_MOUNTAINRESCUE =        0x10, /**< Mountain rescue */
+       TEL_SIM_ECC_ESC_MANUAL_ECALL =          0x20, /**< Manual Emergency call */
+       TEL_SIM_ECC_ESC_AUTO_ECALL =            0x40 /**< Automatic Emergency call */
+} TelSimEccEmergencyServiceInfo;
+
+/**
+ * @enum TelSimLanguagePreferenceCode
+ * This enumeration defines the language indication code.
+ */
+typedef enum {
+       TEL_SIM_LP_GERMAN =             0x00, /**< German */
+       TEL_SIM_LP_ENGLISH =            0x01, /**< English */
+       TEL_SIM_LP_ITALIAN =            0x02, /**< Italian */
+       TEL_SIM_LP_FRENCH =             0x03, /**< French */
+       TEL_SIM_LP_SPANISH =            0x04, /**< Spanish */
+       TEL_SIM_LP_DUTCH =              0x05, /**< Dutch */
+       TEL_SIM_LP_SWEDISH =            0x06, /**< Swedish */
+       TEL_SIM_LP_DANISH =             0x07, /**< Danish */
+       TEL_SIM_LP_PORTUGUESE =         0x08, /**< Portuguese */
+       TEL_SIM_LP_FINNISH =            0x09, /**< Finnish */
+       TEL_SIM_LP_NORWEGIAN =          0x0A, /**< Norwegian */
+       TEL_SIM_LP_GREEK =              0x0B, /**< Greek */
+       TEL_SIM_LP_TURKISH =            0x0C, /**< Turkish */
+       TEL_SIM_LP_HUNGARIAN =          0x0D, /**< Hungarian */
+       TEL_SIM_LP_POLISH =             0x0E, /**< Polish */
+       TEL_SIM_LP_KOREAN =             0x0F, /**< Korean */
+       TEL_SIM_LP_CHINESE =            0x10, /**< Chinese */
+       TEL_SIM_LP_RUSSIAN =            0x11, /**< Russian */
+       TEL_SIM_LP_JAPANESE =           0x12, /**< Japanese */
+       TEL_SIM_LP_LANG_UNSPECIFIED =   0xFF /**< Unspecified */
+} TelSimLanguagePreferenceCode;
+
+/**
+ * @enum TelSimCardStatus
+ * This enumeration defines the SIM card status
+ */
+typedef enum {
+       TEL_SIM_STATUS_UNKNOWN,                         /**<  Unknown status. It can be initial status **/
+       TEL_SIM_STATUS_CARD_ERROR,                      /**<  Bad card / On the fly SIM gone bad **/
+       TEL_SIM_STATUS_SIM_CARD_POWEROFF,       /**<  SIM Card Powered OFF **/
+       TEL_SIM_STATUS_CARD_NOT_PRESENT,        /**<  Card not present **/
+       TEL_SIM_STATUS_SIM_INITIALIZING,                /**<  SIM is Initializing state **/
+       TEL_SIM_STATUS_SIM_INIT_COMPLETED,      /**<  SIM Initialization COMPLETE **/
+       TEL_SIM_STATUS_SIM_PIN_REQUIRED,        /**<  PIN  required state **/
+       TEL_SIM_STATUS_SIM_PUK_REQUIRED,        /**<  PUK  required state **/
+       TEL_SIM_STATUS_CARD_BLOCKED,            /**<  PIN/PUK blocked(permanently blocked - All the attempts for PIN/PUK failed) **/
+       TEL_SIM_STATUS_SIM_NCK_REQUIRED,        /**<  Network Control Key required state **/
+       TEL_SIM_STATUS_SIM_NSCK_REQUIRED,       /**<  Network Subset Control Key required state **/
+       TEL_SIM_STATUS_SIM_SPCK_REQUIRED,       /**<  Service Provider Control Key required state **/
+       TEL_SIM_STATUS_SIM_CCK_REQUIRED,        /**<  Corporate Control Key required state **/
+       TEL_SIM_STATUS_CARD_REMOVED,            /**<  Card removed **/
+       TEL_SIM_STATUS_SIM_LOCK_REQUIRED        /**<  PH-SIM (phone-SIM) locked state **/
+} TelSimCardStatus;
+
+/**
+ * @enum TelSimCardChangeStatus
+ * This enumeration defines whether SIM card is changed or not
+ */
+typedef enum {
+       TEL_SIM_CHANGE_STATUS_UNKNOWN, /**< Unknown */
+       TEL_SIM_CHANGE_STATUS_SAME, /**< SIM card is same */
+       TEL_SIM_CHANGE_STATUS_CHANGED /**< SIM card is changed */
+} TelSimCardChangeStatus;
+
+/**
+ * @enum TelSimRefreshCommandType
+ * This enumeration defines the SIM card status
+ */
+typedef enum {
+       TEL_SIM_REFRESH_CMD_INIT_AND_FULL_FCN           = 0x00, /**<    command qualifier for REFRESH SIM INIT AND FULL FILE CHANGE_NOTIFICATION                */
+       TEL_SIM_REFRESH_CMD_FCN                                         = 0x01, /**<    command qualifier for REFRESH FILE CHANGE NOTIFICATION          */
+       TEL_SIM_REFRESH_CMD_INIT_AND_FCN                        = 0x02, /**<    command qualifier for REFRESH SIM INIT AND FILE CHANGE NOTIFICATION             */
+       TEL_SIM_REFRESH_CMD_INIT                                        = 0x03, /**<    command qualifier for REFRESH SIM INIT          */
+       TEL_SIM_REFRESH_CMD_RESET                                       = 0x04, /**<    command qualifier for REFRESH SIM RESET         */
+       TEL_SIM_REFRESH_CMD_3G_APPLICATION_RESET        = 0x05, /**<    command qualifier for REFRESH 3G APPLICATION RESET              */
+       TEL_SIM_REFRESH_CMD_3G_SESSION_RESET            = 0x06, /**<    command qualifier for REFRESH 3G SESSION RESET          */
+       TEL_SIM_REFRESH_CMD_UNSPECIFIED                         = 0xFF  /**<    command qualifier for REFRESH RESERVED          */
+}TelSimRefreshCommandType;
+
+/**
+ * @enum TelSimMailboxType
+ * This enum gives mailbox type.
+ */
+typedef enum {
+       TEL_SIM_MAILBOX_VOICE,  /**< Mailbox identifier voice */
+       TEL_SIM_MAILBOX_FAX,    /**< Mailbox identifier fax */
+       TEL_SIM_MAILBOX_EMAIL,  /**< Mailbox identifier email */
+       TEL_SIM_MAILBOX_OTHER,  /**< Mailbox identifier other */
+       TEL_SIM_MAILBOX_VIDEO   /**< Mailbox identifier video */
+} TelSimMailboxType;
+
+/**
+ * @enum TelSimCallForwardingType
+ * This enum gives Call forwarding type.
+ */
+typedef enum {
+       TEL_SIM_CALL_FORWARDING_VOICE,  /**< Call forwarding identifier voice */
+       TEL_SIM_CALL_FORWARDING_FAX,    /**< Call forwarding identifier fax */
+       TEL_SIM_CALL_FORWARDING_EMAIL,  /**< Call forwarding identifier email */
+       TEL_SIM_CALL_FORWARDING_OTHER,  /**< Call forwarding identifier other */
+       TEL_SIM_CALL_FORWARDING_VIDEO   /**< Call forwarding identifier video */
+} TelSimCallForwardingType;
+
+/**
+ * @enum TelSimAuthenticationType
+ * This is used for Authentication Procedure by using SIM.
+ */
+typedef enum {
+       TEL_SIM_AUTH_GSM, /**< GSM Authentication */
+       TEL_SIM_AUTH_GSM_CTX, /**< GSM CTX Authentication */
+       TEL_SIM_AUTH_3G_CTX, /**< 3G CTX Authentication */
+       TEL_SIM_AUTH_GBA, /**< GBA Authentication */
+       TEL_SIM_AUTH_GBA_NAF, /**< GBA NAF Authentication */
+       TEL_SIM_AUTH_IMS_AKA /**< IMS Authentication */
+} TelSimAuthenticationType;
+
+/**
+ * @enum TelSimLockType
+ *     This structure gives security lock type enum values
+ */
+typedef enum {
+       TEL_SIM_LOCK_PS,
+       /**< PH-SIM (phone-SIM) locked.Lock Phone to SIM/UICC card
+        *      (MT asks password when other than current SIM/UICC card inserted;
+        *      MT may remember certain amount of previously used cards thus not
+        *      requiring password when they are inserted
+        */
+       TEL_SIM_LOCK_PF,
+       /**< PH-FSIM (phone-first-SIM) Lock Phone to the very
+        *      First inserted SIM/UICC card(MT asks password when other than the
+        *      first SIM/UICC card is inserted
+        */
+       TEL_SIM_LOCK_SC,
+        /**< SIM Lock (PIN, PIN2, PUK, PUK2) Lock SIM/UICC card ( SIM asks
+        *      password in ME power-up and when this command is issued */
+       TEL_SIM_LOCK_FD,
+       /**< FDN - SIM card or active application in the UICC (GSM or USIM)
+        *      fixed dialing memory feature */
+       TEL_SIM_LOCK_PN, /**< Network Personalization */
+       TEL_SIM_LOCK_PU, /**< Network subset Personalization */
+       TEL_SIM_LOCK_PP, /**< Service Provider Personalization */
+       TEL_SIM_LOCK_PC, /**< Corporate Personalization */
+} TelSimLockType;
+
+/**
+ * @enum TelSimLockStatus
+ * This structure gives security lock key information enum values
+ */
+typedef enum {
+       TEL_SIM_LOCK_KEY_NOT_NEED,      /**< key not need */
+       TEL_SIM_LOCK_KEY_PIN,           /**< PIN required */
+       TEL_SIM_LOCK_KEY_PUK,           /**< PUK required */
+       TEL_SIM_LOCK_KEY_PIN2,          /**< PIN2 required */
+       TEL_SIM_LOCK_KEY_PUK2,          /**< PUK2 required */
+       TEL_SIM_LOCK_PERM_BLOCKED       /**< Permanent block SIM */
+} TelSimLockStatus;
+
+/**
+ * @enum TelSimSpnDispCondition
+ * This enumeration defines Service Provider Name display condition type.
+ */
+typedef enum
+{
+       TEL_SIM_DISP_INVALID, /**< Invalid display condition */
+       TEL_SIM_DISP_SPN, /**< SPN display condition */
+       TEL_SIM_DISP_PLMN, /**< PLMN display condition */
+       TEL_SIM_DISP_SPN_PLMN /**< SPN/PLMN display condition */
+} TelSimSpnDispCondition;
+
+/**
+ * This data structure defines plmn informations
+ */
+typedef struct {
+       unsigned int index;     /**< Plmn list index */
+       char *plmn;             /**< numeric operator name (MCCMNC) */
+} TelSimSpPlmn;
+
+/**
+ * This data structure defines plmn list
+ */
+typedef struct {
+       unsigned int count;     /**< Number of service provider plmns in the list */
+       TelSimSpPlmn *list;     /**< service provider plmns list */
+} TelSimSpPlmnList;
+
+/**
+ * This data structure defines the status of sim initialization
+ */
+typedef struct {
+       TelSimCardStatus status; /**< Sim card status */
+       TelSimCardChangeStatus change_status; /**< Sim card change status */
+} TelSimCardStatusInfo;
+
+/**
+ * This data structure defines the data for the Imsi information.
+ */
+typedef struct {
+       char mcc[TEL_SIM_MCC_MNC_LEN_MAX + 1];  /**< mobile country code 3 digits*/
+       char mnc[TEL_SIM_MCC_MNC_LEN_MAX + 1];  /**< mobile network code 2 or 3 digits*/
+       char msin[TEL_SIM_MSIN_LEN_MAX + 1];    /**< Mobile Station Identification Number */
+} TelSimImsiInfo;
+
+/**
+ * This data structure defines the data for the SIM ECC information.
+ */
+typedef struct {
+       char number[TEL_SIM_ECC_NUMBER_LEN_MAX + 1];    /**< Emergency Call Code. null termination used*/
+       char name[TEL_SIM_ECC_TEXT_MAX + 1];            /**< Alpha identifier */
+       TelSimEccEmergencyServiceInfo category;         /**< ECC emergency service information */
+} TelSimEcc;
+
+/**
+ * This data structure defines the data for the SIM ECC lists.
+ */
+typedef struct {
+       unsigned int count; /**< Total count for ECC list */
+       TelSimEcc list[TEL_SIM_ECC_LIST_MAX];   /**< List of emergency numbers */
+} TelSimEccList;
+
+typedef struct {
+       int ext_len;
+       char ext[TEL_SIM_EXT_RECORD_CNT_MAX + 1];
+       unsigned short next_record;
+} TelSimExt;
+
+typedef struct {
+       unsigned char plmn[6+1];
+       unsigned short lac_from;
+       unsigned short lac_to;
+       unsigned char rec_identifier;
+} TelSimOpl;
+
+typedef struct {
+       int opl_count;
+       TelSimOpl list[TEL_SIM_OPL_PNN_RECORD_CNT_MAX];
+} TelSimOplList;
+
+typedef struct {
+       unsigned char full_name[TEL_SIM_NW_FULL_NAME_LEN_MAX + 1];
+       unsigned char short_name[TEL_SIM_NW_FULL_NAME_LEN_MAX + 1];
+} TelSimPnn;
+
+typedef struct {
+       int pnn_count;
+       TelSimPnn list[TEL_SIM_OPL_PNN_RECORD_CNT_MAX];
+} TelSimPnnList;
+
+typedef struct {
+       unsigned char profile_id;               /**< Profile Identity of the subscriber profile*/
+       TelSimMailboxType mb_type;      /**< Mailbox type */
+       unsigned int alpha_id_len; /**< Mailbox Alpha Identifier length */
+       char alpha_id[TEL_SIM_ALPHA_ID_LEN_MAX]; /**< Mailbox Alpha Identifier */
+       char number[TEL_SIM_MBDN_NUM_LEN_MAX]; /**< Dialing Number/SSC String */
+} TelSimMailBoxNumber;
+
+/**
+ * This data structure defines the data for the Mailbox lists.
+ */
+typedef struct {
+       unsigned int alpha_id_max_len;          /**< Alpha id max length in SIM */
+       unsigned int count;                                     /**< Number of mailbox count*/
+       TelSimMailBoxNumber list[TEL_SIM_MSP_CNT_MAX * TEL_SIM_MAILBOX_TYPE_MAX]; /**< Mailbox list info */
+} TelSimMailboxList;
+
+/**
+ * This data structure defines the data for the Call Forwarding.
+ */
+typedef struct {
+       unsigned char profile_id;       /**< Profile Identity of the subscriber profile*/
+       gboolean indication[TEL_SIM_CALL_FORWARDING_TYPE_MAX]; /**< 0: voice , 1 : fax, 2 : email, 3:other, 4 :video */
+} TelSimCfis;
+
+/**
+ * This data structure defines the data for the Call Forwarding lists.
+ */
+typedef struct {
+       unsigned int profile_count; /**< Call forwarding list count in SIM */
+       TelSimCfis cf[TEL_SIM_MSP_CNT_MAX]; /**< Call forwarding list info in SIM */
+} TelSimCfisList;
+
+/**
+ * This data structure defines indication status for the Message Waiting.
+ */
+ typedef struct {
+       gboolean indication; /**< indication status for the Message Waiting */
+       unsigned char count; /**< indication count for the Message Waiting */
+} TelSimMsgWaitingIndicator;
+
+/**
+ * This data structure defines the data for the Message Waiting.
+ */
+typedef struct {
+       unsigned char profile_id; /**< Profile Identity of the subscriber profile */
+       gboolean count_valid; /**< whether count is valid or not (in case of cphs, count is not valid) */
+       TelSimMsgWaitingIndicator msg_waiting[TEL_SIM_MAILBOX_TYPE_MAX]; /**< 0: voice , 1 : fax, 2 : email, 3:other, 4 :video */
+} TelSimMwis;
+
+/**
+ * This data structure defines the data for the Message Waiting lists.
+ */
+typedef struct {
+       unsigned int profile_count; /**< Message waiting list count in SIM */
+       TelSimMwis mw[TEL_SIM_MSP_CNT_MAX]; /**< Message waiting list info in SIM */
+} TelSimMwisList;
+
+/**
+ * This data structure defines the data for the MSISDN.
+ */
+typedef struct {
+       char *alpha_id; /**< MSISDN Alpha Identifier. If not exist, Null string will be returned */
+       char *num;  /**< MSISDN number. If not exist, Null string will be returned*/
+} TelSimSubscriberInfo;
+
+/**
+ * This data structure defines the data for the MSISDN lists.
+ */
+typedef struct {
+       unsigned int count; /**< MSISDN list count in SIM */
+       TelSimSubscriberInfo *list; /**< MSISDN list info in SIM */
+} TelSimMsisdnList;
+
+/**
+ * This data structure defines the data for the SPN.
+ */
+typedef struct {
+       TelSimSpnDispCondition display_condition;       /**< display condition */
+       char spn[TEL_SIM_SPN_LEN_MAX + 1];              /**< SPN */
+} TelSimSpn;
+
+/**
+ * This data structure defines the data for the CPHS Network Name.
+ */
+typedef struct {
+       char *full_name; /**< Short Network Operator Name */
+       char *short_name; /**< Long Network Operator Name */
+}TelSimCphsNetName;
+
+typedef struct {
+       TelSimResult result;
+       union {
+               TelSimEccList ecc;
+               TelSimLanguagePreferenceCode language;
+               char iccid[TEL_SIM_ICCID_LEN_MAX + 1];
+               TelSimMailboxList mb;
+               TelSimCfisList cf;
+               TelSimMwisList mw;
+               TelSimMsisdnList msisdn_list;
+               TelSimSpn spn;
+               TelSimOplList opl;
+               TelSimPnnList pnn;
+               TelSimSpPlmnList spdi;
+               TelSimCphsNetName cphs_net;
+       } data;
+} TelSimFileResult;
+
+typedef struct {
+       /*      '00' - no mailbox dialing number associated with message waiting indication group type.
+        'xx' - record number in EFMBDN associated with message waiting indication group type.
+        */
+       int voice_index;        /**< voice mailbox identifier*/
+       int fax_index;  /**< FAX mailbox identifier*/
+       int email_index;        /**< email mailbox identifier*/
+       int other_index;        /**< other mailbox identifier*/
+       int video_index;        /**< video mailbox identifier*/
+} TelSimMbi;
+
+/**
+ *This is used for authentication request procedure.
+ */
+typedef struct {
+       TelSimAuthenticationType auth_type;             /**< Authentication type */
+       unsigned int rand_length;                       /**< the length of RAND */
+       unsigned int autn_length;                       /**< the length of AUTN. it is not used in case of GSM AUTH */
+       char rand_data[TEL_SIM_AUTH_MAX_REQ_DATA_LEN];  /**< RAND data */
+       char autn_data[TEL_SIM_AUTH_MAX_REQ_DATA_LEN];  /**< AUTN data. it is not used in case of GSM AUTH */
+} TelSimAuthenticationData;
+
+/**
+ * @enum TelSimAuthenticationResult
+ * This is used to get detailed result for Authentication Procedure.
+ */
+typedef enum {
+       TEL_SIM_AUTH_NO_ERROR = 0x00, /**< ISIM no error */
+       TEL_SIM_AUTH_CANNOT_PERFORM, /**< status - can't perform authentication */
+       TEL_SIM_AUTH_SKIP_RESPONSE, /**< status - skip authentication response */
+       TEL_SIM_AUTH_MAK_CODE_FAILURE, /**< status - MAK(Multiple Activation Key) code failure */
+       TEL_SIM_AUTH_SQN_FAILURE, /**< status - SQN(SeQuenceNumber) failure */
+       TEL_SIM_AUTH_SYNCH_FAILURE, /**< status - synch failure */
+       TEL_SIM_AUTH_UNSUPPORTED_CONTEXT, /**< status - unsupported context */
+       TEL_SIM_AUTH_UNSPECIFIED /**< Unspecified error */
+} TelSimAuthenticationResult;
+
+/**
+ * This is used for result data of authentication.
+ */
+typedef struct {
+       TelSimAuthenticationType auth_type;                             /**< authentication type */
+       TelSimAuthenticationResult detailed_result;             /**<Detailed result for authentication procedure*/
+       unsigned int resp_length;                                       /**< response length. IMS and 3G case, it stands for RES_AUTS. GSM case, it stands for SRES. */
+       char resp_data[TEL_SIM_AUTH_MAX_RESP_DATA_LEN];                 /**< response data. IMS and 3G case, it stands for RES_AUTS. GSM case, it stands for SRES. */
+       unsigned int authentication_key_length;                         /**< the length of authentication key, Kc*/
+       char authentication_key[TEL_SIM_AUTH_MAX_RESP_DATA_LEN];        /**< the data of of authentication key, Kc*/
+       unsigned int cipher_length;                                     /**< the length of cipher key length */
+       char cipher_data[TEL_SIM_AUTH_MAX_RESP_DATA_LEN];               /**< cipher key */
+       unsigned int integrity_length;                                  /**< the length of integrity key length */
+       char integrity_data[TEL_SIM_AUTH_MAX_RESP_DATA_LEN];            /**< integrity key */
+} TelSimAuthenticationResponse;
+
+/**
+ * @enum TelSimPowerState
+ * This enumeration defines the power state of SIM.
+ */
+typedef enum {
+       TEL_SIM_POWER_OFF = 0x00, /**< OFF */
+       TEL_SIM_POWER_ON = 0x01, /**< ON */
+       TEL_SIM_POWER_UNSPECIFIED = 0xFF /**< Unspecified */
+} TelSimPowerState;
+
+/**
+ * This is used to verify PIN code.
+ */
+typedef struct {
+       TelSimPinType pin_type; /**< Specifies the PIN type */
+       char *pw;               /**< Pin password*/
+} TelSimSecPinPw;
+
+/**
+ * This is used to verify PUK code.
+ */
+typedef struct {
+       TelSimPukType puk_type; /**< Specifies the PUK type */
+       char *puk_pw;           /**< Puk password */
+       char *new_pin_pw;       /**< New corresponding pin password */
+} TelSimSecPukPw;
+
+/**
+ * This is used to change PIN code .
+ */
+typedef struct {
+       TelSimPinType pin_type; /**< Specifies the PIN type */
+       char *old_pw;           /**< Current password */
+       char *new_pw;           /**< New pin password */
+} TelSimSecChangePinPw;
+
+/**
+ * This is used to PIN code verification.
+ */
+typedef struct {
+       TelSimPinType pin_type;         /**< Specifies the PIN type */
+       unsigned int retry_count;       /**< Number of attempts remaining for PIN verification */
+} TelSimSecPinResult;
+
+/**
+ * This is used to PUK code verification.
+ */
+typedef struct {
+       TelSimPukType puk_type;         /**< Specifies the PUK type */
+       unsigned int retry_count;       /**< Number of attempts remaining for PUK verification */
+} TelSimSecPukResult;
+
+/**
+ * This structure is used to enable/disable facility
+ */
+typedef struct {
+       TelSimLockType lock_type;       /**< Facility type */
+       char *pw;                       /**< password */
+} TelSimFacilityPw;
+
+/**
+ * This structure is used to PIN/PUK verification
+ */
+typedef struct {
+       TelSimLockType type;            /**< Specifies the PIN or PUK type.*/
+       unsigned int retry_count;       /**< Number of attempts remaining for PIN/PUK verification.*/
+} TelSimFacilityResult;
+
+/**
+ * This structure is used to enable/disable facility
+ */
+typedef struct {
+       TelSimLockType type; /**< Security lock type */
+       TelSimFacilityStatus f_status; /**< Lock status (enable/disable) */
+}TelSimFacilityInfo;
+
+/**
+ *
+ * This structure is used to get information about LOCK_TYPE
+ */
+typedef struct {
+       TelSimLockType lock_type;       /**< Lock type */
+       TelSimLockStatus lock_status;   /**< Lock key */
+       unsigned int retry_count;       /**< retry counts */
+} TelSimLockInfo;
+
+/**
+ * This data structure defines the data for the apdu command.
+ */
+typedef struct {
+       unsigned int apdu_len; /**<  SIM APDU length */
+       unsigned char apdu[TEL_SIM_APDU_LEN_MAX]; /**<  SIM APDU data */
+} TelSimApdu;
+
+/**
+ * This data structure defines the data for the Response of sending apdu.
+ */
+typedef struct {
+       unsigned int apdu_resp_len; /**< Response apdu data length */
+       unsigned char apdu_resp[TEL_SIM_APDU_RESP_LEN_MAX]; /**< Response apdu data */
+} TelSimApduResp;
+
+/**
+ * This data structure defines the data for the Response of ATR request.
+ */
+typedef struct {
+       unsigned int atr_len; /**<  SIM ATR data length */
+       unsigned char atr[TEL_SIM_ATR_LEN_MAX]; /**<  SIM ATR data */
+} TelSimAtr;
+
+/**
+ *  \defgroup TAPI_EVENT TAPI Event IDs
+ *  @{
+ */
+
+/**
+ *  \defgroup TEL_EVENT_SIM SIM Event IDs
+ *  @{
+ */
+
+/**
+ *  @hideinitializer
+ *  @brief SIM status
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SIM_STATUS
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SIM_STATUS
+ *  @retval data \ref TelSimCardStatus
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SIM_STATUS                            TELEPHONY_SIM_INTERFACE":card_status"
+
+/** @}*/
+/** @}*/
+
+#ifdef __cplusplus
+}
+#endif
+
+/**
+ * @}
+ */
+#endif /* __TEL_SIM_H__ */
diff --git a/tel-headers/include/tel_sms.h b/tel-headers/include/tel_sms.h
new file mode 100644 (file)
index 0000000..18b93e0
--- /dev/null
@@ -0,0 +1,332 @@
+/*
+ * tel-headers
+ *
+ * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
+ * Copyright (c) 2013 Intel Corporation. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __TEL_SMS_H__
+#define __TEL_SMS_H__
+
+#include <tel_if.h>
+
+/**
+*  @addtogroup TAPI_SMS
+*  @{
+*
+*  @file tel_sms.h
+*  @brief TAPI sms Interface
+*/
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+#define TELEPHONY_SMS_INTERFACE         TELEPHONY_SERVICE".Sms"
+
+#define TEL_SMS_SCA_LEN_MAX            20      /**< Maximum length of SCA (in string format)*/
+
+#define TEL_SMS_CB_DATA_SIZE_MAX       88      /**< Maximum CB Message Size. Cell broadcast message data [Refer 3GPP TS 23.041 9.4.1] */
+#define TEL_SMS_ETWS_DATA_SIZE_MAX     1252 /**< Maximum ETWS Message Size */
+
+#define TEL_SMS_GSM_MSG_NUM_MAX                255     /**< Maximum GSM SMS message number*/
+#define TEL_SMS_GSM_CBMI_LIST_SIZE_MAX 50      /**< Maximum GSM SMS CBMI list size*/
+#define TEL_SMS_SMDATA_SIZE_MAX                164     /**< Maximum SMS data size that can be stored*/
+
+/**
+ * @enum TelSmsMsgStatus
+ * This enumeration defines the sms Response (Result) codes.
+ */
+typedef enum {
+       TEL_SMS_STATUS_MT_READ, /**< MT message, stored and read */
+       TEL_SMS_STATUS_MT_UNREAD,       /**< MT message, stored and unread */
+       TEL_SMS_STATUS_MO_SENT, /**< MO message, stored and  sent */
+       TEL_SMS_STATUS_MO_NOT_SENT,     /**< MO message, stored but not sent */
+       TEL_SMS_STATUS_MO_DELIVERED, /**< delivered destination */
+       TEL_SMS_STATUS_MO_DELIVERY_NOT_CONFIRMED, /**< Service centre forwarded message but is unable to confirm delivery*/
+       TEL_SMS_STATUS_REPLACED /**< Message has been replaced*/
+} TelSmsMsgStatus;
+
+
+/**
+* @enum TelSmsCbMsgType
+* This enumeration defines the different CB message types.
+*/
+typedef enum {
+       TEL_SMS_CB_MSG_GSM,     /**< GSM Cell broadcast message */
+       TEL_SMS_CB_MSG_UMTS     /**< UMTSCell broadcast message */
+} TelSmsCbMsgType;
+
+/**
+* @enum TelSmsEtwsMsgType
+* This enumeration defines the different ETWS message types.
+*/
+typedef enum {
+       TEL_SMS_ETWS_PRIMARY,    /**< Primary ETWS message */
+       TEL_SMS_ETWS_SECONDARY_GSM,     /**< GSM Secondary ETWS message  */
+       TEL_SMS_ETWS_SECONDARY_UMTS     /**< UMTS Secondary ETWS message  */
+} TelSmsEtwsMsgType;
+
+/**
+ * @enum TelSmsResult
+ * This enum defines the different SMS error causes that come in the
+ * sent status acknowledgement/notification after sending a message to the network
+ */
+typedef enum {
+       TEL_SMS_RESULT_SUCCESS, /**< Operation completed successfully */
+       TEL_SMS_RESULT_FAILURE, /**< Operation Failed */
+       TEL_SMS_RESULT_INVALID_PARAMETER,       /**< Invalid input parameters */
+       TEL_SMS_RESULT_MEMORY_FAILURE,   /**< Memory allocation failed */
+       TEL_SMS_RESULT_OPERATION_NOT_SUPPORTED, /**< Operation not supported */
+       TEL_SMS_RESULT_UNKNOWN_FAILURE, /**< Unknown failure */
+
+       TEL_SMS_RESULT_INVALID_MANDATORY_INFO,  /**< Invalid format for some parameters passed in Data package information(TPDU)*/
+       TEL_SMS_RESULT_NETWORK_CONGESTION,      /**< SMS SIM operation cannot be performed due to Network Congestion */
+       TEL_SMS_RESULT_SIM_FAILURE,     /**< SMS SIM operation cannot be performed due to SIM failure */
+       TEL_SMS_RESULT_NETWORK_FAILURE, /**< SMS SIM operation cannot be performed due to Network failure */
+       TEL_SMS_RESULT_OPERATION_NOT_PERMITTED  /** Operation not permitted */
+} TelSmsResult;
+
+/**
+ * This structure defines the properties of a dialing number
+ * Type of Number, Numbering Plan Indicator and the actual number.
+ */
+typedef struct {
+       unsigned char ton; /**< Type of number*/
+       unsigned char npi; /**<Numbering plan identification*/
+       char number[TEL_SMS_SCA_LEN_MAX + 1]; /**< Destination address */
+} TelSmsSca;
+
+/**
+ * This structure defines the different parameters of  CB configuration
+ */
+typedef struct {
+       unsigned short from_msg_id; /**< Starting point of the range of CBS message ID */
+       unsigned short to_msg_id; /**< Ending point of the range of CBS message ID */
+       gboolean selected;      /**< 0x00 . Not selected. 0x01 . Selected */
+} TelSmsCbMsgInfo3gpp;
+
+/**
+ * This structure defines the different parameters of  CB configuration informations
+ */
+typedef struct {
+       gboolean cb_enabled; /**< CB service state. If cb_enabled is true then cell broadcast service will be enabled and
+                                               * underlying modem will enable CB Channel to receiving CB messages. Otherwise CB service
+                                               * will be disabled, underlying modem will deactivate the CB channel. (enabled/disabled) */
+       unsigned int msg_id_range_cnt;  /**< Range of CB message ID count */
+       TelSmsCbMsgInfo3gpp msg_ids[TEL_SMS_GSM_CBMI_LIST_SIZE_MAX]; /**< Range of CB message ID information */
+} TelSmsCbConfigInfo;
+
+/**
+ * This structure defines different fields involved in setting the parameters of
+ * a particular sms in EFsmsp.
+ */
+typedef struct {
+       unsigned int index; /**< Index */
+       TelSmsSca sca; /**< Service Centre Address info */
+       unsigned short vp; /**< Validity Period */
+} TelSmsParamsInfo;
+
+/**
+ * This structure defines different fields involved in getting the sms parameters
+ */
+typedef struct {
+       unsigned int count; /**< SMS parameter count */
+       TelSmsParamsInfo *params; /**< SMS parameter informations */
+} TelSmsParamsInfoList;
+
+/**
+ * This structure defines the fields related to an Sms like SIM index, TPDU
+ * and length.
+ */
+typedef struct {
+       TelSmsSca sca; /**< Service Centre Address info */
+       unsigned int tpdu_length; /**< Size of array tpdu (which is actual TPDU message) */
+       unsigned char tpdu[TEL_SMS_SMDATA_SIZE_MAX]; /**< SMS TPDU message */
+} TelSmsDatapackageInfo;
+
+/**
+ *This structure defines the data Related to MessageStatus and SMS Data Stored.
+ */
+typedef struct {
+       TelSmsMsgStatus status; /**< Message status.*/
+       TelSmsDatapackageInfo data; /**<SMS message data*/
+} TelSmsSimDataInfo;
+
+/**
+ *This structure defines the data Related to SMS Data to be send.
+ */
+typedef struct {
+       gboolean more_msgs; /**< More messages to be send exist */
+       TelSmsDatapackageInfo send_data; /**<SMS message data*/
+} TelSmsSendInfo;
+
+/**
+ *This structure defines the data Related to set message status
+ */
+typedef struct {
+       unsigned int index; /**< Index where message status to be set */
+       TelSmsMsgStatus status; /**< Message status.*/
+} TelSmsStatusInfo;
+
+/**
+ * @enum TelSmsDeliveryReport
+ * This enum defines the error causes for delivery report
+ */
+typedef enum {
+       TEL_SMS_DELIVERY_REPORT_SUCCESS,  /**<Message was sent successfully*/
+       TEL_SMS_DELIVERY_REPORT_MEMORY_ERROR,   /**< Memory capacity exceeded/memory full*/
+       TEL_SMS_DELIVERY_REPORT_UNSPECIFIED_ERROR       /**<Unspecified error */
+} TelSmsDeliveryReport;
+
+/**
+ *This structure defines the SMS delivery report information
+ */
+typedef struct {
+       TelSmsDeliveryReport report;    /**<Delivery report response types*/
+       TelSmsDatapackageInfo data;     /**<SMS data */
+} TelSmsDeliverReportInfo;
+
+/**
+ * This structure defines the different parameters that are related to the message count
+ * in a particular memory(Phone/SIM)
+ */
+typedef struct {
+       unsigned int total_count;       /**< Total count of messages stored in SIM*/
+       unsigned int used_count;        /**< Stored message count in SIM in SIM*/
+       unsigned int index_list[TEL_SMS_GSM_MSG_NUM_MAX]; /**< Message index list stored in SIM. And the maximum
+                                                                                                          *size of this array can be of totalCount.This array contains the
+                                                                                                          *list of index values in which the messages are stored.
+                                                                                                          *i.e. index_list[totalcount] = [2,3] denotes that indexs
+                                                                                                          *2 and 3 are stored(valid) and others not(empty).
+                                                                                                          */
+} TelSmsStoredMsgCountInfo;
+
+/**
+ * This structure defines a cell broadcast message.
+ */
+typedef struct {
+       TelSmsCbMsgType cb_type;        /**< Cell Broadcast  message type */
+       unsigned int length;    /**<Length of cb_data (which is actual TPDU message) */
+       unsigned char *cb_data;  /**<Cell broadcast message data[Refer 3GPP TS 23.041 9.4.1]*/
+} TelSmsCbMsgInfo;
+
+/**
+ * This structure defines a ETWS message.
+ */
+typedef struct {
+       TelSmsEtwsMsgType etws_type;    /**< Cell Broadcast  message type */
+       unsigned int length;    /**<Length of etws_data (which is actual TPDU message) */
+       unsigned char *etws_data;       /**<Cell broadcast message data[Refer 3GPP TS 23.041 9.4.1]*/
+} TelSmsEtwsMsgInfo;
+
+/**
+ *  \defgroup TAPI_EVENT TAPI Event IDs
+ *  @{
+ */
+
+/**
+ *  \defgroup TEL_EVENT_SMS SMS Event IDs
+ *  @{
+ */
+
+/**
+ *  @hideinitializer
+ *  @brief Incoming Message
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SMS_INCOM_MSG
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SMS_INCOM_MSG
+ *  @retval data reference to \ref TelSmsDatapackageInfo structure
+ *  @retval user_data user data passed while registering the event
+ */
+ #define TEL_NOTI_SMS_INCOM_MSG                        TELEPHONY_SMS_INTERFACE":IncomingMsg"
+
+/**
+ *  @hideinitializer
+ *  @brief Incoming CB Message
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SMS_CB_INCOM_MSG
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SMS_CB_INCOM_MSG
+ *  @retval data reference to \ref TelSmsCbMsgInfo structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SMS_CB_INCOM_MSG                      TELEPHONY_SMS_INTERFACE":IncomingCbMsg"
+
+/**
+ *  @hideinitializer
+ *  @brief Incoming ETWS Message
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SMS_ETWS_INCOM_MSG
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SMS_ETWS_INCOM_MSG
+ *  @retval data reference to \ref TelSmsEtwsMsgInfo structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SMS_ETWS_INCOM_MSG            TELEPHONY_SMS_INTERFACE":IncomingEtwsMsg"
+
+/**
+ *  @hideinitializer
+ *  @brief SIM memory status for SMS
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SMS_SIM_MEMORY_STATUS
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SMS_SIM_MEMORY_STATUS
+ *  @retval data <b>TRUE</b>: Memory available\n <b>FALSE</b>: Memory NOT available
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SMS_SIM_MEMORY_STATUS         TELEPHONY_SMS_INTERFACE":SimMemoryStatus"
+
+/**
+ *  @hideinitializer
+ *  @brief SMS init status
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SMS_INIT_STATUS
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SMS_INIT_STATUS
+ *  @retval data <b>TRUE</b>: SMS is Initialized\n <b>FALSE</b>: SMS is NOT initialized
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SMS_INIT_STATUS                       TELEPHONY_SMS_INTERFACE":InitStatus"
+
+/** @}*/
+/** @}*/
+
+#ifdef __cplusplus
+}
+#endif
+
+/**
+ * @}
+ */
+
+#endif  /* __TEL_SMS_H__ */
diff --git a/tel-headers/include/tel_ss.h b/tel-headers/include/tel_ss.h
new file mode 100644 (file)
index 0000000..e2fafb2
--- /dev/null
@@ -0,0 +1,421 @@
+/*
+ * tel-headers
+ *
+ * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
+ * Copyright (c) 2013 Intel Corporation. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __TEL_SS_H__
+#define __TEL_SS_H__
+
+#include <tel_if.h>
+
+/**
+*  @addtogroup TAPI_SS
+*  @{
+*
+*  @file tel_ss.h
+*  @brief TAPI Ss Interface
+*/
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+#define TELEPHONY_SS_INTERFACE TELEPHONY_SERVICE".Ss"
+
+/** Maximum Barring Password length */
+#define TEL_SS_BARRING_PASSWORD_LEN_MAX 4      /**<Maximum length of barring password */
+
+/** Maximum Call Forwarding Number length */
+#define TEL_SS_NUMBER_LEN_MAX 82       /**<Maximum Call Forwarding Number length */
+
+ /**
+ * @enum TelSsResult
+ * This enumeration defines the ss Response (Result) codes
+ */
+ typedef enum {
+       TEL_SS_RESULT_SUCCESS,                                  /**< Operation completed successfully */
+       TEL_SS_RESULT_FAILURE,                                  /**< Operation failed */
+       TEL_SS_RESULT_INVALID_PARAMETER,                /**< Invalid input parameters */
+       TEL_SS_RESULT_MEMORY_FAILURE,                   /**< Memory allocation falied */
+       TEL_SS_RESULT_OPERATION_NOT_SUPPORTED,/**< Operation is not supported */
+       TEL_SS_RESULT_SERVICE_NOT_AVAILABLE,    /**< Service is not available */
+       TEL_SS_RESULT_OPERATION_NOT_ALLOWED,    /**< Operation is not allowed currently */
+       TEL_SS_RESULT_INCORRECT_OPERATION,              /**< Incorrect Operation */
+       TEL_SS_RESULT_INVALID_PASSWORD,                 /**< Password is invalid */
+       TEL_SS_RESULT_PASSWORD_BLOCKED,                 /**< Password blocked */
+       TEL_SS_RESULT_UNKONWN_ALPHABET,         /**< SS error indicating unknown SS data coding of alphabet */
+       TEL_SS_RESULT_OPERATION_NOT_PERMITTED   /**< Operation not permitted */
+} TelSsResult;
+
+/**
+ * @enum TelSsClass
+ * This enumeration defines the Ss Class Information.
+ */
+typedef enum {
+       TEL_SS_CLASS_ALL_TELE_BEARER = 0,
+       /* TELESERVICE */
+       TEL_SS_CLASS_ALL_TELE = 10,                     /**< 0x10 : All Teleservices */
+       TEL_SS_CLASS_VOICE = 11,                                /**< 0x11 : All Voice ( telephony ) */
+       TEL_SS_CLASS_ALL_DATA_TELE = 12,                /**< 0x12 : All Data Teleservices */
+       TEL_SS_CLASS_FAX = 13,                                  /**< 0x13 : All Fax Service */
+       TEL_SS_CLASS_SMS = 16,                                  /**< 0x16 : SMS service  */
+       TEL_SS_CLASS_VGCS = 17,                         /**< 0x17 : Voice Group Call Service */
+       TEL_SS_CLASS_VBS = 18,                                  /**< 0x18 : Voice Broadcast */
+       TEL_SS_CLASS_ALL_TELE_EXPT_SMS = 19,    /**< 0x19 : All teleservice except SMS */
+
+       /* BEARER SERVICE */
+       TEL_SS_CLASS_ALL_BEARER = 20,                   /**< 0X20 : all bearer services */
+       TEL_SS_CLASS_ALL_ASYNC = 21,                    /**< 0x21 : All Async services */
+       TEL_SS_CLASS_ALL_SYNC = 22,                     /**< 0x21 : All Async services */
+       TEL_SS_CLASS_ALL_CS_SYNC = 24,          /**< 0x24 : All Circuit switched sync */
+       TEL_SS_CLASS_ALL_CS_ASYNC = 25,         /**< 0x25 : All Circuit switched async */
+       TEL_SS_CLASS_ALL_DEDI_PS = 26,          /**< 0x26 : All Dedicated packet Access */
+       TEL_SS_CLASS_ALL_DEDI_PAD = 27,         /**< 0x27 : All Dedicated PAD Access */
+       TEL_SS_CLASS_ALL_DATA_CDA = 28,         /**< 0x28 : All Data CDA*/
+
+       /* CPHS - AUXILIARY SERVICE */
+       TEL_SS_CLASS_AUX_VOICE = 89,                    /**< 0x89 : All Auxiliary Voice ( Auxiliary telephony ) */
+
+       TEL_SS_CLASS_ALL_GPRS_BEARER = 99,      /**< 0x99 : All GPRS bearer services */
+} TelSsClass;
+
+/**
+ * @enum TelSsBarringType
+ * This enumeration defines the Call Barring Types
+ */
+typedef enum {
+       TEL_SS_CB_TYPE_BAOC, /**< All Outgoing calls */
+       TEL_SS_CB_TYPE_BOIC, /**< Outgoing international calls */
+       TEL_SS_CB_TYPE_BOIC_NOT_HC, /**< Outgoing international calls except
+                                       to Home Country */
+       TEL_SS_CB_TYPE_BAIC, /**< All Incoming Calls */
+       TEL_SS_CB_TYPE_BIC_ROAM, /**< Incoming Calls when roam */
+       TEL_SS_CB_TYPE_NS, /**< Incoming calls from numbers Not stored to SIM */
+       TEL_SS_CB_TYPE_AB,  /**< All barring services */
+       TEL_SS_CB_TYPE_AOB, /**< All outgoing barring services */
+       TEL_SS_CB_TYPE_AIB, /**< All incoming barring services */
+} TelSsBarringType;
+
+/**
+ * @enum TelSsForwardCondition
+ * This enumeration defines the Call Forwarding Condition
+ */
+typedef enum {
+       TEL_SS_CF_COND_CFU, /**< Unconditional */
+       TEL_SS_CF_COND_CFB,  /**< Mobile Subscriber Busy */
+       TEL_SS_CF_COND_CFNRY, /**< No Reply */
+       TEL_SS_CF_COND_CFNRC, /**< Not Reachable */
+       TEL_SS_CF_COND_ALL,   /**< All */
+       TEL_SS_CF_COND_ALL_CFC, /**< All Conditional */
+} TelSsForwardCondition;
+
+/**
+ * @enum TelSsForwardMode
+ * This enumeration defines the Call Forwarding Mode
+ */
+typedef enum {
+       TEL_SS_CF_MODE_DISABLE, /**< Deactivate call forwarding  */
+       TEL_SS_CF_MODE_ENABLE, /**< Activate call forwarding */
+       TEL_SS_CF_MODE_REGISTER, /**< Register Call forwarding  */
+       TEL_SS_CF_MODE_DEREGISTER, /**< De-register call forwarding */
+} TelSsForwardMode;
+
+/**
+ * @enum TelSsClirNetworkStatus
+ * This enumeration defines the Clir Network Status
+ */
+typedef enum {
+       TEL_CLIR_STATUS_NOT_PROVISIONED, /**<Service not provided by the service provider */
+       TEL_CLIR_STATUS_PROVISIONED, /**<Service is provided by the service provider */
+       TEL_CLIR_STATUS_UNKNOWN, /**<Service status is unknown*/
+       TEL_CLIR_STATUS_TEMP_RESTRICTED, /**<Service is temporarily restricted */
+       TEL_CLIR_STATUS_TEMP_ALLOWED, /**<Service is temporarily allowed */
+} TelSsClirNetworkStatus;
+
+/**
+ * @enum TelSsClirDeviceStatus
+ * This enumeration defines the Clir Device Status
+ * The device CLIR status overrides the CLIR subscription when temporary mode is provisioned
+ */
+typedef enum {
+       TEL_CLIR_STATUS_DEFAULT,  /**< According to the subscription of CLIR */
+       TEL_CLIR_STATUS_INVOCATION, /**< CLI presentation is restricted */
+       TEL_CLIR_STATUS_SUPPRESSION, /**< CLI presentation is allowed */
+} TelSsClirDeviceStatus;
+
+/**
+ * @enum TelSsCliNetworkStatus
+ * This enumeration defines the Cli Network Status
+ */
+typedef enum {
+       TEL_SS_CLI_NOT_PROVISIONED, /**<Service not provided by the service provider */
+       TEL_SS_CLI_PROVISIONED, /**<Service is provided by the service provider */
+       TEL_SS_CLI_UNKNOWN, /**<Service status is unknown*/
+} TelSsCliNetworkStatus;
+
+/**
+ * @enum TelSsCliDeviceStatus
+ * This enumeration defines the Cli Device Status
+ */
+typedef enum {
+       TEL_SS_CLI_DISABLE, /**<CLI is disabled */
+       TEL_SS_CLI_ENABLE, /**<<CLI is enabled */
+} TelSsCliDeviceStatus;
+
+/**
+ * @enum TelSsCliType
+ * This enumeration defines the Cli Service Types
+ */
+typedef enum {
+       TEL_SS_CLI_CLIP, /**< Calling Line Identification Presentation */
+       TEL_SS_CLI_CLIR, /**< Calling Line Identification Restriction */
+       TEL_SS_CLI_COLP, /**< Connected Line Identification Presentation */
+       TEL_SS_CLI_COLR, /**< Connected Line Identification Restriction */
+       TEL_SS_CLI_CDIP, /**< Called Line Identification Presentation */
+       TEL_SS_CLI_CNAP, /**< Calling Name Presentation */
+} TelSsCliType;
+
+/**
+ * @enum TelSsUssdStatus
+ * This enumeration defines the ussd Indication Type
+ */
+typedef enum {
+       TEL_SS_USSD_STATUS_NO_ACTION_REQUIRED, /**< No further user action required */
+       TEL_SS_USSD_STATUS_ACTION_REQUIRED, /**< Further user action required*/
+       TEL_SS_USSD_STATUS_TERMINATED_BY_NETWORK, /**< USSD terminated by network */
+       TEL_SS_USSD_STATUS_OTHER_CLIENT, /**< Other local client has responded */
+       TEL_SS_USSD_STATUS_NOT_SUPPORTED, /**< Operation not supported */
+       TEL_SS_USSD_STATUS_TIME_OUT, /**< Time out when there is no response from network */
+} TelSsUssdStatus;
+
+/**
+ * @enum TelSsUssdType
+ * This enum defines the values for USSD type
+ */
+typedef enum {
+       TEL_SS_USSD_TYPE_USER_INIT, /**< USSD request type User Initiated. */
+       TEL_SS_USSD_TYPE_USER_RSP, /**< USSD request type User Response. */
+       TEL_SS_USSD_TYPE_USER_REL, /**< USSD request type User Release. */
+} TelSsUssdType;
+
+/**
+ *  This structure  defines the different parameters related to call barring.
+ */
+ typedef struct {
+       TelSsClass class; /**< SS class */
+       gboolean enable; /**< Barring enable/disable */
+       TelSsBarringType type; /**< Barring type */
+       char pwd[TEL_SS_BARRING_PASSWORD_LEN_MAX + 1]; /**< Barring password */
+} TelSsBarringInfo;
+
+/**
+ *  This structure  defines the different parameters related to Call Barring Service Information to get Status.
+ */
+typedef struct {
+       TelSsClass class; /**< SS class */
+       TelSsBarringType type; /**< Call barring types providing various barring conditions on that basis call be barred */
+} TelSsBarringGetInfo;
+
+/**
+ * This structure defines the values for ss call barring record
+ */
+typedef struct {
+       TelSsClass class; /**< SS class */
+       gboolean enable; /**< Barring enable/disable */
+       TelSsBarringType type; /**< Call barring types providing various barring conditions on that basis call be barred */
+} TelSsBarringInfoRecord;
+
+/**
+ * This structure defines the values for ss Call Barring Service Response Information
+ */
+typedef struct {
+       unsigned int record_num; /**< Number of Call barring record */
+       TelSsBarringInfoRecord *records; /**< Call barring records */
+} TelSsBarringResp;
+
+/**
+ * This structure defines the values for ss Call Barring Password Change Information
+ */
+typedef struct {
+       char old_pwd[TEL_SS_BARRING_PASSWORD_LEN_MAX + 1]; /**< Call barring password(old) */
+       char new_pwd[TEL_SS_BARRING_PASSWORD_LEN_MAX + 1]; /**< Call barring password(new) */
+} TelSsBarringPwdInfo;
+
+/**
+ * This structure defines the values for ss Call Forwarding Service Setting Information
+ */
+typedef struct {
+       TelSsClass class; /**< SS class */
+       TelSsForwardMode mode; /**< Call Forwarding Mode */
+       TelSsForwardCondition condition; /**< Call Forwarding Condition */
+       char number[TEL_SS_NUMBER_LEN_MAX + 1]; /**< Call Forwarding Number*/
+       unsigned int wait_time; /**< No reply wait time 1-30 secs */
+} TelSsForwardInfo;
+
+/**
+ * This structure defines the values for ss Call Forwarding Service Information to get Forwarding Status
+ */
+typedef struct {
+       TelSsClass class; /**< SS class */
+       TelSsForwardCondition condition; /**< Call Forwarding Condition */
+} TelSsForwardGetInfo;
+
+/**
+ * This structure defines the values for ss Call Forwarding Service Information to set Forwarding
+ */
+typedef struct {
+       TelSsClass class; /**< SS class */
+       gboolean enable; /**< Call Forwarding enable/disable */
+       TelSsForwardCondition condition; /**< Call Forwarding Condition */
+       char number[TEL_SS_NUMBER_LEN_MAX + 1]; /**< Call forwarding number */
+       unsigned int wait_time; /**< Only be available when "no reply" is enabled
+                                       or queried, range: 1 - 30 */
+} TelSsForwardingInfoRecord;
+
+/**
+ * This structure defines the values for ss Call Forwarding Service Response data
+ */
+typedef struct {
+       unsigned int record_num; /**< Number of Call Forwarding record */
+       TelSsForwardingInfoRecord *records; /**< Call Forwarding records */
+} TelSsForwardingResp;
+
+/**
+ * This structure defines the values for ss Call Waiting Service Setting Information
+ */
+typedef struct {
+       TelSsClass class; /**< SS class */
+       gboolean enable; /**< Call waiting enable/disable */
+} TelSsWaitingInfo;
+
+/**
+ * This structure defines the values for ss Call Waiting Service Response data
+ */
+typedef struct {
+       unsigned int record_num; /**< Number of Call waiting record */
+       TelSsWaitingInfo *records; /**< Call waiting records */
+} TelSsWaitingResp;
+
+/**
+ * This structure defines the values for ss CLIR status Information
+ */
+typedef struct {
+       TelSsClirNetworkStatus net_status; /**< CLIR status (network side) */
+       TelSsClirDeviceStatus dev_status;  /**< CLIR status (device side) */
+} TelSsClirStatus;
+
+/**
+ * This structure defines the values for ss CLI status Information
+ */
+typedef struct {
+       TelSsCliNetworkStatus net_status; /**< CLI status (network side) */
+       TelSsCliDeviceStatus dev_status;  /**< CLI status (device side) */
+} TelSsCliStatus;
+
+/**
+ * This structure defines the values for ss CLI Service Response data
+ */
+typedef struct {
+       TelSsCliType type; /**< line identification service types */
+       union {
+               TelSsClirStatus clir; /**< CLIR status */
+               TelSsCliStatus clip; /**< CLIP status */
+               TelSsCliStatus colp; /**< COLP status */
+               TelSsCliStatus colr; /**< COLR status */
+               TelSsCliStatus cdip; /**< CDIP status */
+               TelSsCliStatus cnap; /**< CNAP status */
+       } status; /**< union */
+} TelSsCliResp;
+
+/**
+ * This structure defines the values for ss CLI Service(include CLIR) Setting Information
+ */
+typedef struct {
+       TelSsCliType type; /**< line identification service types */
+       union {
+               TelSsClirDeviceStatus clir; /**< CLIR status */
+               TelSsCliDeviceStatus clip; /**< CLIP status */
+               TelSsCliDeviceStatus colp; /**< COLP status */
+               TelSsCliDeviceStatus colr; /**< COLR status */
+               TelSsCliDeviceStatus cdip; /**< CDIP status */
+               TelSsCliDeviceStatus cnap; /**< CNAP status */
+       } status; /**< union */
+} TelSsCliInfo;
+
+/**
+ * This structure defines the values for ss USSD Request Information
+ */
+typedef struct {
+       TelSsUssdType type; /**< USSD type */
+       unsigned char *str; /**< NULL terminated UTF-8 USSD string */
+} TelSsUssdInfo;
+
+/**
+ * This structure defines the values for ss USSD Response data
+ */
+typedef struct {
+       TelSsUssdType type; /**< USSD type */
+       TelSsUssdStatus status; /**< USSD status */
+       unsigned char *str; /**< NULL terminated UTF-8 USSD string */
+} TelSsUssdResp;
+
+/**
+ * This structure defines the values for ss USSD Notification data
+ */
+typedef struct {
+       TelSsUssdStatus status; /**< USSD status */
+       unsigned char *str; /**< NULL terminated UTF-8 USSD string */
+} TelSsUssdNoti;
+
+/**
+ *  \defgroup TAPI_EVENT TAPI Event IDs
+ *  @{
+ */
+
+/**
+ *  \defgroup TEL_EVENT_SS SS Event IDs
+ *  @{
+ */
+
+/**
+ *  @hideinitializer
+ *  @brief USSD status and string
+ *  @section subscription Event Subscription
+ *  @details Event can be subscribed with event id TEL_NOTI_SS_USSD
+ *  @sa tapi_register_event_id
+ *  @section handling Event Handling
+ *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
+ *  @retval handle #TelHandle used for registering the event
+ *  @retval evt_id TEL_NOTI_SS_USSD
+ *  @retval data reference to \ref TelSsUssdNoti structure
+ *  @retval user_data user data passed while registering the event
+ */
+#define TEL_NOTI_SS_USSD                               TELEPHONY_SS_INTERFACE":NotifyUssd"
+
+/** @}*/
+/** @}*/
+
+#ifdef __cplusplus
+}
+#endif
+
+/**
+ * @}
+ */
+
+#endif /* __TEL_SS_H__ */
diff --git a/tel-headers/introspection/call.xml b/tel-headers/introspection/call.xml
new file mode 100644 (file)
index 0000000..5c2cbef
--- /dev/null
@@ -0,0 +1,287 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE node PUBLIC
+  "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
+  "http://standards.freedesktop.org/dbus/1.0/introspect.dtd">
+
+<node>
+  <interface name="org.tizen.telephony.Call">
+
+    <!-- Refer to TAPI API: tapi_call_dial -->
+    <method name="Dial">
+      <arg direction="in" type="i" name="call_type"/>
+      <arg direction="in" type="i" name="ecc"/>
+      <arg direction="in" type="s" name="number"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_answer -->
+    <method name="Answer">
+      <arg direction="in" type="i" name="answer_type"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_end-->
+    <method name="End">
+      <arg direction="in" type="u" name="call_id"/>
+      <arg direction="in" type="i" name="end_type"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_send_dtmf -->
+    <method name="SendDtmf">
+      <arg direction="in" type="s" name="dtmf_str"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_hold -->
+    <method name="Hold">
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_active -->
+    <method name="Active">
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_swap -->
+    <method name="Swap">
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_join -->
+    <method name="Join">
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_split -->
+    <method name="Split">
+      <arg direction="in" type="u" name="call_id"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_transfer -->
+    <method name="Transfer">
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_deflect -->
+    <method name="Deflect">
+      <arg direction="in" type="s" name="deflect_to"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+     <!-- Refer to TAPI API: tapi_call_set_active_line -->
+    <method name="SetActiveLine">
+      <arg direction="in" type="i" name="active_line"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_get_active_line -->
+    <method name="GetActiveLine">
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="i" name="active_line"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_get_status -->
+    <method name="GetStatus">
+      <arg direction="in" type="u" name="call_id"/>
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="u" name="call_id"/>
+      <arg direction="out" type="i" name="call_type"/>
+      <arg direction="out" type="i" name="call_state"/>
+      <arg direction="out" type="b" name="mo_call"/>
+      <arg direction="out" type="b" name="mpty"/>
+      <arg direction="out" type="i" name="cli_validity"/>
+      <arg direction="out" type="s" name="number"/>
+      <arg direction="out" type="i" name="cni_validity"/>
+      <arg direction="out" type="s" name="name"/>
+      <arg direction="out" type="b" name="forward"/>
+      <arg direction="out" type="i" name="active_line"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_get_status_all -->
+    <method name="GetStatusAll">
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="u" name="count"/>
+      <arg direction="out" type="aa{sv}" name="status_list"/>
+    </method>
+
+    <!-- Refer to TAPI API: -->
+    <method name="SetVolumeInfo">
+      <arg direction="in" type="i" name="device"/>
+      <arg direction="in" type="u" name="volume"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_get_volume_info -->
+    <method name="GetVolumeInfo">
+      <arg direction="in" type="i" name="sound_device"/>
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="u" name="volume_info"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_set_sound_path -->
+    <method name="SetSoundPath">
+      <arg direction="in" type="i" name="path"/>
+      <arg direction="in" type="b" name="ex_volume"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_set_mute_status -->
+    <method name="SetMute">
+       <arg direction="in" type="b" name="mute"/>
+       <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_get_mute_status -->
+    <method name="GetMuteStatus">
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="b" name="mute"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_set_sound_recording -->
+    <method name="SetSoundRecording">
+      <arg direction="in" type="i" name="sound_rec"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_call_set_sound_equalization -->
+    <method name="SetSoundEqualization">
+      <arg direction="in" type="i" name="mode"/>
+      <arg direction="in" type="i" name="direction"/>
+      <arg direction="in" type="aq" name="parameter"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TEL_NOTI_VOICE_CALL_STATUS_IDLE -->
+    <signal name="VoiceCallStatusIdle">
+      <arg type="u" name="call_id"/>
+      <arg type="i" name="cause"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_VOICE_CALL_STATUS_ACTIVE -->
+    <signal name="VoiceCallStatusActive">
+      <arg type="u" name="call_id"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_VOICE_CALL_STATUS_HELD -->
+    <signal name="VoiceCallStatusHeld">
+      <arg type="u" name="call_id"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_VOICE_CALL_STATUS_DIALING -->
+    <signal name="VoiceCallStatusDialing">
+      <arg type="u" name="call_id"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_VOICE_CALL_STATUS_ALERT -->
+    <signal name="VoiceCallStatusAlert">
+      <arg type="u" name="call_id"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_VOICE_CALL_STATUS_INCOMING -->
+    <signal name="VoiceCallStatusIncoming">
+      <arg type="u" name="call_id"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_VIDEO_CALL_STATUS_IDLE -->
+    <signal name="VideoCallStatusIdle">
+      <arg type="u" name="call_id"/>
+      <arg type="i" name="end_cause"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_VIDEO_CALL_STATUS_ACTIVE -->
+    <signal name="VideoCallStatusActive">
+      <arg type="u" name="call_id"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_VIDEO_CALL_STATUS_DIALING -->
+    <signal name="VideoCallStatusDialing">
+      <arg type="u" name="call_id"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_VIDEO_CALL_STATUS_ALERT -->
+    <signal name="VideoCallStatusAlert">
+      <arg type="u" name="call_id"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_VIDEO_CALL_STATUS_INCOMING -->
+    <signal name="VideoCallStatusIncoming">
+      <arg type="u" name="call_id"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_INFO_MO_WAITING -->
+    <signal name="MoWaiting">
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_INFO_MO_FORWARDED -->
+    <signal name="MoForwarded">
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_INFO_MO_BARRED_INCOMING -->
+    <signal name="MoBarredIncoming">
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_INFO_MO_BARRED_OUTGOING -->
+    <signal name="MoBarredOutgoing">
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_INFO_MO_FORWARD_UNCONDITIONAL -->
+    <signal name="MoForwardUnconditional">
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_INFO_MO_FORWARD_CONDITIONAL -->
+    <signal name="MoForwardConditional">
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_INFO_MO_DEFLECTED -->
+    <signal name="MoDeflected">
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_INFO_TRANSFERED -->
+    <signal name="Transfered">
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_INFO_MT_FORWARDED -->
+    <signal name="MtForwarded">
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_INFO_MT_DEFLECTED -->
+    <signal name="MtDeflected">
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_INFO_HELD -->
+    <signal name="CallHeld">
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_INFO_ACTIVE -->
+    <signal name="CallActive">
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_INFO_JOINED -->
+    <signal name="CallJoined">
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_SOUND_RINGBACK_TONE -->
+    <signal name="CallSoundRingbackTone">
+      <arg type="i" name="status"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_SOUND_WBAMR -->
+    <signal name="CallSoundWbamr">
+      <arg type="i" name="status"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_SOUND_EQUALIZATION -->
+    <signal name="CallSoundEqualization">
+      <arg type="i" name="mode"/>
+      <arg type="i" name="direction"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_CALL_SOUND_CLOCK_STATUS -->
+    <signal name="CallSoundClockStatus">
+       <arg type="b" name="status"/>
+    </signal>
+
+    </interface>
+</node>
diff --git a/tel-headers/introspection/gen.sh b/tel-headers/introspection/gen.sh
new file mode 100755 (executable)
index 0000000..86fde51
--- /dev/null
@@ -0,0 +1,6 @@
+gdbus-codegen --interface-prefix org.tizen.telephony. \
+       --generate-c-code generated-code                        \
+       --c-namespace Telephony                       \
+       --c-generate-object-manager                 \
+       --generate-docbook generated-docs                       \
+       manager.xml network.xml sim.xml phonebook.xml sat.xml sap.xml gps.xml call.xml ss.xml modem.xml sms.xml
diff --git a/tel-headers/introspection/gps.xml b/tel-headers/introspection/gps.xml
new file mode 100644 (file)
index 0000000..54523e5
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!DOCTYPE node PUBLIC
+  "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
+  "http://standards.freedesktop.org/dbus/1.0/introspect.dtd">
+
+<node>
+  <interface name="org.tizen.telephony.Gps">
+
+    <!-- Refer to TAPI API: tapi_gps_confirm_measure_pos() -->
+    <method name="ConfirmMeasurePos">
+      <arg direction="in" type="s" name="data"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_gps_set_frequency_aiding() -->
+    <method name="SetFrequencyAiding">
+      <arg direction="in" type="b" name="state"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TEL_NOTI_GPS_ASSIST_DATA event -->
+    <signal name="AssistData">
+      <arg type="s" name="data"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_GPS_MEASURE_POSITION event -->
+    <signal name="MeasurePosition">
+      <arg type="s" name="data"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_GPS_RESET_ASSIST_DATA event -->
+    <signal name="ResetAssistData">
+    </signal>
+
+  </interface>
+</node>
diff --git a/tel-headers/introspection/manager.xml b/tel-headers/introspection/manager.xml
new file mode 100644 (file)
index 0000000..867b994
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!DOCTYPE node PUBLIC
+  "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
+  "http://standards.freedesktop.org/dbus/1.0/introspect.dtd">
+
+<node>
+
+    <!-- Refer to TAPI API: tel_get_cp_name_list() -->
+    <interface name="org.tizen.telephony.Manager">
+        <method name="GetModems">
+            <arg direction="out" type="as" name="modem_list"/>
+        </method>
+    </interface>
+
+</node>
diff --git a/tel-headers/introspection/modem.xml b/tel-headers/introspection/modem.xml
new file mode 100644 (file)
index 0000000..16acfe9
--- /dev/null
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!DOCTYPE node PUBLIC
+  "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
+  "http://standards.freedesktop.org/dbus/1.0/introspect.dtd">
+
+<node>
+  <interface name="org.tizen.telephony.Modem">
+
+    <!-- Refer to TAPI API: tapi_modem_set_power_status() -->
+    <method name="SetPowerStatus">
+      <arg direction="in" type="i" name="status"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_modem_set_flight_mode() -->
+    <method name="SetFlightMode">
+      <arg direction="in" type="b" name="enable"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_modem_get_flight_mode() -->
+    <method name="GetFlightMode">
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="b" name="enable"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_modem_get_version() -->
+      <method name="GetVersion">
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="s" name="software_version"/>
+      <arg direction="out" type="s" name="hardware_version"/>
+      <arg direction="out" type="s" name="calibration_date"/>
+      <arg direction="out" type="s" name="product_code"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_modem_get_imei() -->
+    <method name="GetImei">
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="s" name="imei"/>
+    </method>
+
+    <!-- Caches power status -->
+    <property name="status" type="i" access="read"/>
+
+    <!-- Caches flight mode status -->
+    <property name="flight_mode_status" type="i" access="read"/>
+
+    <!-- Caches IMEI value -->
+    <property name="imei" type="s" access="read"/>
+
+    <!--
+         Version information
+         @version: software_version, hardware_version, calibration_date, product_code
+    -->
+    <property name="version" type="a{sv}" access="read"/>
+
+  </interface>
+</node>
diff --git a/tel-headers/introspection/network.xml b/tel-headers/introspection/network.xml
new file mode 100644 (file)
index 0000000..edadd29
--- /dev/null
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!DOCTYPE node PUBLIC
+  "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
+  "http://standards.freedesktop.org/dbus/1.0/introspect.dtd">
+
+<node>
+
+  <interface name="org.tizen.telephony.Network">
+
+    <!-- Refer to TAPI API: tapi_network_get_identity_info()-->
+    <method name="GetIdentityInfo">
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="s" name="plmn"/>
+      <arg direction="out" type="s" name="short_name"/>
+      <arg direction="out" type="s" name="long_name"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_network_search()-->
+    <method name="Search">
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="u" name="count"/>
+      <arg direction="out" type="aa{sv}" name="network_list"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_network_cancel_search()-->
+    <method name="CancelSearch">
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_network_select_automatic() -->
+    <method name="SelectAutomatic">
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API:tapi_network_select_manual() -->
+    <method name="SelectManual">
+      <arg direction="in" type="s" name="plmn"/>
+      <arg direction="in" type="i" name="act"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_network_get_selection_mode() -->
+    <method name="GetSelectionMode">
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="i" name="selection_mode"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_network_set_preferred_plmn() -->
+    <method name="SetPreferredPlmn">
+      <arg direction="in" type="u" name="index"/>
+      <arg direction="in" type="s" name="plmn"/>
+      <arg direction="in" type="i" name="act"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_network_get_preferred_plmn()-->
+    <method name="GetPreferredPlmn">
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="u" name="count"/>
+      <arg direction="out" type="aa{sv}" name="list"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_network_set_mode()-->
+    <method name="SetMode">
+      <arg direction="in" type="i" name="mode"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_network_get_mode()-->
+    <method name="GetMode">
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="i" name="mode"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_network_get_neighboring_cell_info()-->
+    <method name="GetNgbrCellInfo">
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="u" name="gsm_list_count"/>
+      <arg direction="out" type="aa{sv}" name="gsm_list"/>
+      <arg direction="out" type="u" name="umts_list_count"/>
+      <arg direction="out" type="aa{sv}" name="umts_list"/>
+    </method>
+
+    <!-- Refer to TEL_NOTI_NETWORK_REGISTRATION_STATUS -->
+    <signal name="RegistrationStatus">
+      <arg type="i" name="cs_status"/>
+      <arg type="i" name="ps_status"/>
+      <arg type="i" name="act"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_NETWORK_CELL_INFO -->
+    <signal name="CellInfo">
+      <arg type="u" name="lac"/>
+      <arg type="u" name="cell_id"/>
+      <arg type="u" name="rac"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_NETWORK_IDENTITY -->
+    <signal name="Identity">
+      <arg type="s" name="plmn"/>
+      <arg type="s" name="short_name"/>
+      <arg type="s" name="long_name"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_NETWORK_RSSI -->
+    <signal name="Rssi">
+      <arg type="u" name="rssi"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_NETWORK_TIME_INFO -->
+    <signal name="TimeInfo">
+      <arg type="u" name="year"/>
+      <arg type="u" name="month"/>
+      <arg type="u" name="day"/>
+      <arg type="u" name="hour"/>
+      <arg type="u" name="minute"/>
+      <arg type="u" name="second"/>
+      <arg type="i" name="gmtoff"/>
+      <arg type="b" name="isdst"/>
+      <arg type="i" name="dstoff"/>
+      <arg type="s" name="plmn"/>
+    </signal>
+
+     <!-- Caches rssi -->
+    <property name="rssi" type="u" access="read"/>
+
+    <!-- Caches lac  -->
+    <property name="lac" type="u" access="read"/>
+
+    <!-- Caches cell_id  -->
+    <property name="cell_id" type="u" access="read"/>
+
+    <!-- Caches rac  -->
+    <property name="rac" type="u" access="read"/>
+
+    <!-- Caches act -->
+    <property name="act" type="i" access="read"/>
+
+    <!-- Caches circuit_status  -->
+    <property name="cs_status" type="i" access="read"/>
+
+    <!-- Caches packet_status  -->
+    <property name="ps_status" type="i" access="read"/>
+
+  </interface>
+
+</node>
diff --git a/tel-headers/introspection/phonebook.xml b/tel-headers/introspection/phonebook.xml
new file mode 100644 (file)
index 0000000..c3da7f1
--- /dev/null
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!DOCTYPE node PUBLIC
+  "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
+  "http://standards.freedesktop.org/dbus/1.0/introspect.dtd">
+
+<node>
+
+    <interface name="org.tizen.telephony.Phonebook">
+        <!-- Refer to TAPI API: tapi_pb_get_sim_pb_init_info () -->
+        <method name="GetInitInfo">
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="b" name="init_completed"/>
+            <arg direction="out" type="b" name="fdn"/>
+            <arg direction="out" type="b" name="adn"/>
+            <arg direction="out" type="b" name="sdn"/>
+            <arg direction="out" type="b" name="usim"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_pb_get_sim_pb_info() -->
+        <method name="GetInfo">
+            <arg direction="in" type="i" name="pb_type"/>
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="i" name="pb_type"/>
+            <arg direction="out" type="a{sv}" name="info_u"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_pb_read_sim_pb_record() -->
+        <method name="ReadRecord">
+            <arg direction="in" type="i" name="pb_type"/>
+            <arg direction="in" type="u" name="index"/>
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="u" name="index"/>
+            <arg direction="out" type="u" name="next_index"/>
+            <arg direction="out" type="i" name="pb_type"/>
+            <arg direction="out" type="a{sv}" name="rec_u"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_pb_update_sim_pb_record() -->
+        <method name="UpdateRecord">
+            <arg direction="in" type="i" name="pb_type"/>
+            <arg direction="in" type="u" name="index"/>
+            <arg direction="in" type="a{sv}" name="rec_u"/>
+            <arg direction="out" type="i" name="result"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_pb_delete_sim_pb_record() -->
+        <method name="DeleteRecord">
+            <arg direction="in" type="i" name="pb_type"/>
+            <arg direction="in" type="u" name="index"/>
+            <arg direction="out" type="i" name="result"/>
+        </method>
+
+        <!-- Refer to TEL_NOTI_PB_STATUS event -->
+        <signal name="Status">
+            <arg type="b" name="init_status"/>
+            <arg type="b" name="fdn"/>
+            <arg type="b" name="adn"/>
+            <arg type="b" name="sdn"/>
+            <arg type="b" name="usim"/>
+        </signal>
+
+    </interface>
+
+</node>
diff --git a/tel-headers/introspection/sap.xml b/tel-headers/introspection/sap.xml
new file mode 100644 (file)
index 0000000..36f0b01
--- /dev/null
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!DOCTYPE node PUBLIC
+  "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
+  "http://standards.freedesktop.org/dbus/1.0/introspect.dtd">
+
+<node>
+
+       <interface name="org.tizen.telephony.Sap">
+
+               <!-- Refer to TAPI API: tapi_sap_req_connect() -->
+               <method name="ReqConnect">
+                       <arg direction="in" type="u" name="max_msg_size"/>
+                       <arg direction="out" type="i" name="result"/>
+                       <arg direction="out" type="u" name="max_msg_size_resp"/>
+               </method>
+
+               <!-- Refer to TAPI API: tapi_sap_req_disconnect() -->
+               <method name="ReqDisconnect">
+                       <arg direction="out" type="i" name="result"/>
+               </method>
+
+               <!-- Refer to TAPI API: tapi_sap_get_atr() -->
+               <method name="GetAtr">
+                       <arg direction="out" type="i" name="result"/>
+                       <arg direction="out" type="s" name="atr"/>
+               </method>
+
+               <!-- Refer to TAPI API: tapi_sap_req_transfer_apdu() -->
+               <method name="ReqTransferApdu">
+                       <arg direction="in" type="s" name="apdu"/>
+                       <arg direction="out" type="i" name="result"/>
+                       <arg direction="out" type="s" name="apdu_resp"/>
+               </method>
+
+               <!-- Refer to TAPI API: tapi_sap_req_transport_protocol() -->
+               <method name="ReqTransportProtocol">
+                       <arg direction="in" type="i" name="protocol"/>
+                       <arg direction="out" type="i" name="result"/>
+               </method>
+
+               <!-- Refer to TAPI API: tapi_sap_req_power_operation() -->
+               <method name="ReqPowerOperation">
+                       <arg direction="in" type="i" name="power_mode"/>
+                       <arg direction="out" type="i" name="result"/>
+               </method>
+
+               <!-- Refer to TAPI API: tapi_sap_get_cardreader_status() -->
+               <method name="GetCardReaderStatus">
+                       <arg direction="out" type="i" name="result"/>
+                       <arg direction="out" type="i" name="status"/>
+               </method>
+
+               <signal name="Status">
+                       <arg type="i" name="status"/>
+               </signal>
+
+       </interface>
+
+</node>
diff --git a/tel-headers/introspection/sat.xml b/tel-headers/introspection/sat.xml
new file mode 100644 (file)
index 0000000..85b5cff
--- /dev/null
@@ -0,0 +1,265 @@
+<node>
+       <!--
+               org.tizen.telephony.Sat:
+               @short_description: Tizen Telephony SIM Application Toolkit interface
+
+               SAT interface.
+
+       -->
+       <interface name="org.tizen.telephony.Sat">
+
+               <method name="GetMainMenuInfo">
+                       <arg direction="out" type="i" name="result"/>
+                       <arg direction="out" type="i" name="command_id"/>
+                       <arg direction="out" type="b" name="menu_present"/>
+                       <arg direction="out" type="s" name="main_title"/>
+                       <arg direction="out" type="v" name="menu_item"/>
+                       <arg direction="out" type="i" name="menu_count"/>
+                       <arg direction="out" type="b" name="menu_help_info"/>
+                       <arg direction="out" type="b" name="menu_updated"/>
+               </method>
+
+               <method name="SendUiDisplayStatus">
+                       <arg direction="in" type="i" name="command_id"/>
+                       <arg direction="in" type="b" name="display_status"/>
+                       <arg direction="out" type="i" name="result"/>
+               </method>
+
+               <method name="SendUserConfirm">
+                       <arg direction="in" type="i" name="command_id"/>
+                       <arg direction="in" type="i" name="command_type"/>
+                       <arg direction="in" type="i" name="user_confirm_type"/>
+                       <arg direction="in" type="s" name="additional_data"/>
+                       <arg direction="out" type="i" name="result"/>
+               </method>
+
+               <method name="SelectMenu">
+                       <arg direction="in" type="i" name="item_identifier"/>
+                       <arg direction="in" type="b" name="help_request"/>
+                       <arg direction="out" type="i" name="result"/>
+                       <arg direction="out" type="i" name="envelop_rsp"/>
+               </method>
+
+               <method name="DownloadEvent">
+                       <arg direction="in" type="i" name="event_download_type"/>
+                       <arg direction="in" type="i" name="src_device"/>
+                       <arg direction="in" type="i" name="dest_device"/>
+                       <arg direction="in" type="v" name="download_data"/>
+                       <arg direction="out" type="i" name="result"/>
+                       <arg direction="out" type="i" name="envelop_rsp"/>
+               </method>
+
+               <method name="SendAppExecResult">
+                       <arg direction="in" type="i" name="command_id"/>
+                       <arg direction="in" type="i" name="command_type"/>
+                       <arg direction="in" type="v" name="exec_result"/>
+                       <arg direction="out" type="i" name="result"/>
+               </method>
+
+               <signal name="SetupMenu">
+                       <arg type="i" name="command_id"/>
+                       <arg type="b" name="menu_present"/>
+                       <arg type="s" name="main_title"/>
+                       <arg type="v" name="menu_item"/>
+                       <arg type="i" name="menu_count"/>
+                       <arg type="b" name="menu_help_info"/>
+                       <arg type="b" name="menu_updated"/>
+               </signal>
+
+               <signal name="DisplayText">
+                       <arg type="i" name="command_id"/>
+                       <arg type="s" name="text"/>
+                       <arg type="i" name="text_len"/>
+                       <arg type="i" name="duration"/>
+                       <arg type="b" name="priority_high"/>
+                       <arg type="b" name="user_rsp_required"/>
+                       <arg type="b" name="immediately_rsp"/>
+               </signal>
+
+               <signal name="SelectItem">
+                       <arg type="i" name="command_id"/>
+                       <arg type="b" name="help_info"/>
+                       <arg type="s" name="text"/>
+                       <arg type="i" name="text_len"/>
+                       <arg type="i" name="default_item_index"/>
+                       <arg type="i" name="menu_count"/>
+                       <arg type="v" name="menu_item"/>
+               </signal>
+
+               <signal name="GetInkey">
+                       <arg type="i" name="command_id"/>
+                       <arg type="i" name="key_type"/>
+                       <arg type="i" name="input_alphabet_type"/>
+                       <arg type="b" name="numeric"/>
+                       <arg type="b" name="help_info"/>
+                       <arg type="s" name="text"/>
+                       <arg type="i" name="text_len"/>
+                       <arg type="i" name="duration"/>
+               </signal>
+
+               <signal name="GetInput">
+                       <arg type="i" name="command_id"/>
+                       <arg type="i" name="input_alphabet_type"/>
+                       <arg type="b" name="numeric"/>
+                       <arg type="b" name="help_info"/>
+                       <arg type="b" name="echo_input"/>
+                       <arg type="s" name="text"/>
+                       <arg type="i" name="text_len"/>
+                       <arg type="i" name="response_len_max"/>
+                       <arg type="i" name="response_len_min"/>
+                       <arg type="s" name="default_text"/>
+                       <arg type="i" name="default_text_len"/>
+               </signal>
+
+               <signal name="PlayTone">
+                       <arg type="i" name="command_id"/>
+                       <arg type="s" name="text"/>
+                       <arg type="i" name="text_len"/>
+                       <arg type="i" name="tone_type"/>
+                       <arg type="i" name="duration"/>
+               </signal>
+
+               <signal name="SendSMS">
+                       <arg type="i" name="command_id"/>
+                       <arg type="s" name="text"/>
+                       <arg type="i" name="text_len"/>
+                       <arg type="b" name="packing_required"/>
+                       <arg type="i" name="ton"/>
+                       <arg type="i" name="npi"/>
+                       <arg type="s" name="dialling_number"/>
+                       <arg type="i" name="number_len"/>
+                       <arg type="i" name="tpdu_type"/>
+                       <arg type="v" name="tpdu_data"/>
+                       <arg type="i" name="tpdu_data_len"/>
+               </signal>
+
+               <signal name="SendSS">
+                       <arg type="i" name="command_id"/>
+                       <arg type="s" name="text"/>
+                       <arg type="i" name="text_len"/>
+                       <arg type="i" name="ton"/>
+                       <arg type="i" name="npi"/>
+                       <arg type="s" name="ss_string"/>
+               </signal>
+
+               <signal name="SetupUSSD">
+                       <arg type="i" name="command_id"/>
+                       <arg type="s" name="text"/>
+                       <arg type="i" name="text_len"/>
+                       <arg type="s" name="ussd_string"/>
+               </signal>
+
+               <signal name="SetupCall">
+                       <arg type="i" name="command_id"/>
+                       <arg type="s" name="confirm_text"/>
+                       <arg type="i" name="confirm_text_len"/>
+                       <arg type="s" name="text"/>
+                       <arg type="i" name="text_len"/>
+                       <arg type="i" name="call_type"/>
+                       <arg type="s" name="call_number"/>
+                       <arg type="i" name="duration"/>
+               </signal>
+
+               <signal name="SetupEventList">
+                       <arg type="i" name="event_cnt"/>
+                       <arg type="v" name="evt_list"/>
+               </signal>
+
+               <signal name="SetupIdleModeText">
+                       <arg type="i" name="command_id"/>
+                       <arg type="s" name="text"/>
+                       <arg type="i" name="text_len"/>
+               </signal>
+
+               <signal name="OpenChannel">
+                       <arg type="i" name="command_id"/>
+                       <arg type="s" name="text"/>
+                       <arg type="i" name="text_len"/>
+                       <arg type="b" name="immediate_link"/>
+                       <arg type="b" name="auto_reconnection"/>
+                       <arg type="b" name="bg_mode"/>
+                       <arg type="i" name="bearer_type"/>
+                       <arg type="v" name="bearer_param"/>
+                       <arg type="i" name="buffer_size"/>
+                       <arg type="i" name="protocol_type"/>
+                       <arg type="i" name="port_number"/>
+                       <arg type="i" name="data_dest_address_type"/>
+                       <arg type="s" name="data_dest_address"/>
+                       <arg type="v" name="bearer_detail"/>
+               </signal>
+
+               <signal name="CloseChannel">
+                       <arg type="i" name="command_id"/>
+                       <arg type="s" name="text"/>
+                       <arg type="i" name="text_len"/>
+                       <arg type="i" name="channel_id"/>
+               </signal>
+
+               <signal name="ReceiveData">
+                       <arg type="i" name="command_id"/>
+                       <arg type="s" name="text"/>
+                       <arg type="i" name="text_len"/>
+                       <arg type="i" name="channel_id"/>
+                       <arg type="i" name="data_len"/>
+               </signal>
+
+               <signal name="SendData">
+                       <arg type="i" name="command_id"/>
+                       <arg type="s" name="text"/>
+                       <arg type="i" name="text_len"/>
+                       <arg type="i" name="channel_id"/>
+                       <arg type="b" name="send_data_immediately"/>
+                       <arg type="v" name="channel_data"/>
+                       <arg type="i" name="channel_data_len"/>
+               </signal>
+
+               <signal name="GetChannelStatus">
+                       <arg type="i" name="command_id"/>
+               </signal>
+
+               <signal name="Refresh">
+                       <arg type="i" name="command_id"/>
+                       <arg type="i" name="refresh_type"/>
+                       <arg type="v" name="file_list"/>
+               </signal>
+
+               <signal name="MoreTime">
+               </signal>
+
+               <signal name="SendDtmf">
+                       <arg type="i" name="command_id"/>
+                       <arg type="s" name="text"/>
+                       <arg type="i" name="text_len"/>
+                       <arg type="s" name="dtmf_str"/>
+                       <arg type="i" name="dtmf_str_len"/>
+               </signal>
+
+               <signal name="LaunchBrowser">
+                       <arg type="i" name="command_id"/>
+                       <arg type="i" name="launch_type"/>
+                       <arg type="i" name="browser_id"/>
+                       <arg type="s" name="url"/>
+                       <arg type="i" name="url_len"/>
+                       <arg type="s" name="gateway_proxy"/>
+                       <arg type="i" name="gateway_proxy_len"/>
+                       <arg type="s" name="text"/>
+                       <arg type="i" name="text_len"/>
+               </signal>
+
+               <signal name="ProvideLocalInfo">
+                       <arg type="i" name="info_type"/>
+               </signal>
+
+               <signal name="LanguageNotification">
+                       <arg type="i" name="command_id"/>
+                       <arg type="i" name="language"/>
+                       <arg type="b" name="b_specified"/>
+               </signal>
+
+               <signal name="EndProactiveSession">
+                       <arg type="i" name="command_type"/>
+               </signal>
+
+       </interface>
+
+</node>
diff --git a/tel-headers/introspection/sim.xml b/tel-headers/introspection/sim.xml
new file mode 100644 (file)
index 0000000..6cfa0eb
--- /dev/null
@@ -0,0 +1,218 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!DOCTYPE node PUBLIC
+  "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
+  "http://standards.freedesktop.org/dbus/1.0/introspect.dtd">
+
+<node>
+
+    <interface name="org.tizen.telephony.Sim">
+        <!-- Refer to TAPI API: tapi_sim_get_imsi () -->
+        <method name="GetImsi">
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="s" name="mcc"/>
+            <arg direction="out" type="s" name="mnc"/>
+            <arg direction="out" type="s" name="msin"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_get_ecc () -->
+        <method name="GetEcc">
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="u" name="count"/>
+            <arg direction="out" type="aa{sv}" name="ecc_list"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_get_iccid () -->
+        <method name="GetIccid">
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="s" name="iccid"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_get_language () -->
+        <method name="GetLanguage">
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="i" name="language"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_set_language () -->
+        <method name="SetLanguage">
+            <arg direction="in" type="i" name="language"/>
+            <arg direction="out" type="i" name="result"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_get_callforwarding_info () -->
+        <method name="GetCallForwardingInfo">
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="u" name="profile_count"/>
+            <arg direction="out" type="aa{sv}" name="cf"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_get_messagewaiting_info () -->
+        <method name="GetMessageWaitingInfo">
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="u" name="profile_count"/>
+            <arg direction="out" type="aa{sv}" name="mw"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_set_messagewaiting_info () -->
+        <method name="SetMessageWaitingInfo">
+            <arg direction="in" type="y" name="profile_id"/>
+            <arg direction="in" type="b" name="count_valid"/>
+            <arg direction="in" type="a(by)" name="msg_waiting"/>
+            <arg direction="out" type="i" name="result"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_get_mailbox_info () -->
+        <method name="GetMailboxInfo">
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="u" name="alpha_id_max_len"/>
+            <arg direction="out" type="u" name="count"/>
+            <arg direction="out" type="aa{sv}" name="list"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_set_mailbox_info () -->
+        <method name="SetMailboxInfo">
+            <arg direction="in" type="y" name="profile_id"/>
+            <arg direction="in" type="i" name="mb_type"/>
+            <arg direction="in" type="u" name="alpha_id_len"/>
+            <arg direction="in" type="s" name="alpha_id"/>
+            <arg direction="in" type="s" name="number"/>
+            <arg direction="out" type="i" name="result"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_get_msisdn () -->
+        <method name="GetMsisdn">
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="u" name="count"/>
+            <arg direction="out" type="aa{sv}" name="list"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_get_spn () -->
+        <method name="GetSpn">
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="i" name="display_condition"/>
+            <arg direction="out" type="s" name="spn"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_get_cphs_netname () -->
+        <method name="GetCphsNetName">
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="s" name="full_name"/>
+            <arg direction="out" type="s" name="short_name"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_get_sp_display_info() -->
+        <method name="GetSpDisplayInfo">
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="u" name="count"/>
+            <arg direction="out" type="aa{sv}" name="list"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_req_authentication () -->
+        <method name="ReqAuthentication">
+            <arg direction="in" type="i" name="auth_type"/>
+            <arg direction="in" type="s" name="rand_data"/>
+            <arg direction="in" type="s" name="autn_data"/>
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="i" name="auth_type"/>
+            <arg direction="out" type="s" name="resp_data"/>
+            <arg direction="out" type="s" name="authentication_key"/>
+            <arg direction="out" type="s" name="cipher_data"/>
+            <arg direction="out" type="s" name="integrity_data"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_verify_pins () -->
+        <method name="VerifyPins">
+            <arg direction="in" type="i" name="pin_type"/>
+            <arg direction="in" type="s" name="pw"/>
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="i" name="pin_type"/>
+            <arg direction="out" type="u" name="retry_count"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_verify_puks () -->
+        <method name="VerifyPuks">
+            <arg direction="in" type="i" name="puk_type"/>
+            <arg direction="in" type="s" name="puk_pw"/>
+            <arg direction="in" type="s" name="new_pin_pw"/>
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="i" name="puk_type"/>
+            <arg direction="out" type="u" name="retry_count"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_change_pins () -->
+        <method name="ChangePins">
+            <arg direction="in" type="i" name="pin_type"/>
+            <arg direction="in" type="s" name="old_pw"/>
+            <arg direction="in" type="s" name="new_pw"/>
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="i" name="pin_type"/>
+            <arg direction="out" type="u" name="retry_count"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_disable_facility () -->
+        <method name="DisableFacility">
+            <arg direction="in" type="i" name="lock_type"/>
+            <arg direction="in" type="s" name="pw"/>
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="i" name="type"/>
+            <arg direction="out" type="u" name="retry_count"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_enable_facility () -->
+        <method name="EnableFacility">
+            <arg direction="in" type="i" name="lock_type"/>
+            <arg direction="in" type="s" name="pw"/>
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="i" name="type"/>
+            <arg direction="out" type="u" name="retry_count"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_get_facility () -->
+        <method name="GetFacility">
+            <arg direction="in" type="i" name="type"/>
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="i" name="type"/>
+            <arg direction="out" type="i" name="f_status"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_get_lock_info () -->
+        <method name="GetLockInfo">
+            <arg direction="in" type="i" name="type"/>
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="i" name="lock_type"/>
+            <arg direction="out" type="i" name="lock_status"/>
+            <arg direction="out" type="u" name="retry_count"/>
+        </method>
+
+        <!--Refer to TAPI API: tapi_sim_req_apdu () -->
+        <method name="ReqApdu">
+            <arg direction="in" type="s" name="apdu"/>
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="s" name="apdu_resp"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_sim_req_atr () -->
+        <method name="ReqAtr">
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="s" name="atr"/>
+        </method>
+
+       <!-- card_status: SIM Card Status -->
+       <property name="card_status" type="a{sv}" access="read"/>
+
+        <!-- sim_type: Type of SIM -->
+        <property name="sim_type" type="i" access="read"/>
+
+        <!-- mcc: Mobile Country Code -->
+        <property name="mcc" type="s" access="read"/>
+
+        <!-- mnc: Mobile Network Code -->
+        <property name="mnc" type="s" access="read"/>
+
+        <!-- msin: Mobile Subscriber Identification Number -->
+        <property name="msin" type="s" access="read"/>
+
+    </interface>
+
+</node>
diff --git a/tel-headers/introspection/sms.xml b/tel-headers/introspection/sms.xml
new file mode 100644 (file)
index 0000000..6928181
--- /dev/null
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!DOCTYPE node PUBLIC
+  "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
+  "http://standards.freedesktop.org/dbus/1.0/introspect.dtd">
+
+<node>
+  <interface name="org.tizen.telephony.Sms">
+
+    <!-- Refer to TAPI API: tapi_sms_send() -->
+    <method name="Send">
+      <arg direction="in" type="b" name="more_msgs"/>
+      <arg direction="in" type="a{sv}" name="sca"/>
+      <arg direction="in" type="s" name="tpdu"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_sms_read_sms_in_sim() -->
+    <method name="ReadInSim">
+      <arg direction="in" type="u" name="index"/>
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="i" name="status"/>
+      <arg direction="out" type="a{sv}" name="sca"/>
+      <arg direction="out" type="s" name="tpdu"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_sms_write_sms_in_sim() -->
+    <method name="WriteInSim">
+      <arg direction="in" type="i" name="status"/>
+      <arg direction="in" type="a{sv}" name="sca"/>
+      <arg direction="in" type="s" name="tpdu"/>
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="u" name="index"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_sms_delete_sms_in_sim() -->
+    <method name="DeleteInSim">
+      <arg direction="in" type="u" name="index"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_sms_get_count() -->
+    <method name="GetCount">
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="u" name="total_count"/>
+      <arg direction="out" type="u" name="used_count"/>
+      <arg direction="out" type="au" name="index_list"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_sms_set_cb_config() -->
+    <method name="SetCbConfig">
+      <arg direction="in" type="b" name="cb_enabled"/>
+      <arg direction="in" type="u" name="msg_id_range_cnt"/>
+      <arg direction="in" type="aa{sv}" name="msg_ids"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_sms_get_cb_config() -->
+    <method name="GetCbConfig">
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="b" name="cb_enabled"/>
+      <arg direction="out" type="u" name="msg_id_range_cnt"/>
+      <arg direction="out" type="aa{sv}" name="msg_ids"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_sms_get_parameters() -->
+    <method name="GetParameters">
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="u" name="count"/>
+      <arg direction="out" type="aa{sv}" name="params"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_sms_set_parameters() -->
+    <method name="SetParameters">
+      <arg direction="in" type="u" name="index"/>
+      <arg direction="in" type="a{sv}" name="sca"/>
+      <arg direction="in" type="q" name="vp"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_sms_send_deliver_report() -->
+    <method name="SendDeliverReport">
+      <arg direction="in" type="i" name="report"/>
+      <arg direction="in" type="a{sv}" name="sca"/>
+      <arg direction="in" type="s" name="tpdu"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_sms_set_sca() -->
+    <method name="SetSca">
+      <arg direction="in" type="a{sv}" name="sca"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_sms_get_sca() -->
+    <method name="GetSca">
+      <arg direction="out" type="i" name="result"/>
+      <arg direction="out" type="a{sv}" name="sca"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_sms_set_memory_status() -->
+    <method name="SetMemoryStatus">
+      <arg direction="in" type="b" name="available"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TAPI API: tapi_sms_set_message_status() -->
+    <method name="SetMessageStatus">
+      <arg direction="in" type="u" name="index"/>
+      <arg direction="in" type="i" name="status"/>
+      <arg direction="out" type="i" name="result"/>
+    </method>
+
+    <!-- Refer to TEL_NOTI_SMS_INCOM_MSG event -->
+    <signal name="IncomingMsg">
+      <arg type="a{sv}" name="sca"/>
+      <arg type="s" name="tpdu"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_SMS_CB_INCOM_MSG event -->
+    <signal name="IncomingCbMsg">
+      <arg type="i" name="cb_type"/>
+      <arg type="s" name="cb_data"/>
+    </signal>
+
+    <!-- Refer to TEL_NOTI_SMS_ETWS_INCOM_MSG event -->
+    <signal name="IncomingEtwsMsg">
+      <arg type="i" name="etws_type"/>
+      <arg type="s" name="etws_data"/>
+    </signal>
+
+    <!-- Caches memory available status -->
+    <property name="SimMemoryStatus" type="b" access="read"/>
+
+    <!-- Caches service init status -->
+    <property name="InitStatus" type="b" access="read"/>
+
+  </interface>
+</node>
diff --git a/tel-headers/introspection/ss.xml b/tel-headers/introspection/ss.xml
new file mode 100644 (file)
index 0000000..6ece3e5
--- /dev/null
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!DOCTYPE node PUBLIC
+  "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
+  "http://standards.freedesktop.org/dbus/1.0/introspect.dtd">
+
+<node>
+
+    <interface name="org.tizen.telephony.Ss">
+
+        <!-- Refer to TAPI API: tapi_ss_set_barring () -->
+        <method name="SetBarring">
+            <arg direction="in" type="i" name="class"/>
+            <arg direction="in" type="b" name="enable"/>
+            <arg direction="in" type="i" name="type"/>
+            <arg direction="in" type="s" name="pwd"/>
+            <arg direction="out" type="i" name="result"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_ss_get_barring_status () -->
+        <method name="GetBarringStatus">
+            <arg direction="in" type="i" name="class"/>
+            <arg direction="in" type="i" name="type"/>
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="u" name="record_num"/>
+            <arg direction="out" type="aa{sv}" name="records"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_ss_change_barring_password () -->
+        <method name="ChangeBarringPassword">
+            <arg direction="in" type="s" name="old_pwd"/>
+            <arg direction="in" type="s" name="new_pwd"/>
+            <arg direction="out" type="i" name="result"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_ss_set_forwarding () -->
+        <method name="SetForwarding">
+            <arg direction="in" type="i" name="class"/>
+            <arg direction="in" type="i" name="mode"/>
+            <arg direction="in" type="i" name="condition"/>
+            <arg direction="in" type="s" name="number"/>
+            <arg direction="in" type="u" name="wait_time"/>
+            <arg direction="out" type="i" name="result"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_ss_get_forwarding_status () -->
+        <method name="GetForwardingStatus">
+           <arg direction="in" type="i" name="class"/>
+           <arg direction="in" type="i" name="condition"/>
+           <arg direction="out" type="i" name="result"/>
+           <arg direction="out" type="u" name="record_num"/>
+           <arg direction="out" type="aa{sv}" name="records"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_ss_set_waiting () -->
+        <method name="SetWaiting">
+           <arg direction="in" type="i" name="class"/>
+           <arg direction="in" type="b" name="enable"/>
+           <arg direction="out" type="i" name="result"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_ss_get_waiting_status () -->
+        <method name="GetWaitingStatus">
+           <arg direction="in" type="i" name="class"/>
+           <arg direction="out" type="i" name="result"/>
+           <arg direction="out" type="u" name="record_num"/>
+           <arg direction="out" type="aa{sv}" name="records"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_ss_set_cli () -->
+        <method name="SetCli">
+            <arg direction="in" type="i" name="type"/>
+            <arg direction="in" type="i" name="status"/>
+            <arg direction="out" type="i" name="result"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_ss_get_cli_status () -->
+        <method name="GetCliStatus">
+            <arg direction="in" type="i" name="type"/>
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="i" name="type"/>
+            <arg direction="out" type="i" name="net_status"/>
+            <arg direction="out" type="i" name="dev_status"/>
+        </method>
+
+        <!-- Refer to TAPI API: tapi_ss_send_ussd_request () -->
+        <method name="SendUssdRequest">
+            <arg direction="in" type="i" name="type"/>
+            <arg direction="in" type="s" name="str"/>
+            <arg direction="out" type="i" name="result"/>
+            <arg direction="out" type="i" name="type"/>
+            <arg direction="out" type="i" name="status"/>
+            <arg direction="out" type="s" name="str"/>
+        </method>
+
+        <!-- Refer to TEL_NOTI_SS_USSD event -->
+        <signal name="NotifyUssd">
+            <arg type="i" name="status"/>
+            <arg type="s" name="str"/>
+        </signal>
+
+    </interface>
+
+</node>
diff --git a/tel-headers/tel-headers.pc.in b/tel-headers/tel-headers.pc.in
new file mode 100644 (file)
index 0000000..54be8bf
--- /dev/null
@@ -0,0 +1,12 @@
+prefix=@PREFIX@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: tcore
+Description: Telephony headers
+Version: 1.0
+Requires: glib-2.0 gobject-2.0 gio-unix-2.0 gio-2.0
+Libs: -L${libdir} -ldl -ltel-headers
+Cflags: -I${includedir}/tel-headers/include -I${includedir}/tel-headers/introspection
+