📄 pcm.h
字号:
#define a57s 3
#define bnd1 0x00000010,4 /* Band 1 */
#define bnd1m 0x00000010
#define bnd1s 4
#define bnd2 0x00000020,5 /* Band 2 */
#define bnd2m 0x00000020
#define bnd2s 5
#define bnd3 0x00000040,6 /* Band 3 */
#define bnd3m 0x00000040
#define bnd3s 6
/*
* byte2
*/
#define rfCap1 0x0000000f,0 /* associated RF capability 1 */
#define rfCap1m 0x0000000f
#define rfCap1s 0
#define rfCap2 0x000000f0,4 /* associated RF capability 2 */
#define rfCap2m 0x000000f0
#define rfCap2s 4
/*
* byte2
*/
#define ExtMeas 0x00000010,4 /* associated RF capability 1 */
#define ExtMeasm 0x00000010
#define ExtMeass 4
/********************************************************************
*
* Field RF Capabilities
*
********************************************************************/
typedef struct pcm_EFrfcap_Type
{
UBYTE setbands; /* set frequency bands */
UBYTE bands; /* supported frequency bands */
UBYTE power1; /* power classes of GSM900 and DCS1800 */
UBYTE power2; /* power classes of PCS1900 and GSM850 */
UBYTE power3; /* power classes of GSM400 and EGDE */
UBYTE msGSM; /* GSM multi slot capability and classes */
UBYTE msEDGE; /* EDGE multi slot capability and classes */
UBYTE msHSCSD; /* HSCSD multi slot capability and classes */
UBYTE msGPRS; /* GPRS multi slot capability and classes */
UBYTE msECSD; /* ECSD multi slot capability and classes */
UBYTE msEGPRS; /* EGPRS multi slot capability and classes */
UBYTE capability1; /* divers capabilities and options */
UBYTE capability2; /* divers capabilities and options */
UBYTE switchmeasure; /* switching time */
UBYTE encryption; /* A5/n encryption algorithm availability */
UBYTE positioning; /* supported positioning methods */
} EF_RFCAP;
#define SIZE_EF_RFCAP 16
#define NR_EF_RFCAP 1
/*
* setbands, bands
*/
#define rf_900 0x00000001,0 /* support of GSM 900 */
#define rf_900m 0x00000001
#define rf_900s 0
#define rf_1800 0x00000002,1 /* support of DCS 1800 */
#define rf_1800m 0x00000002
#define rf_1800s 1
#define rf_1900 0x00000004,2 /* support of PCS 1900 */
#define rf_1900m 0x00000004
#define rf_1900s 2
#define rf_EGSM 0x00000008,3 /* support of E-GSM */
#define rf_EGSMm 0x00000008
#define rf_EGSMs 3
#define rf_850 0x00000010,4 /* support of GSM 850 */
#define rf_850m 0x00000010
#define rf_850s 4
#define rf_450 0x00000020,5 /* support of GSM 450 */
#define rf_450m 0x00000020
#define rf_450s 5
#define rf_480 0x00000040,6 /* support of GSM 480 */
#define rf_480m 0x00000040
#define rf_480s 6
#define rf_RGSM 0x00000080,7 /* support of R-GSM */
#define rf_RGSMm 0x00000080
#define rf_RGSs 7
/*
* power1
*/
#define rfCap_1800 0x0000000f,0 /* associated RF capability of DCS 1800 */
#define rfCap_1800m 0x0000000f
#define rfCap_1800s 0
#define rfCap_900 0x000000f0,4 /* associated RF capability of GSM 900 */
#define rfCap_900m 0x000000f0
#define rfCap_900s 4
/*
* power2
*/
#define rfCap_850 0x0000000f,0 /* associated RF capability of GSM 850 */
#define rfCap_850m 0x0000000f
#define rfCap_850s 0
#define rfCap_1900 0x000000f0,4 /* associated RF capability of PCS 1900 */
#define rfCap_1900m 0x000000f0
#define rfCap_1900s 4
/*
* power3
*/
#define rfCap_EDGE2 0x00000003,0 /* associated RF capability 2 of EDGE */
#define rfCap_EDGE2m 0x00000003
#define rfCap_EDGE2s 0
#define rfCap_EDGE1 0x0000000c,2 /* associated RF capability 1 of EDGE */
#define rfCap_EDGE1m 0x0000000c
#define rfCap_EDGE1s 2
#define rfCap_400 0x000000f0,4 /* associated RF capability of GSM 450,480*/
#define rfCap_400m 0x000000f0
#define rfCap_400s 4
/*
* msGSM, msEDGE, msHSCSD, msGPRS, msECSD, msEGPRS
*/
#define rfCap_DTMSC 0x00000003,0 /* Multi Slot Sub-Class (only msGPRS+msEGPRS) */
#define rfCap_DTMSCm 0x00000003
#define rfCap_DTMSCs 0
#define rfCap_DTM 0x00000004,2 /* Support of DTM (only msGPRS+msEGPRS) */
#define rfCap_DTMm 0x00000004
#define rfCap_DTMs 2
#define rfCap_MSC 0x000000f8,3 /* Multi Slot Class */
#define rfCap_MSCm 0x000000f8
#define rfCap_MSCs 3
/*
* capability1
*/
#define rfCap_mac 0x00000001,0 /* Dynamic and fixed allocation */
#define rfCap_macm 0x00000001
#define rfCap_macs 0
#define rfCap_mod 0x00000002,1 /* EDGE modulation capability */
#define rfCap_modm 0x00000002
#define rfCap_mods 1
#define rfCap_cmsp 0x00000004,2 /* CM service prompt */
#define rfCap_cmspm 0x00000004
#define rfCap_cmsps 2
#define rfCap_solsa 0x00000008,3 /* SoLSA capability */
#define rfCap_solsam 0x00000008
#define rfCap_solsas 3
#define rfCap_lcsva 0x00000010,4 /* LCS value added location request noti. */
#define rfCap_lcsvam 0x00000010
#define rfCap_lcsvas 4
#define rfCap_ppsms 0x00000020,5 /* MT point to point SMS */
#define rfCap_ppsmsm 0x00000020
#define rfCap_ppsmss 5
#define rfCap_ps 0x00000040,6 /* pseudo synchronization capability */
#define rfCap_psm 0x00000040
#define rfCap_pss 6
#define rfCap_esind 0x00000080,7 /* controlled early class sending */
#define rfCap_esindm 0x00000080
#define rfCap_esinds 7
/*
* capability2
*/
#define rfCap_ssc 0x00000003,0 /* SS screening indicator */
#define rfCap_sscm 0x00000003
#define rfCap_sscs 0
#define rfCap_usc2 0x00000004,2 /* UCS2 encoded */
#define rfCap_usc2m 0x00000004
#define rfCap_usc2s 2
#define rfCap_vgcs 0x00000008,3 /* VGCS capability */
#define rfCap_vgcsm 0x00000008
#define rfCap_vgcss 3
#define rfCap_vbs 0x00000010,4 /* VBS capability */
#define rfCap_vbsm 0x00000010
#define rfCap_vbss 4
#define rfCap_compact 0x00000020,5 /* COMPACT interference measurement */
#define rfCap_compactm 0x00000020
#define rfCap_compacts 5
#define rfCap_extmeas 0x00000040,6 /* extendend measurement */
#define rfCap_extmeasm 0x00000040
#define rfCap_extmeass 6
#define rfCap_meas 0x00000080,7 /* values about measurement capability */
#define rfCap_measm 0x00000080
#define rfCap_meass 7
/*
* switchmeasure
*/
#define rfCap_smt 0x0000000f,0 /* time switch-power measurement */
#define rfCap_smtm 0x0000000f
#define rfCap_smts 0
#define rfCap_smst 0x000000f0,4 /* time switch-power measurement-switch */
#define rfCap_smstm 0x000000f0
#define rfCap_smsts 4
/*
* encryption
*/
#define rfCap_A5_7 0x00000002,1 /* encryption algorithm A5/7 */
#define rfCap_A5_7m 0x00000002
#define rfCap_A5_7s 1
#define rfCap_A5_6 0x00000004,2 /* encryption algorithm A5/6 */
#define rfCap_A5_6m 0x00000004
#define rfCap_A5_6s 2
#define rfCap_A5_5 0x00000008,3 /* encryption algorithm A5/5 */
#define rfCap_A5_5m 0x00000008
#define rfCap_A5_5s 3
#define rfCap_A5_4 0x00000010,4 /* encryption algorithm A5/4 */
#define rfCap_A5_4m 0x00000010
#define rfCap_A5_4s 4
#define rfCap_A5_3 0x00000020,5 /* encryption algorithm A5/3 */
#define rfCap_A5_3m 0x00000020
#define rfCap_A5_3s 5
#define rfCap_A5_2 0x00000040,6 /* encryption algorithm A5/2 */
#define rfCap_A5_2m 0x00000040
#define rfCap_A5_2s 6
#define rfCap_A5_1 0x00000080,7 /* encryption algorithm A5/1 */
#define rfCap_A5_1m 0x00000080
#define rfCap_A5_1s 7
/*
* positioning
*/
#define rfCap_eeda 0x00000002,1 /* EGPRS Extended Dynamic Allocation Capability */
#define rfCap_eedam 0x00000002
#define rfCap_eedas 1
#define rfCap_geda 0x00000004,2 /* GPRS Extended Dynamic Allocation Capability */
#define rfCap_gedam 0x00000004
#define rfCap_gedas 2
#define rfCap_cgps 0x00000008,3 /* conventional GPS */
#define rfCap_cgpsm 0x00000008
#define rfCap_cgpss 3
#define rfCap_bgps 0x00000010,4 /* based GPS */
#define rfCap_bgpsm 0x00000010
#define rfCap_bgpss 4
#define rfCap_agps 0x00000020,5 /* assisted GPS */
#define rfCap_agpsm 0x00000020
#define rfCap_agpss 5
#define rfCap_beotd 0x00000040,6 /* based E-OTD */
#define rfCap_beotdm 0x00000040
#define rfCap_beotds 6
#define rfCap_aeotd 0x00000080,7 /* assisted E-OTD */
#define rfCap_aeotdm 0x00000080
#define rfCap_aeotds 7
/********************************************************************
*
* Field MOBILE SETUP
*
********************************************************************/
typedef struct pcm_EFmssup_Type /* Mobile Setup */
{
UBYTE lng1;
UBYTE lng2;
UBYTE lng3;
UBYTE feat1;
UBYTE feat2;
}EF_MSSUP;
#define SIZE_EF_MSSUP 5
#define NR_EF_MSSUP 1
/*
* lng1
*/
#define eng 0x00000001,0 /* English */
#define engm 0x00000001
#define engs 0
#define fre 0x00000002,1 /* French */
#define frem 0x00000002
#define fres 1
#define ger 0x00000004,2 /* German */
#define germ 0x00000004
#define gers 2
#define dut 0x00000008,3 /* Dutch */
#define dutm 0x00000008
#define duts 3
#define ita 0x00000010,4 /* Italian */
#define itam 0x00000010
#define itas 4
#define spa 0x00000020,5 /* Spanish */
#define spam 0x00000020
#define spas 5
#define swe 0x00000040,6 /* Swedish */
#define swem 0x00000040
#define swes 6
#define por 0x00000080,7 /* Portuguese */
#define porm 0x00000080
#define pors 7
/*
* lng2
*/
#define fin 0x00000001,0 /* Finnish */
#define finm 0x00000001
#define fins 0
#define nor 0x00000002,1 /* Norwegian */
#define norm 0x00000002
#define nors 1
#define gre 0x00000004,2 /* Greek */
#define grem 0x00000004
#define gres 2
#define tur 0x00000008,3 /* Turkish */
#define turm 0x00000008
#define turs 3
#define hun 0x00000010,4 /* Hungarian */
#define hunm 0x00000010
#define huns 4
#define slo 0x00000020,5 /* Slovenian */
#define slom 0x00000020
#define slos 5
#define pol 0x00000040,6 /* Polish */
#define polm 0x00000040
#define pols 6
#define rus 0x00000080,7 /* Russian */
#define rusm 0x00000080
#define russ 7
/*
* lng3
*/
#define ind 0x00000001,0 /* Indonesian */
#define indm 0x00000001
#define inds 0
#define cze 0x00000002,1 /* Czech */
#define czem 0x00000002
#define czes 1
#define chi 0x00000004,2 /* Chinese */
#define chim 0x00000004
#define chis 2
#define can 0x00000008,3 /* Cantonese */
#define canm 0x00000008
#define cans 3
#define man 0x00000010,4 /* Mandarin */
#define manm 0x00000010
#define mans 4
#define tai 0x00000020,5 /* Taiwanese */
#define taim 0x00000020
#define tais 5
#define ara 0x00000040,6 /* Arabic */
#define aram 0x00000040
#define aras 6
/*
* feat
*/
#define AoC 0x00000001,0 /* Advice of Charge */
#define AoCm 0x00000001
#define AoCs 0
#define DTMF 0x00000002,1 /* DTMF */
#define DTMFm 0x00000002
#define DTMFs 1
#define CF 0x00000004,2 /* Call Forwarding */
#define CFm 0x00000004
#define CFs 2
#define CB 0x00000008,3 /* Call Barring */
#define CBm 0x00000008
#define CBs 3
#define USSD 0x00000010,4 /* USSD */
#define USSDm 0x00000010
#define USSDs 4
#define ETC 0x00000020,5 /* ETC */
#define ETCm 0x00000020
#define ETCs 5
#define IRDA 0x00000040,6 /* IRDA */
#define IRDAm 0x00000040
#define IRDAs 6
/********************************************************************
*
* Field Current language (CLNG)
*
********************************************************************/
#define SIZE_EF_CLNG_DATA 2
typedef struct pcm_EFclng_Type
{
UBYTE data[SIZE_EF_CLNG_DATA]; /* current language in ME */
} EF_CLNG;
#define SIZE_EF_CLNG SIZE_EF_CLNG_DATA
#define NR_EF_CLNG 1
/********************************************************************
*
* Field MOBILE STATION SETTTINGS
*
********************************************************************/
typedef struct pcm_EFmsset_Type /* Mobile Setting */
{
UBYTE buzzer1;
UBYTE buzzer2;
UBYTE buzzer3;
UBYTE audio;
UBYTE misc;
UBYTE display;
UBYTE language;
UBYTE recent_ldn_ref;
UBYTE recent_lrn_ref;
UBYTE recent_upn_ref;
} EF_MSSET;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -