Network Data Structures


Files

file  TelNetwork.h
 This file serves as a "C" header file defines structures for Tapi Network Services.
It contains a sample set of constants, enums,structs that would be required by applications.

Data Structures

struct  TelNetworkTimeAndZone_t
struct  TelNetworkSystemId_t
struct  TelNetworkConfigSettings_t
struct  TelNetworkInfo_t
struct  TelNetworkList_t
struct  TelNetworkRadioInfo_t

Defines

#define TAPI_NETWORK_ORDER_MAX   5
#define TAPI_NETWORK_LIST_MAX   15
#define TAPI_NETWORK_NAME_LEN_MAX   40
#define TAPI_NETWORK_SPN_LEN_MAX   20

Enumerations

enum  TelNetworkSelectionMode_t { TAPI_NETWORK_SELECTIONMODE_AUTOMATIC, TAPI_NETWORK_SELECTIONMODE_MANUAL }
enum  TelNetworkSystemIdFormat_t { TAPI_NETWORK_SYSID_FORMAT_SID, TAPI_NETWORK_SYSID_FORMAT_PLMN }
enum  TelNetworkServiceDomain_t { TAPI_NETWORK_SERVICE_DOMAIN_COMBINED, TAPI_NETWORK_SERVICE_DOMAIN_PS, TAPI_NETWORK_SERVICE_DOMAIN_CS, TAPI_NETWORK_SERVICE_DOMAIN_AUTOMATIC }
enum  TelNetworkMode_t {
  TAPI_NETWORK_MODE_EMERGENCY, TAPI_NETWORK_MODE_AUTOMATIC, TAPI_NETWORK_MODE_CDMA, TAPI_NETWORK_MODE_GSM,
  TAPI_NETWORK_MODE_WCDMA, TAPI_NETWORK_MODE_WLAN
}
enum  TelNetworkServiceLevel_t { TAPI_NETWORK_SERVICE_LEVEL_NO, TAPI_NETWORK_SERVICE_LEVEL_EMERGENCY, TAPI_NETWORK_SERVICE_LEVEL_FULL, TAPI_NETWORK_SERVICE_LEVEL_SEARCH }
enum  TelNetworkServiceType_t {
  TAPI_NETWORK_SERVICE_TYPE_NO_SVE, TAPI_NETWORK_SERVICE_TYPE_LIMITED, TAPI_NETWORK_SERVICE_TYPE_CS, TAPI_NETWORK_SERVICE_TYPE_PS,
  TAPI_NETWORK_SERVICE_TYPE_COMBINED
}
enum  TelNetworkSystemType_t {
  TAPI_NETWORK_SYSTEM_NO_SRV, TAPI_NETWORK_SYSTEM_CDMA, TAPI_NETWORK_SYSTEM_TDMA, TAPI_NETWORK_SYSTEM_GSM,
  TAPI_NETWORK_SYSTEM_GPRS, TAPI_NETWORK_SYSTEM_EGPRS, TAPI_NETWORK_SYSTEM_PCS1900, TAPI_NETWORK_SYSTEM_UMTS,
  TAPI_NETWORK_SYSTEM_GSM_AND_UMTS
}
enum  TelNetworkBandPreferred_t { TAPI_NETWORK_BAND_MODE_PREFERRED = 0x01, TAPI_NETWORK_BAND_MODE_ONLY = 0x02 }
enum  TelNetworkBand_t {
  TAPI_NETWORK_BAND_TYPE_ANY = 0x00, TAPI_NETWORK_BAND_TYPE_GSM850, TAPI_NETWORK_BAND_TYPE_GSM_900_1800, TAPI_NETWORK_BAND_TYPE_GSM1900,
  TAPI_NETWORK_BAND_TYPE_GSM, TAPI_NETWORK_BAND_TYPE_WCDMA, TAPI_NETWORK_BAND_TYPE_WCDMA850, TAPI_NETWORK_BAND_TYPE_WCDMA1900,
  TAPI_NETWORK_BAND_TYPE_WCDMA2100
}
enum  TelNetworkOperationCause_t {
  TAPI_NETWORK_NO_ERR = 0x00, TAPI_NETWORK_OPERATION_FAILED, TAPI_NETWORK_PHONE_IN_USE_ERR, TAPI_NETWORK_OFFLINE_ERR,
  TAPI_NETWORK_CONFIG_SETTINGS_FAILURE_ERR, TAPI_NETWORK_INTERNAL_FAILURE_ERR
}
enum  TelNetworkDayLightSavingAdj_t { TAPI_NETWORK_DLS_ADJ_NO_ADJUSTMENT, TAPI_NETWORK_DLS_ADJ_PLUS_ONE_HOUR, TAPI_NETWORK_DLS_PLUS_TWO_HOUR }

Define Documentation

#define TAPI_NETWORK_LIST_MAX   15

Maximum network list

#define TAPI_NETWORK_NAME_LEN_MAX   40

Maximum network name or PLMN name length

#define TAPI_NETWORK_ORDER_MAX   5

Maximum network order

#define TAPI_NETWORK_SPN_LEN_MAX   20

Maximum network service provider name length


Enumeration Type Documentation

This enumeration defines different network Bands.

Enumerator:
TAPI_NETWORK_BAND_TYPE_ANY  All bands can be tried.
TAPI_NETWORK_BAND_TYPE_GSM850  This member sets the band to GSM 850
TAPI_NETWORK_BAND_TYPE_GSM_900_1800  This member sets the band to GSM 900_1800
TAPI_NETWORK_BAND_TYPE_GSM1900  GSM 1900
TAPI_NETWORK_BAND_TYPE_GSM  This member sets all GSM bands
TAPI_NETWORK_BAND_TYPE_WCDMA  This member sets all WCDMA bands
TAPI_NETWORK_BAND_TYPE_WCDMA850  This member sets the band to WCDMA 850
TAPI_NETWORK_BAND_TYPE_WCDMA1900  This member sets the band to WCDMA 1900
TAPI_NETWORK_BAND_TYPE_WCDMA2100  This member sets the band to WCDMA 2100

This enumeration defines the opeartions that can be done on network Band.

Enumerator:
TAPI_NETWORK_BAND_MODE_PREFERRED  Preferred band. (If preferred Band is not available, then underlying modem can search on other bands)
TAPI_NETWORK_BAND_MODE_ONLY  This allows only particular band.

This enumeration defines the day light saving adjustment time.

Enumerator:
TAPI_NETWORK_DLS_ADJ_NO_ADJUSTMENT  No adjustment specified on day light saving
TAPI_NETWORK_DLS_ADJ_PLUS_ONE_HOUR  Day light saving adjusted for one hour
TAPI_NETWORK_DLS_PLUS_TWO_HOUR  Day light saving adjusted for two hours

This enumeration defines the network modes.

Enumerator:
TAPI_NETWORK_MODE_EMERGENCY  This member sets the emergency network mode
TAPI_NETWORK_MODE_AUTOMATIC  This member sets the automatic network mode. Based on OEM priority, nw mode preference will be used
TAPI_NETWORK_MODE_CDMA  This member sets the network mode to CDMA
TAPI_NETWORK_MODE_GSM  This member sets the network mode to GSM
TAPI_NETWORK_MODE_WCDMA  This member sets the network mode to WCDMA
TAPI_NETWORK_MODE_WLAN  This member sets the network mode to WLAN

This enumeration defines different network operation cause.

Enumerator:
TAPI_NETWORK_NO_ERR  There is no error for any network operation.
TAPI_NETWORK_OPERATION_FAILED  There is no error for any network operation.
TAPI_NETWORK_PHONE_IN_USE_ERR  This error will be returned when any network operation is tried while phone is in use(eg, Voice / Data call in progress due to which network operation failed)
TAPI_NETWORK_OFFLINE_ERR  This error is sent when any network option is tried when phone is in offline mode
TAPI_NETWORK_CONFIG_SETTINGS_FAILURE_ERR  This error is sent when modem is unable to process the config settings information.
TAPI_NETWORK_INTERNAL_FAILURE_ERR  This error to indicate internal failure

This enumeration defines the network selection modes.

Enumerator:
TAPI_NETWORK_SELECTIONMODE_AUTOMATIC  Network selection is in Automatic selection mode
TAPI_NETWORK_SELECTIONMODE_MANUAL  Network selection is in Manual selection mode

This enumeration defines the network service domains .

Enumerator:
TAPI_NETWORK_SERVICE_DOMAIN_COMBINED  This member sets the Circuit switch and Packet Switch domain
TAPI_NETWORK_SERVICE_DOMAIN_PS  This member sets the Packet Switch service domain
TAPI_NETWORK_SERVICE_DOMAIN_CS  This member sets the Circuit Switch service domain
TAPI_NETWORK_SERVICE_DOMAIN_AUTOMATIC  This member sets the service domain to Circuit Switch and Packet Switch or Circuit Switch or Packet Switch domain

This enumeration defines the status of network service.

Enumerator:
TAPI_NETWORK_SERVICE_LEVEL_NO  No service available in the network ME is camped
TAPI_NETWORK_SERVICE_LEVEL_EMERGENCY  Only emergency service available in the network ME is camped
TAPI_NETWORK_SERVICE_LEVEL_FULL  FULL service available in the network ME is camped
TAPI_NETWORK_SERVICE_LEVEL_SEARCH  Searching for service

This enumeration defines the service types of TAPI.

Enumerator:
TAPI_NETWORK_SERVICE_TYPE_NO_SVE  No service (This enumeration is not applicable for OEM_TAPI_NW_select_network_req API)
TAPI_NETWORK_SERVICE_TYPE_LIMITED  Limited service available in the camped network (This enumeration is not applicable for OEM_TAPI_NW_select_network_req API)
TAPI_NETWORK_SERVICE_TYPE_CS  CS service available in the camped network
TAPI_NETWORK_SERVICE_TYPE_PS  PS service available in the camped network
TAPI_NETWORK_SERVICE_TYPE_COMBINED  Both CS and PS services available in the camped network

This enumeration defines the System ID Formats.

Enumerator:
TAPI_NETWORK_SYSID_FORMAT_SID  System ID in CDMA.
TAPI_NETWORK_SYSID_FORMAT_PLMN  PLMN id in GSM/3G

This enumeration defines the system types of TAPI.

Enumerator:
TAPI_NETWORK_SYSTEM_NO_SRV  No Service available
TAPI_NETWORK_SYSTEM_CDMA  Available service is CDMA
TAPI_NETWORK_SYSTEM_TDMA  Available service is TDMA
TAPI_NETWORK_SYSTEM_GSM  Available service is GSM
TAPI_NETWORK_SYSTEM_GPRS  Available service is GPRS
TAPI_NETWORK_SYSTEM_EGPRS  Available service is EGPRS
TAPI_NETWORK_SYSTEM_PCS1900  Available service is PCS1900 band
TAPI_NETWORK_SYSTEM_UMTS  Available service is UMTS
TAPI_NETWORK_SYSTEM_GSM_AND_UMTS  Both GSM and UMTS systems available


Generated on Mon Mar 31 01:01:00 2008 by  doxygen 1.5.4