📄 p_rr.h
字号:
/*
+--------------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK |
| FILE : P_RR.h |
| SOURCE : "Z:\condat\gsm\condat\ms\dfile\prim\RR.pdf" |
| LastModified : "4 February, 2003" |
| IdAndVersion : "6147.107.97.108" |
| 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_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 _Thu_Aug_14_00_00_00_2003
#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==1142
*/
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==1143
*/
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==1144
*/
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==1145
*/
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==1146
*/
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
#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==1147
*/
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==1148
*/
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_RR_ABORT_REQ__
#define __T_RR_ABORT_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1150
*/
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==1151
*/
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 */
U8 _align2; /*<146: 1> alignment */
U8 _align3; /*<147: 1> alignment */
} T_RR_ABORT_IND;
#endif
#ifndef __T_RR_ACTIVATE_REQ__
#define __T_RR_ACTIVATE_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1152
*/
typedef struct
{
T_plmn plmn; /*< 0: 8> PLMN identification */
T_op op; /*< 8: 8> operation mode */
U8 cksn; /*< 16: 1> ciphering key sequence number */
U8 _align0; /*< 17: 1> alignment */
U8 _align1; /*< 18: 1> alignment */
U8 _align2; /*< 19: 1> alignment */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -