📄 p_sim.h
字号:
/*
+--------------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK |
| FILE : P_SIM.h |
| SOURCE : "Z:\condat\gsm\condat\ms\dfile\prim\SIM.pdf" |
| LastModified : "11 November, 2002" |
| IdAndVersion : "6147.108.99.112" |
| 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_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 _Thu_Aug_14_00_00_00_2003
#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==1164
*/
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==1165
*/
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==1166
*/
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==1167
*/
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==1168
*/
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==1169
*/
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==1170
*/
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==1171
*/
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==1172
*/
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==1173
*/
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==1174
*/
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==1175
*/
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==1176
*/
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==1177
*/
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 + -