| /***************************************************************************** |
| * Copyright Statement: |
| * -------------------- |
| * This software is protected by Copyright and the information contained |
| * herein is confidential. The software may not be copied and the information |
| * contained herein may not be used or disclosed except with the written |
| * permission of MediaTek Inc. (C) 2005 |
| * |
| * BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES |
| * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") |
| * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON |
| * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, |
| * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF |
| * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. |
| * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE |
| * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR |
| * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH |
| * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO |
| * NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S |
| * SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM. |
| * |
| * BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE |
| * LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, |
| * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, |
| * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO |
| * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. |
| * |
| * THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE |
| * WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF |
| * LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND |
| * RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER |
| * THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC). |
| * |
| *****************************************************************************/ |
| /******************************************************************************* |
| * Copyright Statement: |
| * -------------------- |
| * This software is protected by Copyright and the information contained |
| * herein is confidential. The software may not be copied and the information |
| * contained herein may not be used or disclosed except with the written |
| * permission of MediaTek Inc. (kal_uint8 src_id, C) 2001 |
| * |
| *******************************************************************************/ |
| |
| /******************************************************************************* |
| * Filename: |
| * --------- |
| * l4c_eq_cmd.h |
| * |
| * Project: |
| * -------- |
| * MT6208 |
| * |
| * Description: |
| * ------------ |
| * This file is intends for �K. |
| * |
| * Author: |
| * ------- |
| * ------- |
| * |
| *============================================================================== |
| * HISTORY |
| * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| *------------------------------------------------------------------------------ |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| *------------------------------------------------------------------------------ |
| * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| *============================================================================== |
| *******************************************************************************/ |
| |
| #ifndef _L4C_EQ_CMD_H |
| #define _L4C_EQ_CMD_H |
| |
| #include "med_struct.h" |
| |
| #include "l4c2uem_struct.h" |
| #include "nvram_enums.h" |
| //#include "event_shed.h" |
| #include "device.h" |
| #include "l4c_aux_struct.h" |
| #include "dcl.h" |
| #include "kal_general_types.h" |
| #include "ps_public_struct.h" |
| #include "ps_public_enum.h" |
| |
| #include "kal_public_api.h" |
| #ifdef __LTE_RAT__ |
| #include "l4c_el1_struct.h" |
| #endif |
| |
| #ifdef __TC01__ |
| typedef enum |
| { |
| FACTEST_LCD_INITIAL = 0, |
| FACTEST_LCD_CONTRAST, |
| FACTEST_LCD_TILT, |
| FACTEST_LCD_COLOR, |
| FACTEST_LCD_LED_ON, |
| FACTEST_LCD_LED_OFF, |
| FACTEST_LCD_RED = 11, |
| FACTEST_LCD_GREEN = 12, |
| FACTEST_LCD_BLUE = 13, |
| NUM_OF_FACTEST_LCD |
| } lcd_test_mode_enum; |
| #endif |
| |
| extern kal_bool l4c_eq_gpio_detect_res_req(kal_uint8 ext_gpio_device); |
| |
| /* audio related */ |
| extern kal_bool l4c_eq_audio_play_req(kal_uint8 src_id, kal_uint8 sound_id, kal_uint8 style, kal_uint16 identifier); |
| |
| extern kal_bool l4c_eq_full_para_audio_play_req(kal_uint8 src_id, |
| kal_uint8 sound_id, |
| kal_uint8 style, |
| kal_uint16 identifier, |
| kal_uint8 volume, |
| kal_uint8 out_path); |
| |
| extern kal_bool l4c_eq_audio_play_by_name_req( |
| kal_uint8 src_id, |
| kal_wchar *file_name, |
| kal_uint8 style, |
| kal_uint16 identifier); |
| |
| extern kal_bool l4c_eq_audio_stop_by_name_req(kal_uint8 src_id, kal_wchar *file_name); |
| |
| extern kal_bool l4c_eq_audio_stop_req(kal_uint8 src_id, kal_uint8 sound_id); |
| |
| extern kal_bool l4c_eq_audio_play_by_string_req( |
| kal_uint8 src_id, |
| kal_uint8 *melody, |
| kal_uint32 len, |
| kal_uint8 format, |
| kal_uint8 play_style, |
| kal_uint16 identifier, |
| kal_uint32 start_offset, |
| kal_uint32 end_offset, |
| kal_uint8 volume, |
| kal_uint8 output_path, |
| kal_uint8 blocking); |
| |
| extern kal_bool l4c_eq_audio_stop_by_string_req(kal_uint8 src_id); |
| |
| extern kal_bool l4c_eq_demo_ext_midi_ring_req( |
| kal_uint8 src_id, |
| kal_uint8 *imelody, |
| kal_uint16 len, |
| kal_uint8 play_style, |
| kal_uint16 identifier); |
| extern kal_bool l4c_eq_fs_read_req(void); |
| |
| extern void l4c_eq_fs_app_next(void); |
| extern void l4c_eq_fs_efsl_next(void); |
| extern kal_bool l4c_eq_exe_volume_req(kal_uint8 src_id, kal_uint8 volume_type, kal_uint8 volume_level); |
| |
| extern kal_bool l4c_eq_set_audio_profile_req(kal_uint8 src_id, audio_profile_struct *audio_prof); |
| |
| extern kal_bool l4c_eq_set_audio_param_req(kal_uint8 src_id, audio_param_struct *audio_para); |
| |
| extern kal_bool l4c_eq_get_audio_profile_req(kal_uint8 src_id, kal_uint8 mode); |
| |
| extern kal_bool l4c_eq_get_audio_param_req(kal_uint8 src_id); |
| |
| #if defined(__AMRWB_LINK_SUPPORT__) |
| extern kal_bool l4c_eq_get_audio_wb_param_req(kal_uint8 src_id, kal_uint8 option); |
| |
| extern kal_bool l4c_eq_set_audio_wb_param_req(kal_uint8 src_id, kal_uint8 option, void *new_param); |
| #endif |
| extern kal_bool l4c_eq_get_volume_req(kal_uint8 src_id, kal_uint8 volume_type); |
| |
| extern void l4c_eq_lcd_set_contrast_req(kal_uint8 lcd_type, kal_uint8 lcd_contrast); |
| |
| extern kal_bool l4c_eq_exe_mute_req(kal_uint8 src_id, kal_uint8 audio_device, kal_bool mute_onoff); |
| |
| extern kal_bool l4c_eq_get_mute_mode_req(kal_uint8 src_id, kal_uint8 audio_device, kal_bool *mute_onoff); |
| |
| extern kal_bool l4c_eq_set_silent_mode_req(kal_uint8 src_id, kal_bool mode); |
| extern kal_bool l4c_eq_get_silent_mode_req(kal_uint8 src_id, kal_bool *mode); |
| extern kal_bool l4c_eq_set_speech_mode_req(kal_bool on_off); |
| |
| extern kal_bool l4c_eq_set_audio_mode_req(kal_uint8 mode); /* audio_mode_enum */ |
| |
| extern kal_bool l4c_eq_get_adc_all_channel_start_req(void); |
| |
| extern kal_bool l4c_eq_get_adc_all_channel_stop_req(void); |
| |
| extern kal_bool l4c_eq_set_vibrator_mode_req(kal_uint8 src_id, kal_uint8 mode); |
| |
| extern kal_bool l4c_eq_exe_gpio_level_req(kal_uint8 src_id, kal_uint8 gpio_dev_type, kal_uint8 gpio_dev_level); |
| |
| extern kal_bool l4c_eq_get_gpio_level_req(kal_uint8 src_id, kal_uint8 gpio_dev_type, kal_uint8 *gpio_dev_level); |
| |
| extern kal_bool l4c_eq_set_keypad_input_req(kal_uint8 src_id, kal_uint8 *keycode, kal_uint8 time, kal_uint8 pause); |
| |
| /* rtc related, clock, alarm */ |
| |
| extern kal_bool l4c_eq_exe_rtc_time_req( |
| kal_uint8 src_id, |
| kal_uint8 rtc_type, |
| kal_uint8 set_type, |
| rtc_alarm_info_struct info); |
| |
| extern kal_bool l4c_eq_set_rtc_time_req( |
| kal_uint8 src_id, |
| kal_uint8 rtc_type, |
| kal_uint8 set_type, |
| rtc_alarm_info_struct info); |
| |
| extern kal_bool l4c_eq_get_rtc_time_req( |
| kal_uint8 src_id, |
| kal_uint8 rtc_type, |
| kal_uint8 *num, |
| rtc_alarm_info_struct *rtctime); |
| |
| extern kal_bool l4c_eq_exe_rtc_delete_req(kal_uint8 src_id, kal_uint8 rtc_type, kal_uint8 rtc_index); |
| |
| extern kal_bool l4c_eq_rtc_delete_req(kal_uint8 src_id, kal_uint8 rtc_type, kal_uint8 rtc_index); |
| |
| extern kal_bool l4c_eq_set_date_time_format_req(kal_uint8 src_id, kal_bool is_date_set, kal_uint8 mode); |
| |
| extern kal_bool l4c_eq_get_date_time_format_req(kal_uint8 src_id, kal_bool is_date_set, kal_uint8 *mode); |
| |
| /* misc */ |
| |
| //extern kal_bool l4c_eq_set_language_req (kal_uint8 src_id, kal_uint8 *lang_code); |
| extern kal_bool l4c_eq_set_language_req(kal_uint8 src_id, kal_uint8 lang_code); |
| |
| extern kal_bool l4c_eq_get_language_req(kal_uint8 src_id, kal_uint8 *lang_code); |
| |
| extern kal_bool l4c_eq_set_greeting_text_req( |
| kal_uint8 src_id, |
| kal_bool mode, |
| kal_uint8 dcs, |
| kal_uint8 text[62], |
| kal_uint8 length); |
| |
| extern kal_bool l4c_eq_get_battery_capacity_status_req( |
| kal_uint8 src_id, |
| kal_uint8 *battery_status, |
| kal_uint32 *battery_cap); |
| |
| extern kal_bool l4c_eq_get_equip_id_req(kal_uint8 src_id, kal_uint8 equip_type, kal_uint8 *equip_id); |
| |
| extern kal_bool l4c_eq_read_nvm_uart_port_req(kal_uint8 src_id, kal_uint16 action); //MAUI_02304946, mtk02285 |
| |
| extern kal_bool l4c_eq_load_default_config_req(kal_uint8 src_id); |
| |
| extern kal_bool l4c_eq_load_power_on_data_req(kal_uint8 src_id, kal_bool read_flag, nvram_lid_enum file_idx); |
| |
| extern kal_bool l4c_eq_uart_transfer_req(kal_uint8 port); |
| |
| extern kal_bool l4c_eq_uart_release_req(kal_uint8 port); |
| |
| extern kal_bool l4c_eq_set_uart_port_req( |
| kal_uint8 src_id, |
| kal_uint8 func_id, |
| kal_uint8 ps_port, |
| kal_uint8 tst_port_ps, |
| kal_uint32 ps_baud_rate, |
| kal_uint32 tst_baud_rate_ps, |
| kal_bool High_Speed_SIM_Enabled, |
| kal_uint8 swdbg, |
| kal_uint8 uart_power_setting, |
| kal_uint8 cti_uart_port, |
| kal_uint32 cti_baud_rate, |
| kal_uint8 tst_port_l1, |
| kal_uint32 tst_baud_rate_l1, |
| kal_uint8 tst_output_mode, |
| kal_uint8 usb_logging_mode, |
| kal_uint16 tst_port_dsp, |
| kal_uint32 tst_baud_rate_dsp); |
| |
| extern kal_bool l4c_eq_get_uart_port_req(kal_uint8 src_id); |
| |
| extern kal_bool l4c_eq_read_nvram_req( |
| kal_uint8 src_id, |
| kal_uint16 file_idx, |
| kal_uint16 para, |
| kal_uint16 rec_amount); |
| |
| extern kal_bool l4c_eq_write_nvram_req( |
| kal_uint8 src_id, |
| kal_uint16 file_idx, |
| kal_uint16 para, |
| kal_uint8 *data, |
| kal_uint16 length); |
| |
| extern kal_bool l4c_eq_reset_nvram_req( |
| kal_uint8 src_id, |
| kal_uint8 reset_category, |
| kal_uint16 lid, |
| kal_uint16 rec_index, |
| kal_uint16 rec_amount); |
| |
| extern kal_bool l4c_eq_power_off_req(kal_uint8 src_id); |
| |
| extern kal_bool l4c_eq_cancel_lock_poweron_req(kal_uint8 src_id,kal_uint8 type); |
| |
| extern eventid l4c_set_timer_req(void *timeout_hdlr, kal_uint16 time, void *param); |
| |
| extern kal_bool l4c_exe_functionality_req(kal_uint8 src_id, kal_uint8 fun, kal_uint8 rst); |
| |
| extern kal_bool l4c_em_keypad_event_output_req(kal_uint8 src_id, kal_uint8 keypad_status, kal_uint8 keypad_code,kal_uint32 time_stamp); |
| |
| extern void l4c_eq_keypad_event_output_req(kal_uint8 src_id, kal_uint8 keypad_status, kal_uint8 keypad_code); |
| |
| extern void l4c_eq_scrntch_event_output_req(kal_uint8 action, kal_uint16 x_coords, kal_uint16 y_coords); |
| |
| extern kal_bool l4c_em_lcm_test_ind(kal_uint8 src_id, kal_uint8 color_type); |
| |
| extern kal_bool l4c_em_set_mmi_default_prof_ind( |
| kal_uint8 src_id, |
| kal_uint8 op, |
| kal_uint8 category, |
| kal_uint8 param1, |
| kal_uint8 param2, |
| kal_uint8 param3, |
| kal_uint8 *param4); |
| |
| extern kal_bool l4c_em_keypad_event_act_ind(kal_uint8 src_id, kal_bool on_off); |
| |
| extern kal_bool l4c_em_lcm_sleep_mode_req_ind(kal_uint8 src_id, kal_uint8 on_off); |
| |
| extern kal_bool l4c_eq_pattern_play_req(kal_uint8 src_id, kal_uint8 pattern, kal_uint8 action); |
| |
| extern kal_bool l4c_eq_set_hw_level_req(kal_uint8 src_id, l4c_hw_profile_struct *hw_profile); |
| |
| extern kal_bool l4c_eq_get_hw_level_req(kal_uint8 src_id, l4c_hw_profile_struct *hw_profile); |
| |
| extern kal_bool l4c_eq_read_ms_sn_req(kal_uint8 src_id, nvram_lid_enum file_idx, kal_uint8 para); |
| |
| extern kal_bool l4c_eq_read_ms_sv_req(kal_uint8 src_id, nvram_lid_enum file_idx, kal_uint8 para); |
| |
| extern kal_bool l4c_eq_read_autotest_report_req(kal_uint8 src_id, nvram_lid_enum file_idx, kal_uint8 para); |
| |
| #ifdef __IRDA_SUPPORT__ |
| extern kal_bool l4c_eq_irda_open_req(kal_uint16 wait_duration); |
| |
| extern kal_bool l4c_eq_irda_close_req(void); |
| #endif /* __IRDA_SUPPORT__ */ |
| |
| extern kal_bool l4c_eq_set_ms_sn_req(kal_uint8 src_id, kal_uint8 *data, kal_uint8 length); |
| |
| extern kal_bool l4c_eq_set_ms_imei_req(kal_uint8 src_id, kal_uint8 *data, kal_uint8 length); |
| |
| extern kal_bool l4c_eq_set_ms_sv_req(kal_uint8 src_id, kal_uint8 *data, kal_uint8 length); |
| |
| #if 0 |
| /* under construction !*/ |
| #endif |
| extern kal_bool l4c_eq_lock_nvram_req(kal_uint8 src_id, kal_uint8 mode); /* nvram_lock_state_enum */ |
| |
| extern kal_bool l4c_em_sleep_mode_req(kal_bool on_off); |
| |
| extern void l4c_mms_folder_status_output_req( |
| kal_uint8 result, |
| kal_uint32 numOfMsg, |
| kal_uint32 numOfUnreadMsg, |
| kal_uint8 *mmsHomeDirectory, |
| kal_uint8 *infoFilePath); |
| extern void l4c_mms_upload_msg_output_req(kal_uint8 result, kal_uint32 msgId, kal_uint8 storage); |
| extern void l4c_mms_delete_msg_output_req(kal_uint8 result); |
| extern void l4c_mms_read_msg_path_res_req(kal_uint8 result, kal_uint32 msgId,kal_uint8 *path); |
| |
| extern void l4c_eq_screen_touch_res_req(kal_int8 result); |
| extern void l4c_eq_scrnorient_res_req(kal_int8 result, kal_uint8 mode); |
| extern void l4c_eq_scrnsize_query_res_req(kal_int8 result, kal_uint16 max_x, kal_uint16 max_y); |
| extern void l4c_eq_screen_shot_res_req(kal_int8 result, kal_uint8 op, kal_wchar *file_path); |
| |
| extern void l4c_eq_at_alarm_general_res_req(kal_bool result); |
| extern void l4c_eq_at_alarm_query_res_req( |
| kal_uint8 totalAlarm, |
| kal_uint8 activeAlarm, |
| mmi_at_alarm_info_struct *alarmList); |
| |
| extern void l4c_eq_query_vibrator_mode_res_req(kal_bool mode); |
| extern void l4c_eq_query_silent_mode_res_req(kal_bool mode); |
| extern void l4c_eq_query_mute_mode_res_req(kal_bool mode); |
| extern void l4c_eq_query_greeting_text_res_req(kal_bool mode, kal_uint8 dcs, kal_uint8 *text, kal_uint8 length); |
| extern void l4c_eq_query_language_res_req(kal_uint8 lang_code); |
| extern void l4c_eq_query_datetime_format_res_req(kal_bool is_date, kal_uint8 mode); |
| extern void l4c_mmi_java_local_install_res_req(kal_uint32 error_code); |
| |
| extern void l4c_eq_pmic_config_req(kal_uint8 src_id, kal_uint8 request_type, pmic_config_param_struct request); |
| extern void l4c_eq_usbdetect_res_req(kal_uint8 src_id, kal_uint8 action); |
| extern void l4c_eq_battery_status_res_req(kal_uint8 src_id, kal_uint8 status_type); |
| extern kal_bool l4c_bt_set_vr_req(kal_uint8 src_id, kal_bool on_off); |
| extern void l4c_eq_vcard_res_req(kal_uint8 mode, kal_bool result, kal_uint8 *file_path); |
| extern void l4c_eq_vcalendar_res_req( |
| kal_uint8 mode, |
| kal_bool result, |
| kal_uint8 cause, |
| kal_uint8 total, |
| kal_uint8 used, |
| kal_uint8 index, |
| kal_uint8 *file_path); |
| extern void l4c_eq_str_res_req(kal_uint16 length, kal_uint8 *data_string); |
| extern void l4c_eq_dcm_enable_req(kal_uint8 src_id, kal_bool enable); |
| extern void l4c_eq_rf_test_gsm_req(kal_uint8 src_id, kal_uint8 request_type, rf_test_gsm_param_struct request); |
| extern void l4c_eq_fm_radio_config_req(kal_uint8 src_id, kal_uint8 request_type, fm_radio_config_param_struct request); |
| #if defined(__WIFI_SUPPORT__) |
| extern void l4c_eq_rf_test_wifi_req(kal_uint8 src_id, kal_uint8 request_type, rf_test_wifi_param_struct request); |
| #endif |
| extern void l4c_mmi_eq_call_status_req(kal_uint8 src_id, kal_uint8 call_status); |
| extern void l4c_eq_query_hand_free_mode_res_req(kal_bool is_hand_free); |
| extern void l4c_eq_set_avr_res_req(kal_uint8 result, kal_uint8 mode); |
| extern void l4c_eq_set_cam_res_req(kal_uint8 result, kal_uint8 mode); |
| |
| extern kal_bool l4c_eq_set_backlight_req(kal_uint8 state, kal_uint16 duration); |
| extern void l4c_eq_at_cbklt_query_res_req(kal_uint8 level, kal_uint16 duration); |
| |
| extern void l4c_eq_ram_usage_res_req(kal_int8 result, kal_uint32 used); |
| extern void l4c_eq_launch_app_res_req(kal_int8 result); |
| extern void l4c_eq_app_info_output_res_req(kal_uint8 type, kal_uint16 *log); |
| extern void l4c_em_get_conftest_para_req(kal_uint8 src_id); |
| extern kal_bool l4c_em_set_conftest_para_req(kal_uint8 src_id, kal_uint8 conf_test_mode, kal_uint32 test_profile); |
| extern void l4c_eq_ringtone_play_res_req(kal_bool result, kal_uint8 cause); |
| |
| extern kal_bool l4c_eq_3g_rf_test_req(kal_uint8 src_id, kal_uint8 func, kal_uint8 band, kal_uint16 freq, kal_int8 power); |
| #if defined(__NFC_SUPPORT__) |
| extern kal_bool l4c_eq_nfc_test_req(kal_uint8 src_id, kal_uint8 option, void *data_ptr); |
| #endif |
| |
| #if defined(__AT_BACKUP_DATA_SUPPORT__) |
| extern kal_bool l4c_em_set_sds_req(kal_uint8 src_id, kal_uint8 op); |
| #endif |
| |
| extern kal_bool l4c_eq_set_boot_mode_req(kal_uint8 src_id, kal_uint8 mode); |
| |
| extern void l4c_eq_query_cal_data_dl_status_req(kal_uint8 src_id); |
| |
| extern kal_bool l4c_med_in_proc_call_req(l4c_source_id_enum src_id, |
| kal_uint16 cmd_id, |
| void *cmd_info, |
| kal_uint16 size_of_info); |
| |
| extern void l4c_med_in_epof_req(void); |
| extern void l4c_power_off_notify_others(void); |
| |
| #ifdef __LTE_RAT__ |
| extern kal_bool l4c_eq_rx_rssi_verify_req(kal_uint16 band, kal_uint32 dl_earfcn); |
| extern kal_bool l4c_eq_rf_test_lte_req(kal_uint8 src_id, kal_uint8 request_type, EL1_EM_TSTCmd_ForceTxPwr_T *request); |
| extern kal_bool l4cel1_send_b3_info_req(kal_uint8 src_id, kal_uint8 type, kal_uint8 index, kal_uint16 arfcn, kal_int16 rssi); |
| |
| #endif |
| |
| extern void l4c_set_dynamic_sim_switch(); |
| extern void l4c_set_reconfig_req(protocol_id_enum ps_sim_id); |
| |
| extern kal_bool l4c_eq_txrx_active_time_req(l4c_source_id_enum src_id); |
| extern kal_bool l4c_eq_c2k_rf_test_req(l4c_source_id_enum src_id,kal_uint8 mode, |
| kal_uint8 band, kal_uint8 powerLevel, kal_uint16 channel, |
| kal_uint8 reductionLevel_Ant0, kal_uint8 reductionLevel_Ant1); |
| extern void l4c_send_volte_reconfigure_req(kal_uint8 type); |
| extern void l4c_send_ims_reconfigure_req(module_type dest_mod, kal_uint8 sap, kal_uint8 type); |
| extern kal_bool l4c_hspa_lce_report_pulldata_req(kal_uint8 srcid); |
| extern kal_bool l4c_hspa_lce_report_req(kal_uint8 srcid, kal_uint8 mode, kal_uint32 rpt_interval); |
| extern kal_bool l4c_eq_apinfo_update_req(kal_uint8 receiver_status, kal_uint8 screen_orientation, kal_uint8 psensor_info, kal_uint8 voice_call_status); |
| extern kal_bool l4c_lce_report_pulldata_req(kal_uint8 srcid); |
| extern kal_bool l4c_lce_report_req(kal_uint8 srcid, kal_uint8 mode, kal_uint32 rpt_interval); |
| #endif /* _L4C_EQ_CMD_H */ |
| |
| extern void l4c_eq_gpio_detect_ind(kal_uint8 gpio_device, kal_bool on_off); |
| extern void l4c_eq_power_on_ind(void); |
| #ifdef __TC01__ |
| extern kal_bool l4c_portlockunlock_nvram_req(kal_uint8 src_id, port_lock_enum lock_mode, port_lock_mode_enum cmd_mode); |
| extern kal_bool l4c_portunlock_req(kal_uint8 src_id,kal_uint8 *str); |
| #endif |
| |
| extern l4c_at_cmd_process_type_enum l4c_eq_set_kal_UTC(kal_uint8 src_id, l4c_general_modem_configure_struct *cmd_param_ptr); |
| |