include/alp/mobile_operator.h File Reference


Detailed Description

this public header file contains the prototypes to get operators information

#include <alp/mobile_services.h>

Go to the source code of this file.

Data Structures

struct  _AlpMblOperatorApn
struct  _AlpMblOperatorList

Defines

#define ALP_MBL_OPERATOR_APN_TYPE_CSD   1
#define ALP_MBL_OPERATOR_APN_TYPE_GPRS   2
#define ALP_MBL_OPERATOR_INVALID_OPERATOR_ID   ((AlpMblOperatorId) 0)
#define ALP_MBL_OPERATOR_NOTIFICATION_LOGO_AVAILABLE   ((AlpMblNotificationId) 2)
 The operator logo path is available.
#define ALP_MBL_OPERATOR_NOTIFICATION_NAME_AVAILABLE   ((AlpMblNotificationId) 1)
 The name of an operator is available.
#define ALP_MBL_OPERATOR_STATUS_AVAILABLE   ((AlpMblOperatorStatus) 1)
 The operator is available.
#define ALP_MBL_OPERATOR_STATUS_CURRENT   ((AlpMblOperatorStatus) 2)
 The operator is the current one.
#define ALP_MBL_OPERATOR_STATUS_FORBIDDEN   ((AlpMblOperatorStatus) 3)
 The operator is forbidden.
#define ALP_MBL_OPERATOR_STATUS_UNKNOW   ((AlpMblOperatorStatus) 0)
 The operator status is unknown.

Typedefs

typedef _AlpMblOperatorApn AlpMblOperatorApn
typedef char AlpMblOperatorApnAddress [32]
typedef char AlpMblOperatorApnLogin [32]
typedef char AlpMblOperatorApnName [32]
typedef char AlpMblOperatorApnPassword [32]
typedef unsigned char AlpMblOperatorId
typedef _AlpMblOperatorList AlpMblOperatorList
typedef void(* AlpMblOperatorLogoAvailableCallbackPtr )(void *iUserDataP, AlpMblOperatorId iOperatorId, AlpMblOperatorLogoPath iLogoPath)
typedef char AlpMblOperatorLogoPath [256]
typedef char AlpMblOperatorName [32]
typedef void(* AlpMblOperatorNameAvailableCallbackPtr )(void *iUserDataP, AlpMblOperatorId iOperatorId, AlpMblOperatorName iName)
typedef char AlpMblOperatorNumber [8]
 Operator number could start with "00" so we store it as string instead of integer. In GSM world, operator number is compose of MCC (3 digits) and MNC (2 or 3 digits).
typedef uint8_t AlpMblOperatorStatus

Functions

alp_status_t alp_mbl_operator_get_access_technology (AlpMblOperatorId iOperatorId, AlpMblAccessTechnology *oAccessTechnologyP)
alp_status_t alp_mbl_operator_get_apn (AlpMblOperatorId iOperatorId, uint32_t iOperatorApnIndex, AlpMblOperatorApn *oOperatorApnP)
alp_status_t alp_mbl_operator_get_apn_count (AlpMblOperatorId iOperatorId, uint32_t *oOperatorApnCountP)
alp_status_t alp_mbl_operator_get_logo (AlpMblOperatorId iOperatorId, AlpMblOperatorLogoPath *oOperatorLogoPathP)
alp_status_t alp_mbl_operator_get_name (AlpMblOperatorId iOperatorId, AlpMblOperatorName *oOperatorNameP)
alp_status_t alp_mbl_operator_get_number (AlpMblOperatorId iOperatorId, AlpMblOperatorNumber *oOperatorNumberP)
alp_status_t alp_mbl_operator_get_status (AlpMblOperatorId iOperatorId, AlpMblOperatorStatus *oStatusP)


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.