| #ifndef __MCF_UTFWK_STRUCT_H |
| #define __MCF_UTFWK_STRUCT_H |
| |
| #include "kal_public_defs.h" |
| #include "ps_public_enum.h" |
| |
| #include "mcf_enum.h" |
| #include "ps_public_struct.h" |
| #include "mcf_struct.h" |
| |
| /*------------------------------------------------------------------------------ |
| * Data structure defintion. |
| *----------------------------------------------------------------------------*/ |
| typedef struct _mcf_utfwk_config_variable_struct { |
| kal_uint16 gid; |
| kal_char array_index[256]; |
| kal_uint16 rec_id; |
| void *value; |
| kal_uint32 value_len; |
| }mcf_utfwk_config_variable_struct; |
| |
| typedef struct _mcf_utfwk_config_variable_info_struct { |
| mcf_utfwk_config_variable_struct *var; |
| kal_uint32 var_cnt; |
| kal_uint32 operation_mask; |
| kal_uint8 tag_type; |
| }mcf_utfwk_config_variable_info_struct; |
| |
| typedef struct _mcf_utfwk_ota_input_struct{ |
| kal_uint16 lid[64]; |
| kal_uint32 lid_cnt; |
| mcf_ota_utfwk_type_enum ota_type; |
| sim_interface_enum sim_id; |
| kal_uint32 sbp_id; |
| kal_uint8 mcc[MAX_MCC_STR_LEN]; |
| kal_uint8 mnc[MAX_MNC_STR_LEN]; |
| kal_uint8 iccid[21]; |
| mcf_utfwk_ota_input_op_enum input_op; |
| union { |
| kal_uint8 file_path_name[MCF_FILE_MAX_MD_PATH_LEN + MCF_FILE_MAX_NAME_LEN]; |
| mcf_utfwk_config_variable_info_struct var_info; |
| } input_mode; |
| } mcf_utfwk_ota_input_struct; |
| |
| typedef kal_bool (*MCF_UTFWK_DSBP_FUNC)(sbp_reconfig_custom_param_struct *param_ptr); |
| |
| typedef struct _mcf_utfwk_common_t { |
| kal_bool initial_ret; |
| kal_bool is_general; |
| mcf_utfwk_ota_input_struct ota_input; |
| MCF_UTFWK_DSBP_FUNC utfwk_dsbp_func_ptr; |
| }mcf_utfwk_common_t; |
| |
| typedef struct { |
| LOCAL_PARA_HDR |
| |
| mcf_utfwk_ota_input_struct ota_input; |
| } mcf_utfwk_initial_env_req_struct; |
| |
| typedef struct { |
| LOCAL_PARA_HDR |
| |
| kal_bool result; |
| } mcf_utfwk_initial_env_resp_struct; |
| |
| typedef struct { |
| LOCAL_PARA_HDR |
| |
| MCF_UTFWK_DSBP_FUNC utfwk_dsbp_func_ptr; |
| } mcf_utfwk_initial_dsbp_callback_req_struct; |
| |
| typedef struct { |
| LOCAL_PARA_HDR |
| |
| kal_uint16 lid; |
| kal_uint16 rec_id; |
| mcf_utfwk_dump_type_enum dump_type; |
| void *buffer; |
| kal_uint32 size; |
| kal_uint16 gid; |
| kal_char* array_index; |
| } mcf_utfwk_dump_result_req_struct; |
| |
| typedef struct { |
| LOCAL_PARA_HDR |
| |
| kal_bool result; |
| } mcf_utfwk_dump_result_resp_struct; |
| |
| #endif /* __MCF_UTFWK_STRUCT_H */ |
| |