📄 p_sim.h
字号:
/*
+--------------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK |
| FILE : p_sim.h |
| SOURCE : "W:\condat\gsm\condat\ms\dfile\prim\sim.pdf" |
| LastModified : "11 November, 2002" |
| IdAndVersion : "6147.108.99.112" |
| SrcFileTime : "Mon Mar 15 15:12:21 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_SIM_H
#define P_SIM_H
#define CDG_ENTER__P_SIM_H
#define CDG_ENTER__FILENAME _P_SIM_H
#define CDG_ENTER__P_SIM_H__FILE_TYPE CDGINC
#define CDG_ENTER__P_SIM_H__LAST_MODIFIED _11_November_2002
#define CDG_ENTER__P_SIM_H__ID_AND_VERSION _6147_108_99_112
#define CDG_ENTER__P_SIM_H__SRC_FILE_TIME _Mon_Mar_15_15_12_21_2004
#include "CDG_ENTER.h"
#undef CDG_ENTER__P_SIM_H
#undef CDG_ENTER__FILENAME
#include "p_sim.val"
#ifndef __T_imsi_field__
#define __T_imsi_field__
/*
* international mobile subscriber identity
* CCDGEN:WriteStruct_Count==1275
*/
typedef struct
{
U8 c_field; /*< 0: 1> length of imsi */
U8 field[MAX_IMSI]; /*< 1: 9> imsi */
U8 _align0; /*< 10: 1> alignment */
U8 _align1; /*< 11: 1> alignment */
} T_imsi_field;
#endif
#ifndef __T_acc_ctrl__
#define __T_acc_ctrl__
/*
* access control classes
* CCDGEN:WriteStruct_Count==1276
*/
typedef struct
{
U8 c_acc; /*< 0: 1> length of access control classes */
U8 acc[2]; /*< 1: 2> access control classes */
U8 _align0; /*< 3: 1> alignment */
} T_acc_ctrl;
#endif
#ifndef __T_bcch_inf__
#define __T_bcch_inf__
/*
* BCCH information
* CCDGEN:WriteStruct_Count==1277
*/
typedef struct
{
U8 c_bcch; /*< 0: 1> Length of bcch information */
U8 bcch[16]; /*< 1: 16> bcch information */
U8 _align0; /*< 17: 1> alignment */
U8 _align1; /*< 18: 1> alignment */
U8 _align2; /*< 19: 1> alignment */
} T_bcch_inf;
#endif
#ifndef __T_kc_n__
#define __T_kc_n__
/*
* Kc and cipher key sequence number
* CCDGEN:WriteStruct_Count==1278
*/
typedef struct
{
U8 c_kc; /*< 0: 1> Length of data field */
U8 kc[MAX_KC + 1]; /*< 1: 9> authentication parameter Kc */
U8 _align0; /*< 10: 1> alignment */
U8 _align1; /*< 11: 1> alignment */
} T_kc_n;
#endif
#ifndef __T_pref_plmn__
#define __T_pref_plmn__
/*
* Preferred PLMN list
* CCDGEN:WriteStruct_Count==1279
*/
typedef struct
{
U8 c_pref; /*< 0: 1> Length of preferred PLMN list */
U8 pref[MAX_PREF_PLMN]; /*< 1: 96> Preferred PLMN list */
U8 _align0; /*< 97: 1> alignment */
U8 _align1; /*< 98: 1> alignment */
U8 _align2; /*< 99: 1> alignment */
} T_pref_plmn;
#endif
#ifndef __T_forb_plmn__
#define __T_forb_plmn__
/*
* Forbidden PLMN list
* CCDGEN:WriteStruct_Count==1280
*/
typedef struct
{
U8 c_forb; /*< 0: 1> length of forbidden PLMN list */
U8 forb[12]; /*< 1: 12> Forbidden PLMN list */
U8 _align0; /*< 13: 1> alignment */
U8 _align1; /*< 14: 1> alignment */
U8 _align2; /*< 15: 1> alignment */
} T_forb_plmn;
#endif
#ifndef __T_stk_cmd__
#define __T_stk_cmd__
/*
* SIM toolkit command
* CCDGEN:WriteStruct_Count==1281
*/
typedef struct
{
U16 l_cmd; /*< 0: 2> command length */
U16 o_cmd; /*< 2: 2> command offset */
U8 cmd[MAX_STK_CMD]; /*< 4:256> command data */
} T_stk_cmd;
#endif
#ifndef __T_loc_info__
#define __T_loc_info__
/*
* location information
* CCDGEN:WriteStruct_Count==1282
*/
typedef struct
{
U8 c_loc; /*< 0: 1> Length of Location Information */
U8 loc[MAX_LOCIGSM]; /*< 1: 11> Location Information */
} T_loc_info;
#endif
#ifndef __T_gprs_loc_info__
#define __T_gprs_loc_info__
/*
* location information
* CCDGEN:WriteStruct_Count==1283
*/
typedef struct
{
U8 c_loc; /*< 0: 1> Length of Location Information */
U8 loc[MAX_LOCIGPRS]; /*< 1: 14> Location Information */
U8 _align0; /*< 15: 1> alignment */
} T_gprs_loc_info;
#endif
#ifndef __T_SIM_READ_REQ__
#define __T_SIM_READ_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1284
*/
typedef struct
{
U16 source; /*< 0: 2> source process */
U16 offset; /*< 2: 2> offset of data field */
U16 datafield; /*< 4: 2> data field identification */
U8 length; /*< 6: 1> length of data field */
U8 max_length; /*< 7: 1> Maximum of length */
} T_SIM_READ_REQ;
#endif
#ifndef __T_SIM_READ_CNF__
#define __T_SIM_READ_CNF__
/*
*
* CCDGEN:WriteStruct_Count==1285
*/
typedef struct
{
U16 datafield; /*< 0: 2> data field identification */
U16 cause; /*< 2: 2> error code */
U8 length; /*< 4: 1> length of data field */
U8 trans_data[MAX_SIM_CMD]; /*< 5:256> Transparent data content */
U8 _align0; /*<261: 1> alignment */
U8 _align1; /*<262: 1> alignment */
U8 _align2; /*<263: 1> alignment */
} T_SIM_READ_CNF;
#endif
#ifndef __T_SIM_UPDATE_REQ__
#define __T_SIM_UPDATE_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1286
*/
typedef struct
{
U16 source; /*< 0: 2> source process */
U16 offset; /*< 2: 2> offset of data field */
U16 datafield; /*< 4: 2> data field identification */
U8 length; /*< 6: 1> length of data field */
U8 trans_data[MAX_SIM_CMD]; /*< 7:256> Transparent data content */
U8 _align0; /*<263: 1> alignment */
} T_SIM_UPDATE_REQ;
#endif
#ifndef __T_SIM_UPDATE_CNF__
#define __T_SIM_UPDATE_CNF__
/*
*
* CCDGEN:WriteStruct_Count==1287
*/
typedef struct
{
U16 datafield; /*< 0: 2> data field identification */
U16 cause; /*< 2: 2> error code */
} T_SIM_UPDATE_CNF;
#endif
#ifndef __T_SIM_READ_RECORD_REQ__
#define __T_SIM_READ_RECORD_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1288
*/
typedef struct
{
U16 source; /*< 0: 2> source process */
U16 datafield; /*< 2: 2> data field identification */
U8 record; /*< 4: 1> record number */
U8 length; /*< 5: 1> length of data field */
U8 _align0; /*< 6: 1> alignment */
U8 _align1; /*< 7: 1> alignment */
} T_SIM_READ_RECORD_REQ;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -