📄 mmi_msg_struct.h
字号:
LOCAL_PARA_HDR
kal_uint8 opcode; /* l4crac_cops_opcode_enum */
kal_uint8 oper[MAX_PLMN_LEN+1];
} mmi_nw_set_plmn_req_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
kal_uint8 status;
kal_uint8 plmn[MAX_PLMN_LEN+1];
} mmi_nw_set_plmn_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
kal_uint8 length;
l4c_plmn_info_struct list[MAX_PLMN_LIST_LEN];
} mmi_nw_get_plmn_list_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 oper[MAX_PLMN_LEN+1];
} mmi_nw_get_current_plmn_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 rssi;
kal_uint8 ver;
} mmi_nw_get_signal_level_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 type; /* band_selection_enum */
} mmi_nw_get_band_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 status; /* l4c_rac_response_enum */
kal_uint8 plmn[MAX_PLMN_LEN+1];
kal_uint8 gsm_state;
kal_uint8 gprs_state;
kal_uint8 gprs_status; /* l4c_gprs_status_enum */
} mmi_nw_attach_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 lac;
kal_uint16 cell_id;
kal_uint8 status;
kal_uint8 gprs_state;
kal_uint8 gprs_status; /* l4c_gprs_status_enum */
} mmi_nw_reg_state_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 level;
kal_uint8 current_band;
} mmi_nw_rx_level_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 full_nw_nameP;
kal_uint8 full_nw_name_dcs;
kal_bool full_nw_name_add_ci;
kal_uint8 full_nw_name_len;
kal_uint8 full_nw_name[MAX_NW_NAME_LEN];
kal_uint8 short_nw_nameP;
kal_uint8 short_nw_name_dcs;
kal_bool short_nw_name_add_ci;
kal_uint8 short_nw_name_len;
kal_uint8 short_nw_name[MAX_NW_NAME_LEN];
kal_uint8 nw_time_zoneP;
kal_uint8 nw_time_zone;
kal_uint8 nw_time_zone_timeP;
l4c_nw_time_zone_time_struct nw_time_zone_time;
kal_uint8 lsa_idP;
kal_uint8 lsa_id_len;
kal_uint8 lsa_id[3];
kal_uint8 nw_day_light_saving_timeP;
kal_uint8 nw_day_light_saving_time;
} mmi_nw_time_zone_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 network_mode;
} mmi_nw_sel_mode_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 band;
} mmi_nw_set_preferred_band_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 status;
} mmi_nw_set_preferred_band_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 type; /* l4c_gprs_connect_type_enum */
} mmi_nw_set_gprs_connect_type_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_nw_set_gprs_connect_type_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 type; /* l4c_gprs_connect_type_enum */
} mmi_nw_get_gprs_connect_type_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
} mmi_nw_pwroff_detach_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 cfun_state;
} mmi_nw_cfun_state_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_nw_cfun_state_rsp_struct;
#endif /* defined(__MOD_RAC__) */
/* Security Related Messages */
#if defined(__MOD_SMU__)
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 imsi[17];
} mmi_smu_get_imsi_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 opcode; /* sim_security_operation_enum */
kal_uint8 type; /* smu_security_type_enum */
kal_uint8 passwd[MAX_SIM_PASSWD_LEN];
} mmi_smu_lock_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 cause;
sim_chv_info_struct chv_info;
} mmi_smu_lock_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 pin[MAX_SIM_PASSWD_LEN];
} mmi_smu_reset_data_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 cause;
} mmi_smu_reset_data_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 dial_mode; /* sim_dn_enum */
} mmi_smu_get_dial_mode_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 pin_type; /* smu_security_type_enum */
kal_uint8 pin[MAX_SIM_PASSWD_LEN];
kal_uint8 new_pin[MAX_SIM_PASSWD_LEN];
} mmi_smu_verify_pin_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 next_type; /* smu_security_type_enum */
sim_chv_info_struct chv_info;
} mmi_smu_verify_pin_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 name; /* smu_pending_password_id_enum */
} mmi_smu_get_pin_type_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 index;
kal_uint8 opcode;
kal_uint8 oper[MAX_PLMN_LEN+1];
kal_uint8 rat;
} mmi_smu_set_preferred_oper_list_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 cause;
} mmi_smu_set_preferred_oper_list_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 index;
kal_uint16 num;
kal_uint16 file_idx_req;
} mmi_smu_get_preferred_oper_list_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 retnum;
kal_uint8 oper_list[MAX_SUPPORT_EF_PLMNSEL_REC*7];
kal_uint8 rat_list[MAX_SUPPORT_EF_PLMNSEL_REC*2];
kal_uint16 file_idx_rsp;
} mmi_smu_get_preferred_oper_list_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 pin[MAX_SIM_PASSWD_LEN];
kal_uint8 currency[3];
kal_uint8 ppu[18];
} mmi_smu_set_puc_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 cause;
} mmi_smu_set_puc_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 currency[3];
kal_uint8 ppu[18];
} mmi_smu_get_puc_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 type;
kal_uint8 old[MAX_SIM_PASSWD_LEN];
kal_uint8 new1[MAX_SIM_PASSWD_LEN];
kal_uint8 new2[MAX_SIM_PASSWD_LEN];
} mmi_smu_change_password_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 cause;
sim_chv_info_struct chv_info;
} mmi_smu_change_password_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 cmd;
kal_uint16 file_id;
kal_uint8 p1;
kal_uint8 p2;
kal_uint8 p3;
kal_uint8 data[256];
} mmi_smu_restricted_access_req_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
kal_uint8 sw1;
kal_uint8 sw2;
kal_uint16 length;
kal_uint8 resp[256];
} mmi_smu_restricted_access_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 type;
kal_uint8 on_off;
kal_uint8 pin[MAX_SIM_PASSWD_LEN];
} mmi_smu_set_dial_mode_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 cause;
} mmi_smu_set_dial_mode_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 file_idx;
kal_uint8 para;
kal_uint8 data[260];
kal_uint16 length;
kal_uint8 path[6];
} mmi_smu_write_sim_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 cause;
} mmi_smu_write_sim_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 file_idx;
kal_uint16 para;
kal_uint16 length;
kal_uint8 path[6];
} mmi_smu_read_sim_req_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
kal_uint16 length;
kal_uint8 data[260];
} mmi_smu_read_sim_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_smu_power_off_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 mode;
} mmi_smu_remove_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_smu_remove_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 type;
kal_bool is_sim_change;
sim_chv_info_struct chv_info;
kal_uint8 cphs_retry_count;
} mmi_smu_password_required_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint16 length;
} mmi_smu_support_plmn_list_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint16 cause;
} mmi_smu_fail_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 file_idx;
kal_uint8 path[6];
} mmi_smu_read_file_info_req_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
kal_uint16 file_size;
kal_uint8 num_of_rec;
} mmi_smu_read_file_info_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
sim_chv_info_struct chv_info;
sim_chv_status_struct chv_status;
} mmi_smu_check_pin_status_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 num;
kal_uint8 ecc[35];
kal_uint8 language[5];
kal_uint8 alpha_set;
} mmi_smu_startup_info_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool cipher_ind;
kal_uint8 is_gsm_conn_exist;
kal_uint8 gsm_cipher_cond;
kal_uint8 gprs_cipher_cond;
} mmi_smu_cipher_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 category;
kal_uint8 op;
kal_uint8 key[8];
kal_uint8 len;
kal_uint8 data[10];
} mmi_smu_set_personalization_req_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
kal_uint8 category;
kal_uint8 op;
kal_uint8 state;
kal_uint8 retry_count;
kal_uint8 num_of_sets;
kal_uint8 space_of_sets;
} mmi_smu_set_personalization_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
kal_uint8 state[7];
kal_uint8 retry_count[7];
kal_uint8 autolock_count[7];
kal_uint8 num_of_sets[7];
kal_uint8 total_size_of_cat[7];
kal_uint8 key_state[7];
kal_uint8 imsi[16];
kal_uint8 is_valid_gid1;
kal_uint8 ef_gid1;
kal_uint8 is_valid_gid2;
kal_uint8 ef_gid2;
kal_uint8 digits_of_mnc;
} mmi_smu_sml_status_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 next_type;
sim_chv_info_struct chv_info;
} mmi_smu_verify_pin_result_ind_struct;
#endif /* defined(__MOD_SMU__) */
/* PhoneBook Related Messages */
#if defined(__MOD_PHB__)
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 type;
kal_uint16 no_data;
l4_name_struct name;
} mmi_phb_get_entry_by_name_req_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
kal_uint16 no_list;
l4c_phb_entry_struct list[PHB_MAX_PHB_ENTRIES];
} mmi_phb_get_entry_by_name_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 type;
kal_uint8 storage; /* phb_storage_enum */
kal_uint16 index;
kal_uint16 record_index;
kal_uint16 no_data;
} mmi_phb_get_entry_by_index_req_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
kal_uint16 no_list;
l4c_phb_entry_struct list[PHB_MAX_PHB_ENTRIES];
} mmi_phb_get_entry_by_index_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 storage; /* phb_storage_enum */
} mmi_phb_set_preferred_storage_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_phb_set_preferred_storage_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 storage; /* phb_storage_enum */
kal_uint16 used;
kal_uint16 total;
} mmi_phb_get_preferred_storage_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 type;
kal_uint16 no_data;
l4c_phb_entry_struct list;
} mmi_phb_set_entry_req_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
kal_uint16 no_list;
l4c_phb_entry_struct list[PHB_MAX_PHB_ENTRIES];
} mmi_phb_set_entry_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 type;
kal_uint16 index;
kal_uint8 no_data;
kal_uint8 storage;
kal_bool del_all;
} mmi_phb_del_entry_req_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
kal_uint16 no_list;
l4c_phb_entry_struct list[PHB_MAX_PHB_ENTRIES];
} mmi_phb_del_entry_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_number_struct number;
} mmi_phb_set_voice_mail_server_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_phb_set_voice_mail_server_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 type;
} mmi_phb_get_alpha_list_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 list[26];
} mmi_phb_get_alpha_list_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 type;
} mmi_phb_get_type_status_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 used;
kal_uint16 total;
} mmi_phb_get_type_status_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 type;
kal_uint8 seq_id;
} mmi_phb_get_last_number_req_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
kal_uint8 no_list;
kal_uint8 type;
kal_uint8 more_data;
l4c_phb_ln_entry_struct list[1];
} mmi_phb_get_last_number_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 type;
kal_uint8 no_data;
kal_uint8 index;
l4c_phb_ln_entry_struct entry;
} mmi_phb_set_last_number_req_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
kal_uint16 no_list;
l4c_phb_ln_entry_struct list[1];
} mmi_phb_set_last_number_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 type;
kal_uint8 index;
kal_uint8 no_data;
} mmi_phb_del_last_number_req_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -