⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 p_em.h

📁 GSM手机设计软件代码
💻 H
📖 第 1 页 / 共 2 页
字号:
/*
+--------------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK                                                 |
| FILE    : P_EM.h                                                         |
| SOURCE  : "Z:\condat\gsm\condat\ms\dfile\prim\EM.pdf"                    |
| LastModified : "22-Aug-2001"                                             |
| IdAndVersion : "8304.129.98.101"                                         |
| SrcFileTime  : "Thu Aug 14 00:00:00 2003"                                |
| Generated by CCDGEN_2.2.4 on Thu Aug 14 16:45:18 2003                    |
|           !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!!                |
+--------------------------------------------------------------------------+
*/

/* PRAGMAS
 * PREFIX                 : NONE
 * COMPATIBILITY_DEFINES  : NO (require PREFIX)
 * ALWAYS_ENUM_IN_VAL_FILE: NO
 * ENABLE_GROUP: NO
 */


#ifndef P_EM_H
#define P_EM_H


#define CDG_ENTER__P_EM_H

#define CDG_ENTER__FILENAME _P_EM_H
#define CDG_ENTER__P_EM_H__FILE_TYPE CDGINC
#define CDG_ENTER__P_EM_H__LAST_MODIFIED _22_Aug_2001
#define CDG_ENTER__P_EM_H__ID_AND_VERSION _8304_129_98_101

#define CDG_ENTER__P_EM_H__SRC_FILE_TIME _Thu_Aug_14_00_00_00_2003

#include "CDG_ENTER.h"

#undef CDG_ENTER__P_EM_H

#undef CDG_ENTER__FILENAME


#include "P_EM.val"

#ifndef __T_net_ctrl__
#define __T_net_ctrl__
/*
 * Network control
 * CCDGEN:WriteStruct_Count==1050
 */
typedef struct
{
  U8                        spgc_ccch_sup;            /*<  0:  1> SPLIT_PG_CYCLE_SUPPORT: whether it is supported or not - should be BOOL, but BOOL is not valid in SAP */
  U8                        priority_access_thr;      /*<  1:  1> packet access to the network according to priority level */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_net_ctrl;
#endif

#ifndef __T_em_imeisv__
#define __T_em_imeisv__
/*
 * IMEISV
 * CCDGEN:WriteStruct_Count==1051
 */
typedef struct
{
  U8                        ident_type;               /*<  0:  1> Type of identity                                   */
  U8                        odd_even;                 /*<  1:  1> Odd/ Even indication                               */
  U8                        v_ident_dig;              /*<  2:  1> valid-flag                                         */
  U8                        c_ident_dig;              /*<  3:  1> counter                                            */
  U8                        ident_dig[16];            /*<  4: 16> Identity digit                                     */
} T_em_imeisv;
#endif

#ifndef __T_em_imsi__
#define __T_em_imsi__
typedef T_em_imeisv T_em_imsi;
#endif

#ifndef __T_hop_chn__
#define __T_hop_chn__
/*
 * frequency hopping channel list
 * CCDGEN:WriteStruct_Count==1052
 */
typedef struct
{
  U16                       ma[65];                   /*<  0:130> MA list after time                                 */
  U16                       ma2[65];                  /*<130:130> MA list before  time                               */
  U8                        v_start;                  /*<260:  1> starting time valid                                */
  U8                        _align0;                  /*<261:  1> alignment                                          */
  U8                        _align1;                  /*<262:  1> alignment                                          */
  U8                        _align2;                  /*<263:  1> alignment                                          */
} T_hop_chn;
#endif

#ifndef __T_classm2__
#define __T_classm2__
/*
 * Classmark 2
 * CCDGEN:WriteStruct_Count==1053
 */
typedef struct
{
  U8                        rev_lev;                  /*<  0:  1> rev_lev                                            */
  U8                        es_ind;                   /*<  1:  1> es_ind                                             */
  U8                        a5_1;                     /*<  2:  1> a5_1                                               */
  U8                        rf_pow_cap;               /*<  3:  1> rf_pow_cap                                         */
  U8                        ps_cap;                   /*<  4:  1> ps_cap                                             */
  U8                        ss_screen;                /*<  5:  1> ss_screen                                          */
  U8                        sm_cap;                   /*<  6:  1> sm_cap                                             */
  U8                        freq_cap;                 /*<  7:  1> freq_cap                                           */
  U8                        class_3;                  /*<  8:  1> class_3                                            */
  U8                        cmsp;                     /*<  9:  1> cmsp                                               */
  U8                        a5_3;                     /*< 10:  1> a5_3                                               */
  U8                        a5_2;                     /*< 11:  1> a5_2                                               */
} T_classm2;
#endif

#ifndef __T_meas_cap__
#define __T_meas_cap__
/*
 * meas_cap
 * CCDGEN:WriteStruct_Count==1054
 */
typedef struct
{
  U8                        sw_time;                  /*<  0:  1> sw_time                                            */
  U8                        sws_time;                 /*<  1:  1> sws_time                                           */
  U8                        dummy1;                   /*<  2:  1> dummy1                                             */
  U8                        dummy2;                   /*<  3:  1> dummy2                                             */
} T_meas_cap;
#endif

#ifndef __T_classm3__
#define __T_classm3__
/*
 * Classmark 3
 * CCDGEN:WriteStruct_Count==1055
 */
typedef struct
{
  U8                        mb_sub;                   /*<  0:  1> mb_sub                                             */
  U8                        a5_7;                     /*<  1:  1> a5_7                                               */
  U8                        a5_6;                     /*<  2:  1> a5_6                                               */
  U8                        a5_5;                     /*<  3:  1> a5_5                                               */
  U8                        a5_4;                     /*<  4:  1> a5_4                                               */
  U8                        v_radio_cap_2;            /*<  5:  1> v_radio_cap_2                                      */
  U8                        radio_cap_2;              /*<  6:  1> radio_cap_2                                        */
  U8                        v_radio_cap_1;            /*<  7:  1> v_radio_cap_1                                      */
  U8                        radio_cap_1;              /*<  8:  1> radio_cap_1                                        */
  U8                        v_r_support;              /*<  9:  1> v_r_support                                        */
  U8                        r_support;                /*< 10:  1> r_support                                          */
  U8                        v_m_s_class;              /*< 11:  1> v_m_s_class                                        */
  U8                        m_s_class;                /*< 12:  1> m_s_class                                          */
  U8                        ucs2_treat;               /*< 13:  1> ucs2_treat                                         */
  U8                        ext_meas_cap;             /*< 14:  1> ext_meas_cap                                       */
  U8                        v_meas_cap;               /*< 15:  1> v_meas_cap                                         */
  T_meas_cap                meas_cap;                 /*< 16:  4> meas_cap                                           */
} T_classm3;
#endif

#ifndef __T_EM_SC_INFO_REQ__
#define __T_EM_SC_INFO_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1056
 */
typedef struct
{
  U16                       data;                     /*<  0:  2> requested data                                     */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_EM_SC_INFO_REQ;
#endif

#ifndef __T_EM_SC_INFO_CNF__
#define __T_EM_SC_INFO_CNF__
/*
 * 
 * CCDGEN:WriteStruct_Count==1057
 */
typedef struct
{
  U16                       arfcn;                    /*<  0:  2> channel number                                     */
  S16                       c1;                       /*<  2:  2> path loss criterion C1                             */
  S16                       c2;                       /*<  4:  2> reselection criterion C2                           */
  U8                        rxlev;                    /*<  6:  1> received field strength                            */
  U8                        bsic;                     /*<  7:  1> base station ID code                               */
  U8                        dsc;                      /*<  8:  1> actual downlink signalling counter                 */
  U8                        txlev;                    /*<  9:  1> Power Level                                        */
  U8                        tn;                       /*< 10:  1> timeslot number                                    */
  U8                        rlt;                      /*< 11:  1> actual radiolink timeout counter                   */
  U8                        tav;                      /*< 12:  1> timing advance                                     */
  U8                        rxlev_f;                  /*< 13:  1> received field strength                            */
  U8                        rxlev_s;                  /*< 14:  1> received field strength                            */
  U8                        rxqual_f;                 /*< 15:  1> received quality                                   */
  U8                        rxqual_s;                 /*< 16:  1> received quality                                   */
  U8                        _align0;                  /*< 17:  1> alignment                                          */
  U16                       lac;                      /*< 18:  2> location area code                                 */
  U8                        cba;                      /*< 20:  1> cell bar access                                    */
  U8                        cbq;                      /*< 21:  1> cell bar  qualifier                                */
  U8                        _align1;                  /*< 22:  1> alignment                                          */
  U8                        _align2;                  /*< 23:  1> alignment                                          */
} T_EM_SC_INFO_CNF;
#endif

#ifndef __T_EM_SC_GPRS_INFO_REQ__
#define __T_EM_SC_GPRS_INFO_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1058
 */
typedef struct
{
  U16                       data;                     /*<  0:  2> requested data                                     */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_EM_SC_GPRS_INFO_REQ;
#endif

#ifndef __T_EM_SC_GPRS_INFO_CNF__
#define __T_EM_SC_GPRS_INFO_CNF__
/*
 * 
 * CCDGEN:WriteStruct_Count==1059
 */
typedef struct
{
  U8                        tn;                       /*<  0:  1> timeslot number                                    */
  U8                        nmo;                      /*<  1:  1> network mode of operation                          */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
  T_net_ctrl                net_ctrl;                 /*<  4:  4> Network control                                    */
  U8                        cba;                      /*<  8:  1> cell bar access                                    */
  U8                        rac;                      /*<  9:  1> routing area code                                  */
  U8                        tav;                      /*< 10:  1> timing advance                                     */
  U8                        dsc;                      /*< 11:  1> actual downlink signalling counter                 */
  S16                       c31;                      /*< 12:  2> reselection criterion C31 (GPRS)                   */
  S16                       c32;                      /*< 14:  2> reselection criterion C31 (GPRS)                   */
} T_EM_SC_GPRS_INFO_CNF;
#endif

#ifndef __T_EM_NC_INFO_REQ__
#define __T_EM_NC_INFO_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1060
 */
typedef struct
{
  U16                       data;                     /*<  0:  2> requested data                                     */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_EM_NC_INFO_REQ;
#endif

#ifndef __T_EM_NC_INFO_CNF__
#define __T_EM_NC_INFO_CNF__
/*
 * 
 * CCDGEN:WriteStruct_Count==1061
 */
typedef struct
{
  U8                        no_ncells;                /*<  0:  1> no of neighbour cells                              */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       arfcn_nc[6];              /*<  2: 12> channel number                                     */
  S16                       c1_nc[6];                 /*< 14: 12> path loss criterion C1 neighbour cells             */
  S16                       c2_nc[6];                 /*< 26: 12> reselection criterion C2 neighbour cells           */
  U8                        rxlev_nc[6];              /*< 38:  6> received field strength neighbour cell             */
  U8                        bsic_nc[6];               /*< 44:  6> base station ID code neighbour cell                */
  U16                       cell_id_nc[6];            /*< 50: 12> cell identity neighbour cell                       */
  U16                       lac_nc[6];                /*< 62: 12> location area code neighbour cells                 */
  U8                        _align1;                  /*< 74:  1> alignment                                          */
  U8                        _align2;                  /*< 75:  1> alignment                                          */
  U32                       frame_offset[6];          /*< 76: 24> frame offset                                       */
  U32                       time_alignmt[6];          /*<100: 24> time alignment                                     */
  U8                        cba_nc[6];                /*<124:  6> cell bar access neighbour cells                    */
  U8                        cbq_nc[6];                /*<130:  6> cell bar qualifier neighbour cells                 */
} T_EM_NC_INFO_CNF;
#endif

#ifndef __T_EM_LOC_PAG_INFO_REQ__
#define __T_EM_LOC_PAG_INFO_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1062
 */
typedef struct
{
  U16                       data;                     /*<  0:  2> requested data                                     */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_EM_LOC_PAG_INFO_REQ;
#endif

#ifndef __T_EM_LOC_PAG_INFO_CNF__
#define __T_EM_LOC_PAG_INFO_CNF__
/*
 * 
 * CCDGEN:WriteStruct_Count==1063
 */
typedef struct
{
  U8                        bs_pa_mfrms;              /*<  0:  1> Multiframe Period                                  */
  U8                        t3212;                    /*<  1:  1> Timer T3212                                        */
  U8                        mcc[3];                   /*<  2:  3> mobile country code                                */
  U8                        mnc[3];                   /*<  5:  3> mobile network code                                */
  U32                       tmsi;                     /*<  8:  4> binary representation TMSI                         */
} T_EM_LOC_PAG_INFO_CNF;
#endif

#ifndef __T_EM_PLMN_INFO_REQ__
#define __T_EM_PLMN_INFO_REQ__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -