📄 mmi_msg_struct.h
字号:
{
LOCAL_PARA_HDR
kal_uint8 data[10];
kal_uint8 length;
} mmi_eq_set_ms_imei_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_eq_set_ms_imei_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_eq_rtc_poweron_state_rsp_struct;
#endif /* defined(__MOD_UEM__) */
/* Hardware - RTC, Clock, Alarm Related Messages */
#if defined(__MOD_UEM__)
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 rtc_type;
kal_uint8 set_type;
rtc_alarm_info_struct info;
} mmi_eq_set_rtc_time_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 cause;
} mmi_eq_set_rtc_time_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 rtc_type;
kal_uint8 set_type;
rtc_alarm_info_struct alarm;
} mmi_eq_set_rtc_time_req_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 rtc_type;
kal_uint8 set_type;
rtc_alarm_info_struct info;
} mmi_eq_exe_rtc_timer_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_eq_exe_rtc_timer_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 rtc_type;
} mmi_eq_get_rtc_time_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 num;
rtc_alarm_info_struct rtctime[MAX_ALARM_NUM];
} mmi_eq_get_rtc_time_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 rtc_type;
kal_uint8 rtc_index;
} mmi_eq_del_rtc_timer_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 cause;
} mmi_eq_del_rtc_timer_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 rtc_type;
kal_uint8 rtc_index;
} mmi_eq_del_rtc_timer_req_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 rtc_type;
kal_uint8 rtc_index;
} mmi_eq_exe_del_rtc_timer_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_eq_exe_del_rtc_timer_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 rtc_type;
kal_uint8 rtc_index;
} mmi_eq_exe_del_rtc_timer_req_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool is_date_set;
kal_uint8 mode;
} mmi_eq_set_date_time_format_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_eq_set_date_time_format_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool is_date_set;
kal_uint8 mode;
} mmi_eq_set_date_time_format_req_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
void * timeout_hdlr;
kal_uint16 time;
void* param;
} mmi_eq_start_timer_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
eventid id;
void* ret_param;
} mmi_eq_start_timer_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
eventid event_id;
} mmi_eq_stop_timer_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_eq_stop_timer_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 rtc_type;
rtc_format_struct rtc_time;
} mmi_eq_clock_tick_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
rtc_format_struct rtc_time;
} mmi_eq_alarm_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 totalAlarm;
kal_uint8 activeAlarm;
mmi_at_alarm_info_struct* alarmList;
} mmi_at_alarm_query_res_req_struct;
typedef struct
{
LOCAL_PARA_HDR
mmi_at_alarm_info_struct alarm;
} mmi_at_alarm_set_req_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_at_alarm_set_res_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 alarm_index;
} mmi_at_alarm_delete_req_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_at_alarm_delete_res_req_struct;
#endif /* defined(__MOD_UEM__) */
/* Hardware - Keypad, Indicator, LCD Related Messages */
#if defined(__MOD_UEM__)
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 keycode[32];
kal_uint8 time;
kal_uint8 pause;
} mmi_eq_simulate_key_press_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_eq_simulate_key_press_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 keypad_status; /* keypad_status_enum */
kal_uint8 keycode; /* keypad_code_enum */
} mmi_eq_simulate_key_press_req_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 icon_id; /* indicator_type_enum */
kal_uint8 value;
} mmi_eq_set_indicator_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_eq_set_indicator_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 icon_id; /* indicator_type_enum */
kal_uint8 value;
} mmi_eq_set_indicator_req_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 icon_id; /* indicator_type_enum */
} mmi_eq_get_indicator_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 value;
} mmi_eq_get_indicator_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 text_string[UEM_DISPLAY_TEXT_LEN];
} mmi_eq_display_text_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_eq_display_text_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 text_string[UEM_DISPLAY_TEXT_LEN];
} mmi_eq_display_text_req_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
drv_get_key_func func;
} mmi_eq_keypad_detect_ind_struct;
#endif /* defined(__MOD_UEM__) */
/* Hardware - Misc Messages */
#if defined(__MOD_UEM__)
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 lang_code;
} mmi_eq_set_language_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 cause;
} mmi_eq_set_language_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 lang_code;
} mmi_eq_set_language_req_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool mode;
kal_uint8 dcs;
kal_uint8 text[UEM_GREETING_LEN];
kal_uint8 length;
} mmi_eq_set_greeting_text_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 cause;
} mmi_eq_set_greeting_text_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool mode;
kal_uint8 dcs;
kal_uint8 text[UEM_GREETING_LEN];
kal_uint8 length;
} mmi_eq_set_greeting_text_req_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool mode;
} mmi_eq_set_vibrator_mode_req_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 mode;
} mmi_eq_set_vibrator_mode_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 cause;
} mmi_eq_set_vibrator_mode_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 country_code;
} mmi_eq_set_country_code_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 cause;
} mmi_eq_set_country_code_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 country_code;
} mmi_eq_get_country_code_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 battery_status; /* battery_status_enum */
kal_uint8 battery_vol;
} mmi_eq_get_battery_status_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 equip_type; /* equip_id_enum */
} mmi_eq_get_equip_id_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 equip_id[UEM_EQUIP_ID_LEN];
} mmi_eq_get_equip_id_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_eq_load_default_config_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 fun;
kal_uint8 rst;
} mmi_eq_power_on_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_eq_power_on_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_eq_power_off_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 poweron_mode; /* power_on_status_enum */
kal_uint8 battery_level;
kal_uint8 build_label;
rtc_format_struct rtc_time;
kal_uint8 flightmode_state;
} mmi_eq_power_on_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 battery_status; /* battery_status_enum */
kal_uint8 battery_voltage;
} mmi_eq_battery_status_ind_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 request_type;
pmic_config_param_struct request;
} mmi_eq_pmic_config_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 request_type;
pmic_config_param_struct request;
} mmi_eq_pmic_config_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 status_type;
} mmi_eq_battery_status_res_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 request_type;
rf_test_gsm_param_struct request;
} mmi_eq_rf_test_gsm_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 request_type;
rf_test_gsm_param_struct request;
} mmi_eq_rf_test_gsm_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 request_type;
fm_radio_config_param_struct request;
} mmi_eq_fm_radio_config_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 request_type;
fm_radio_config_param_struct request;
} mmi_eq_fm_radio_config_rsp_struct;
#endif /* defined(__MOD_UEM__) */
/* Hardware - NVRAM messages */
#if defined(__MOD_NVRAM__)
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 file_idx;
kal_uint16 para;
kal_uint16 rec_amount;
} mmi_eq_nvram_read_req_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
kal_uint8 file_idx;
kal_uint16 length;
kal_uint8 data[1];
} mmi_eq_nvram_read_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 file_idx;
kal_uint16 para;
kal_uint16 length;
kal_uint8 data[1];
} mmi_eq_nvram_write_req_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
kal_uint8 file_idx;
kal_uint16 para;
} mmi_eq_nvram_write_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 reset_category;
kal_uint8 lid;
} mmi_eq_nvram_reset_req_struct;
typedef struct
{
LOCAL_PARA_HDR
l4c_result_struct result;
} mmi_eq_nvram_reset_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 func_id;
kal_uint8 ps_port;
kal_uint8 tst_port;
kal_uint32 ps_baud_rate;
kal_uint32 tst_baud_rate;
kal_bool High_Speed_SIM_Enabled;
kal_uint8 swdbg;
kal_uint8 uart_power_setting;
} mmi_eq_set_uart_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_eq_set_uart_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 ps_uart_port;
kal_uint32 ps_baud_rate;
kal_uint8 tst_uart_port;
kal_uint32 tst_baud_rate;
} mmi_eq_get_uart_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
module_type module_id;
UART_PORT port;
kal_uint32 baud_rate;
} mmi_attach_uart_port_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 result;
} mmi_attach_uart_port_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
module_type module_id;
UART_PORT port;
} mmi_detach_uart_port_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 result;
} mmi_detach_uart_port_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool enable;
} mmi_eq_dcm_enable_req_struct;
#endif /* defined(__MOD_NVRAM__) */
/* Network Related Messages */
#if defined(__MOD_RAC__)
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 imei[16];
kal_uint8 svn[3];
} mmi_nw_get_imei_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_nw_abort_plmn_list_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 type; /* l4crac_attach_type_enum */
kal_uint8 opcode; /* l4crac_ps_attach_enum */
kal_bool is_poweroff;
} mmi_nw_set_attach_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_nw_set_attach_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 type; /* l4crac_attach_type_enum */
} mmi_nw_get_attach_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 status; /* l4crac_ps_attach_enum */
} mmi_nw_get_attach_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 type;
} mmi_nw_set_mobile_class_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint16 cause;
} mmi_nw_set_mobile_class_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 type;
} mmi_nw_get_mobile_class_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 mode;
} mmi_nw_set_plmn_select_mode_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
} mmi_nw_set_plmn_select_mode_rsp_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_bool result;
kal_uint8 mode;
} mmi_nw_get_plmn_select_mode_rsp_struct;
typedef struct
{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -