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

📄 p_rr.h

📁 是一个手机功能的模拟程序
💻 H
📖 第 1 页 / 共 2 页
字号:
/*
+--------------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK                                                 |
| FILE    : p_rr.h                                                         |
| SOURCE  : "W:\condat\gsm\condat\ms\dfile\prim\rr.pdf"                    |
| LastModified : "4 February, 2003"                                        |
| IdAndVersion : "6147.107.97.108"                                         |
| SrcFileTime  : "Mon Mar 15 15:11:38 2004"                                |
| Generated by CCDGEN_2.3.9 on Mon Mar 15 15:20:58 2004                    |
|           !!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
 * CAPITALIZE_TYPENAME: NO
 */


#ifndef P_RR_H
#define P_RR_H


#define CDG_ENTER__P_RR_H

#define CDG_ENTER__FILENAME _P_RR_H
#define CDG_ENTER__P_RR_H__FILE_TYPE CDGINC
#define CDG_ENTER__P_RR_H__LAST_MODIFIED _4_February_2003
#define CDG_ENTER__P_RR_H__ID_AND_VERSION _6147_107_97_108

#define CDG_ENTER__P_RR_H__SRC_FILE_TIME _Mon_Mar_15_15_11_38_2004

#include "CDG_ENTER.h"

#undef CDG_ENTER__P_RR_H

#undef CDG_ENTER__FILENAME


#include "p_rr.val"

#ifndef __T_kcv__
#define __T_kcv__
/*
 * kc - Value
 * CCDGEN:WriteStruct_Count==1247
 */
typedef struct
{
  U8                        v_kc;                     /*<  0:  1> valid flag                                         */
  U8                        kc[8];                    /*<  1:  8> Kc value                                           */
  U8                        _align0;                  /*<  9:  1> alignment                                          */
  U8                        _align1;                  /*< 10:  1> alignment                                          */
  U8                        _align2;                  /*< 11:  1> alignment                                          */
} T_kcv;
#endif

#ifndef __T_bcch_info__
#define __T_bcch_info__
/*
 * BCCH information
 * CCDGEN:WriteStruct_Count==1248
 */
typedef struct
{
  U8                        v_bcch;                   /*<  0:  1> valid flag                                         */
  U8                        bcch[16];                 /*<  1: 16> BCCH carrier list                                  */
  U8                        _align0;                  /*< 17:  1> alignment                                          */
  U8                        _align1;                  /*< 18:  1> alignment                                          */
  U8                        _align2;                  /*< 19:  1> alignment                                          */
} T_bcch_info;
#endif

#ifndef __T_chm__
#define __T_chm__
/*
 * Channel using mode
 * CCDGEN:WriteStruct_Count==1249
 */
typedef struct
{
  U8                        ch_type;                  /*<  0:  1> Channel Type                                       */
  U8                        ch_mode;                  /*<  1:  1> Channel Mode                                       */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_chm;
#endif

#ifndef __T_mm_info__
#define __T_mm_info__
/*
 * MM information
 * CCDGEN:WriteStruct_Count==1250
 */
typedef struct
{
  U8                        valid;                    /*<  0:  1> valid information                                  */
  U8                        la;                       /*<  1:  1> Location area indication                           */
  U8                        att;                      /*<  2:  1> attach / detach flag                               */
  U8                        re;                       /*<  3:  1> re-establishment flag                              */
  U8                        band;                     /*<  4:  1> band (dummy)                                       */
  U8                        ncc;                      /*<  5:  1> national colour code                               */
  U8                        bcc;                      /*<  6:  1> base station colour code                           */
  U8                        t3212;                    /*<  7:  1> periodic updating timer period                     */
} T_mm_info;
#endif

#ifndef __T_imsi_struct__
#define __T_imsi_struct__
/*
 * mobile identity
 * CCDGEN:WriteStruct_Count==1251
 */
typedef struct
{
  U8                        v_mid;                    /*<  0:  1> valid flag                                         */
  U8                        id_type;                  /*<  1:  1> type of identity                                   */
  U8                        id[MAX_DIGITS];           /*<  2: 16> IMSI digits                                        */
  U8                        _align0;                  /*< 18:  1> alignment                                          */
  U8                        _align1;                  /*< 19:  1> alignment                                          */
  U32                       tmsi_dig;                 /*< 20:  4> TMSI digits                                        */
} T_imsi_struct;
#endif

/*
 * mobile identity
 * CCDGEN:WriteStruct_Count==1252
 */
#ifndef __T_tmsi_struct__
#define __T_tmsi_struct__
typedef T_imsi_struct T_tmsi_struct;
#endif
#ifndef __T_op__
#define __T_op__
/*
 * operation mode
 * CCDGEN:WriteStruct_Count==1253
 */
typedef struct
{
  U8                        v_op;                     /*<  0:  1> valid flag                                         */
  U8                        ts;                       /*<  1:  1> test SIM card                                      */
  U8                        m;                        /*<  2:  1> registration mode                                  */
  U8                        sim_ins;                  /*<  3:  1> SIM card                                           */
  U8                        func;                     /*<  4:  1> Operation Mode                                     */
  U8                        service;                  /*<  5:  1> RR Service                                         */
  U8                        _align0;                  /*<  6:  1> alignment                                          */
  U8                        _align1;                  /*<  7:  1> alignment                                          */
} T_op;
#endif

#ifndef __T_plmn__
#define __T_plmn__
/*
 * PLMN identification
 * CCDGEN:WriteStruct_Count==1255
 */
typedef struct
{
  U8                        v_plmn;                   /*<  0:  1> valid flag                                         */
  U8                        mcc[SIZE_MCC];            /*<  1:  3> Mobile country code.                               */
  U8                        mnc[SIZE_MNC];            /*<  4:  3> Mobile network code.                               */
  U8                        _align0;                  /*<  7:  1> alignment                                          */
} T_plmn;
#endif

#ifndef __T_eq_plmn__
#define __T_eq_plmn__
/*
 * Equivalent plmn identification
 * CCDGEN:WriteStruct_Count==1256
 */
typedef struct
{
  U8                        mcc[SIZE_MCC];            /*<  0:  3> Mobile country code.                               */
  U8                        mnc[SIZE_MNC];            /*<  3:  3> Mobile network code.                               */
  U8                        _align0;                  /*<  6:  1> alignment                                          */
  U8                        _align1;                  /*<  7:  1> alignment                                          */
} T_eq_plmn;
#endif

#ifndef __T_eq_plmn_list__
#define __T_eq_plmn_list__
/*
 * Equivalent plmn List
 * CCDGEN:WriteStruct_Count==1257
 */
typedef struct
{
  U8                        _align0;                  /*<  0:  1> alignment                                          */
  U8                        _align1;                  /*<  1:  1> alignment                                          */
  U8                        _align2;                  /*<  2:  1> alignment                                          */
  U8                        c_eq_plmn;                /*<  3:  1> counter                                            */
  T_eq_plmn                 eq_plmn[6];               /*<  4: 48> Equivalent plmn identification                     */
  U8                        v_eq_plmn;                /*< 52:  1> Validity of equivalent plmn list                   */
  U8                        _align3;                  /*< 53:  1> alignment                                          */
  U8                        _align4;                  /*< 54:  1> alignment                                          */
  U8                        _align5;                  /*< 55:  1> alignment                                          */
} T_eq_plmn_list;
#endif

#ifndef __T_RR_ABORT_REQ__
#define __T_RR_ABORT_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1261
 */
typedef struct
{
  U8                        abcs;                     /*<  0:  1> abort cause                                        */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_RR_ABORT_REQ;
#endif

#ifndef __T_RR_ABORT_IND__
#define __T_RR_ABORT_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1262
 */
typedef struct
{
  T_op                      op;                       /*<  0:  8> operation mode                                     */
  U16                       cause;                    /*<  8:  2> RR cause                                           */
  U8                        plmn_avail;               /*< 10:  1> PLMN available                                     */
  U8                        _align0;                  /*< 11:  1> alignment                                          */
  T_plmn                    plmn[MAX_PLMN];           /*< 12: 96> PLMN identification                                */
  U16                       lac_list[MAX_PLMN];       /*<108: 24> LACs of found PLMNs                                */
  U8                        rxlevel[MAX_PLMN];        /*<132: 12> Fieldstrength                                      */
  U8                        power;                    /*<144:  1> Power class                                        */
  U8                        _align1;                  /*<145:  1> alignment                                          */

⌨️ 快捷键说明

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