📄 p_sim.h
字号:
#define __T_SIM_AUTHENTICATION_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1193
*/
typedef struct
{
U16 source; /*< 0: 2> source process */
U8 rand[MAX_RAND]; /*< 2: 16> authentication parameter rand */
U8 cksn; /*< 18: 1> ciphering key sequence number */
U8 _align0; /*< 19: 1> alignment */
} T_SIM_AUTHENTICATION_REQ;
#endif
#ifndef __T_SIM_AUTHENTICATION_CNF__
#define __T_SIM_AUTHENTICATION_CNF__
/*
*
* CCDGEN:WriteStruct_Count==1194
*/
typedef struct
{
U8 sres[MAX_SRES]; /*< 0: 4> authentication parameter Sres */
U8 kc[MAX_KC]; /*< 4: 8> authentication parameter Kc */
} T_SIM_AUTHENTICATION_CNF;
#endif
#ifndef __T_SIM_MMI_INSERT_IND__
#define __T_SIM_MMI_INSERT_IND__
/*
*
* CCDGEN:WriteStruct_Count==1195
*/
typedef struct
{
U8 func; /*< 0: 1> SIM card functionality */
U8 sim_serv[MAX_SRV_TBL]; /*< 1: 16> SIM service table */
U8 _align0; /*< 17: 1> alignment */
U8 _align1; /*< 18: 1> alignment */
U8 _align2; /*< 19: 1> alignment */
T_imsi_field imsi_field; /*< 20: 12> international mobile subscriber identity */
T_pref_plmn pref_plmn; /*< 32:100> Preferred PLMN list */
U8 phase; /*<132: 1> phase of SIM card */
U8 access_acm; /*<133: 1> Access ACM */
U8 access_acmmax; /*<134: 1> Access ACMMAX */
U8 access_puct; /*<135: 1> Access PUCT */
} T_SIM_MMI_INSERT_IND;
#endif
#ifndef __T_SIM_MM_INSERT_IND__
#define __T_SIM_MM_INSERT_IND__
/*
*
* CCDGEN:WriteStruct_Count==1196
*/
typedef struct
{
U8 op_mode; /*< 0: 1> operation mode */
U8 _align0; /*< 1: 1> alignment */
U8 _align1; /*< 2: 1> alignment */
U8 _align2; /*< 3: 1> alignment */
T_imsi_field imsi_field; /*< 4: 12> international mobile subscriber identity */
T_loc_info loc_info; /*< 16: 12> location information */
T_acc_ctrl acc_ctrl; /*< 28: 4> access control classes */
T_bcch_inf bcch_inf; /*< 32: 20> BCCH information */
T_kc_n kc_n; /*< 52: 12> Kc and cipher key sequence number */
T_pref_plmn pref_plmn; /*< 64:100> Preferred PLMN list */
T_forb_plmn forb_plmn; /*<164: 16> Forbidden PLMN list */
U8 phase; /*<180: 1> phase of SIM card */
U8 hplmn; /*<181: 1> HPLMN search period */
U8 _align3; /*<182: 1> alignment */
U8 _align4; /*<183: 1> alignment */
} T_SIM_MM_INSERT_IND;
#endif
#ifndef __T_SIM_REMOVE_IND__
#define __T_SIM_REMOVE_IND__
/*
*
* CCDGEN:WriteStruct_Count==1197
*/
typedef struct
{
U16 cause; /*< 0: 2> error code */
U8 _align0; /*< 2: 1> alignment */
U8 _align1; /*< 3: 1> alignment */
} T_SIM_REMOVE_IND;
#endif
#ifndef __T_SIM_MM_UPDATE_REQ__
#define __T_SIM_MM_UPDATE_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1198
*/
typedef struct
{
T_loc_info loc_info; /*< 0: 12> location information */
T_bcch_inf bcch_inf; /*< 12: 20> BCCH information */
T_forb_plmn forb_plmn; /*< 32: 16> Forbidden PLMN list */
U8 cksn; /*< 48: 1> ciphering key sequence number */
U8 kc[MAX_KC]; /*< 49: 8> authentication parameter Kc */
U8 _align0; /*< 57: 1> alignment */
U16 cell_identity; /*< 58: 2> cell identity */
} T_SIM_MM_UPDATE_REQ;
#endif
#ifndef __T_SIM_SYNC_REQ__
#define __T_SIM_SYNC_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1199
*/
typedef struct
{
U8 synccs; /*< 0: 1> Synchronisation Cause */
U8 _align0; /*< 1: 1> alignment */
U8 _align1; /*< 2: 1> alignment */
U8 _align2; /*< 3: 1> alignment */
} T_SIM_SYNC_REQ;
#endif
#ifndef __T_SIM_SYNC_CNF__
#define __T_SIM_SYNC_CNF__
/*
*
* CCDGEN:WriteStruct_Count==1200
*/
typedef struct
{
U16 cause; /*< 0: 2> error code */
U8 _align0; /*< 2: 1> alignment */
U8 _align1; /*< 3: 1> alignment */
} T_SIM_SYNC_CNF;
#endif
#ifndef __T_SIM_ACTIVATE_REQ__
#define __T_SIM_ACTIVATE_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1201
*/
typedef struct
{
U8 proc; /*< 0: 1> procedure type */
U8 mmi_pro_file; /*< 1: 1> MMI profile */
U8 stk_pro_file[MAX_STK_PRF]; /*< 2: 20> SIM toolkit profile */
U8 _align0; /*< 22: 1> alignment */
U8 _align1; /*< 23: 1> alignment */
} T_SIM_ACTIVATE_REQ;
#endif
#ifndef __T_SIM_ACTIVATE_CNF__
#define __T_SIM_ACTIVATE_CNF__
/*
*
* CCDGEN:WriteStruct_Count==1202
*/
typedef struct
{
U16 cause; /*< 0: 2> error code */
U8 pin_cnt; /*< 2: 1> PIN counter */
U8 puk_cnt; /*< 3: 1> PUK counter */
U8 pin2_cnt; /*< 4: 1> PIN 2 counter */
U8 puk2_cnt; /*< 5: 1> PUK 2 counter */
U8 ec_code[MAX_ECC]; /*< 6: 15> Emergency call codes */
U8 pref_lang[MAX_LNG_PREF]; /*< 21: 5> preferred languages */
U8 _align0; /*< 26: 1> alignment */
U8 _align1; /*< 27: 1> alignment */
} T_SIM_ACTIVATE_CNF;
#endif
#ifndef __T_SIM_SMS_INSERT_IND__
#define __T_SIM_SMS_INSERT_IND__
/*
*
* CCDGEN:WriteStruct_Count==1203
*/
typedef struct
{
U8 phase; /*< 0: 1> phase of SIM card */
U8 tp_mr; /*< 1: 1> message reference */
U8 mem_cap_avail; /*< 2: 1> memory capacity available flag */
U8 download_sms; /*< 3: 1> Download SMS Flag */
U8 smsr_mem_cap; /*< 4: 1> Indicator for short message status report storage */
U8 _align0; /*< 5: 1> alignment */
U8 _align1; /*< 6: 1> alignment */
U8 _align2; /*< 7: 1> alignment */
} T_SIM_SMS_INSERT_IND;
#endif
#ifndef __T_SIM_TOOLKIT_REQ__
#define __T_SIM_TOOLKIT_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1204
*/
typedef struct
{
U16 source; /*< 0: 2> source process */
U8 req_id; /*< 2: 1> identifies a certain SIM toolkit procedure */
U8 _align0; /*< 3: 1> alignment */
T_stk_cmd stk_cmd; /*< 4:260> SIM toolkit command */
} T_SIM_TOOLKIT_REQ;
#endif
#ifndef __T_SIM_TOOLKIT_RES__
#define __T_SIM_TOOLKIT_RES__
/*
*
* CCDGEN:WriteStruct_Count==1205
*/
typedef struct
{
T_stk_cmd stk_cmd; /*< 0:260> SIM toolkit command */
} T_SIM_TOOLKIT_RES;
#endif
#ifndef __T_SIM_TOOLKIT_IND__
#define __T_SIM_TOOLKIT_IND__
/*
*
* CCDGEN:WriteStruct_Count==1206
*/
typedef struct
{
T_stk_cmd stk_cmd; /*< 0:260> SIM toolkit command */
} T_SIM_TOOLKIT_IND;
#endif
#ifndef __T_SIM_TOOLKIT_CNF__
#define __T_SIM_TOOLKIT_CNF__
/*
*
* CCDGEN:WriteStruct_Count==1207
*/
typedef struct
{
U16 cause; /*< 0: 2> error code */
U8 req_id; /*< 2: 1> identifies a certain SIM toolkit procedure */
U8 _align0; /*< 3: 1> alignment */
T_stk_cmd stk_cmd; /*< 4:260> SIM toolkit command */
} T_SIM_TOOLKIT_CNF;
#endif
#ifndef __T_SIM_ACTIVATE_IND__
#define __T_SIM_ACTIVATE_IND__
/*
*
* CCDGEN:WriteStruct_Count==1208
*/
typedef struct
{
U16 cause; /*< 0: 2> error code */
U8 pin_cnt; /*< 2: 1> PIN counter */
U8 puk_cnt; /*< 3: 1> PUK counter */
U8 pin2_cnt; /*< 4: 1> PIN 2 counter */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -