include/alp/mobile_services.h File Reference


Detailed Description

Public generic header file for the mobile library API.

#include <stdlib.h>
#include <alp/types.h>
#include <alp/sysclass.h>

Go to the source code of this file.

Data Structures

struct  _AlpMblCost
struct  _AlpMblDataCall
struct  _AlpMblDataCallList
struct  _AlpMblObserver
struct  _AlpMblUsimList

Defines

#define ALP_MBL_ACCESS_TECHNOLOGY_EDGE   ((AlpMblAccessTechnology) 4)
 EDGE access technology.
#define ALP_MBL_ACCESS_TECHNOLOGY_GPRS   ((AlpMblAccessTechnology) 2)
 GPRS access technology.
#define ALP_MBL_ACCESS_TECHNOLOGY_GSM   ((AlpMblAccessTechnology) 1)
 GSM access technology.
#define ALP_MBL_ACCESS_TECHNOLOGY_HSDPA   ((AlpMblAccessTechnology) 5)
 HSDPA access technology.
#define ALP_MBL_ACCESS_TECHNOLOGY_HSUPA   ((AlpMblAccessTechnology) 6)
 HSUPA access technology.
#define ALP_MBL_ACCESS_TECHNOLOGY_UMTS   ((AlpMblAccessTechnology) 3)
 UMTS access technology.
#define ALP_MBL_ACCESS_TECHNOLOGY_UNKNOW   ((AlpMblAccessTechnology) 0)
 Unknow access technology.
#define ALP_MBL_AUDIO_SERVICE_ID   ((AlpMblServiceId) 10)
#define ALP_MBL_CALL_SERVICE_ID   ((AlpMblServiceId) 6)
#define ALP_MBL_LINE_SERVICE_ID   ((AlpMblServiceId) 11)
#define ALP_MBL_MOBILE_CTX_CELL_SERVICE_ID   ((AlpMblServiceId) 3)
#define ALP_MBL_MOBILE_CTX_SERVICE_ID   ((AlpMblServiceId) 2)
#define ALP_MBL_MOBILE_SERVICE_ID   ((AlpMblServiceId) 1)
#define ALP_MBL_NETWORK_SERVICE_ID   ((AlpMblServiceId) 4)
#define ALP_MBL_NO_SERVICE_ID   ((AlpMblServiceId) 0)
#define ALP_MBL_OPERATOR_SERVICE_ID   ((AlpMblServiceId) 5)
#define ALP_MBL_PHONEBOOK_SERVICE_ID   ((AlpMblServiceId) 12)
#define ALP_MBL_SPEED_DIAL_SERVICE_ID   ((AlpMblServiceId) 9)
#define ALP_MBL_USAT_SERVICE_ID   ((AlpMblServiceId) 8)
#define ALP_MBL_USIM_SERVICE_ID   ((AlpMblServiceId) 7)
#define ALP_MOBILE_SERVICES_H   1
#define ALP_STATUS_MBL_AUDIO_NO_CONNECTED_DEVICE   ((alp_status_t) (ALP_CLASS_MOBILE | 0x001D0000))
 No audio device connected.
#define ALP_STATUS_MBL_BLUETOOTH_FAILURE   ((alp_status_t) (ALP_CLASS_MOBILE | 0x001C0000))
 Bluetooth failure.
#define ALP_STATUS_MBL_BUFFER_SIZE_ERROR   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00160000))
 Buffer size error.
#define ALP_STATUS_MBL_CARD_FILE_NOT_FOUND   ((alp_status_t) (ALP_CLASS_MOBILE | 0x001F0000))
 The SIM/USIM card file is not found.
#define ALP_STATUS_MBL_ENTRY_NOT_FOUND   ((alp_status_t) (ALP_CLASS_MOBILE | 0x001B0000))
 Entry not found.
#define ALP_STATUS_MBL_FEATURE_NOT_SUPPORTED   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00190000))
 Feature not supported.
#define ALP_STATUS_MBL_FILE_ERROR   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00180000))
 File error (fopen, fread,...).
#define ALP_STATUS_MBL_GENERIC_ERROR   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00100000))
 Generic error.
#define ALP_STATUS_MBL_ICON_NOT_FOUND   ((alp_status_t) (ALP_CLASS_MOBILE | 0x001A0000))
 Icon not found.
#define ALP_STATUS_MBL_INVALID_OBJECT   ((alp_status_t) (ALP_CLASS_MOBILE | 0x001E0000))
 ID not found, or the command is not valid for this object.
#define ALP_STATUS_MBL_INVALID_PARAMETER   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00130000))
 Invalid parameter.
#define ALP_STATUS_MBL_IPC_ERROR   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00120000))
 IPC error.
#define ALP_STATUS_MBL_MEMORY_ERROR   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00110000))
 Memory allocation error.
#define ALP_STATUS_MBL_NO_SIM_CARD_INSERTED   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00220000))
 no SIM card is inserted
#define ALP_STATUS_MBL_OPERATION_NOT_ALLOWED   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00210000))
 The specified operation is not allowed.
#define ALP_STATUS_MBL_PHONEBOOK_EMPTY   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00250000))
 the SIM phonebook is empty (no entry)
#define ALP_STATUS_MBL_PHONEBOOK_EXCEED_MEMORY   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00260000))
 Not enough capacity in the SIM phonebook memory to complete the operation.
#define ALP_STATUS_MBL_PHONEBOOK_MEMORY_FULL   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00240000))
 the SIM phonebook memory is full
#define ALP_STATUS_MBL_PROVISIONING_FILE_NOT_PRESENT   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00270000))
 the provisioning file is not present in the WAP provisioning file structure
#define ALP_STATUS_MBL_SECURITY_ERROR   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00200000))
 Permission denied.
#define ALP_STATUS_MBL_SIM_CARD_BUSY   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00230000))
 the SIM card is already sollicited by an import/export operation or the phonebook access is not yet ready
#define ALP_STATUS_MBL_SIM_CARD_LOCKED   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00280000))
 The SIM card is locked. It must be unlocked before accessing to this API again.
#define ALP_STATUS_MBL_SOCKET_ERROR   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00170000))
 Socket error.
#define ALP_STATUS_MBL_TELEPHONY_ERROR   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00150000))
 Telephony error.
#define ALP_STATUS_MBL_VALUE_NOT_AVAILABLE   ((alp_status_t) (ALP_CLASS_MOBILE | 0x00140000))
 Value not available.

Typedefs

typedef unsigned char AlpMblAccessTechnology
typedef char AlpMblAddress [64]
typedef char AlpMblAddressScheme [32]
typedef unsigned char AlpMblAuthType
typedef unsigned char AlpMblCallAction
 Deprecated, do not use. Use AlpMblUsatUserConfirmation.
typedef unsigned char AlpMblCmdId
typedef unsigned long AlpMblCncProfileId
typedef unsigned char AlpMblContextId
 Context identifier.
typedef char AlpMblContextType [12]
 Context type.
typedef _AlpMblCost AlpMblCost
typedef char AlpMblCurrency [4]
 Currency: "EUR"...
typedef _AlpMblDataCall AlpMblDataCall
typedef _AlpMblDataCallList AlpMblDataCallList
typedef unsigned char AlpMblFunctionId
typedef unsigned char AlpMblNetworkId
typedef unsigned char AlpMblNotificationId
typedef _AlpMblObserver AlpMblObserver
typedef unsigned char AlpMblServiceId
typedef unsigned char AlpMblUsatUserConfirmation
typedef unsigned char AlpMblUsimId
typedef _AlpMblUsimList AlpMblUsimList


Define Documentation

#define ALP_MOBILE_SERVICES_H   1
 


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

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