📄 dwdptest.h
字号:
dwd_mmci_read,
dwd_mmci_read_cb,
dwd_mmci_append,
dwd_mmci_append_cb,
dwd_mmci_delete,
dwd_mmci_delete_cb,
dwd_mmci_rename,
dwd_mmci_rename_cb,
dwd_mmci_make_dir,
dwd_mmci_make_dir_cb,
dwd_mmci_remove_dir,
dwd_mmci_remove_dir_cb,
dwd_mmci_change_dir,
dwd_mmci_get_dir,
dwd_mmci_file_exists,
dwd_mmci_findfirst,
dwd_mmci_findnext,
dwd_mmci_get_file_info,
dwd_mmci_get_free_space
};
/*---------------------------------------------*/
/* Structures and types */
/*---------------------------------------------*/
/* WAP..init..type's for the EEP_static */
typedef struct
{
unsigned char /*WCHAR*/ proxyname[2*DWD_WAP_PROXYNAME_SIZE];
char url[DWD_WAP_URL_SIZE];
unsigned char /*WCHAR*/ ip_address[2*DWD_WAP_IP_ADDRESS_SIZE];
unsigned char /*WCHAR*/ login_name[2*DWD_WAP_LOGIN_NAME_SIZE];
unsigned char /*WCHAR*/ login_password[2*DWD_WAP_LOGIN_PASSWORD_SIZE];
unsigned char /*WCHAR*/ dialup_number[2*DWD_WAP_DIALUP_NUMBER_SIZE];
char /*BOOLEAN */ security;
char /*BOOLEAN */ data_call_type;
} dwd_wap_settings_init_type;
typedef struct
{
unsigned char /*WCHAR*/ name[2*DWD_WAP_FAVORITES_NAME_SIZE];
char url[DWD_WAP_URL_SIZE];
} dwd_wap_favorites_init_type;
typedef struct
{
dwd_wap_settings_init_type default_wap_settings[DWD_WAP_SETTINGS_SIZE];
dwd_wap_favorites_init_type default_wap_favorites[DWD_WAP_FAVORITES_SIZE];
} dwd_wap_init_type;
typedef struct
{
unsigned int16 greeting_msg[MMI_GREETING_TEXT_LENGTH+1];
} dwd_greeting_type;
typedef struct
{
signed int16 /*dwd_ring_tone_type*/ ring_tone;
signed int16 /*dwd_ring_volume_type*/ ring_volume;
signed int16 /*dwd_alert_type*/ alert_type;
signed int16 /*dwd_keypad_tone_type*/ keypad_tone;
signed int16 /*dwd_msg_tone_type*/ msg_tone;
signed int16 /*dwd_ring_tone_type*/ alarm_tone;
char /*Boolean*/ error_tone;
char /*Boolean*/ minute_minder;
char /*Boolean*/ connect_tone;
char /*Boolean*/ broadcast_enabled;
signed int16 /*dwd_back_light_type*/ back_light;
char /*Boolean*/ service_light;
char /*Boolean*/ auto_redial;
char /*Boolean*/ active_flip;
char /*Boolean*/ anykey_answer;
unsigned char reserved[30];
} dwd_custom_settings_type;
typedef struct
{
unsigned char ch_tp; /* channel type SDCCH4, SDCCH8, TCH-F */
unsigned char hopping; /* 1 if hopping - else 0 */
unsigned int16 arfcn;
unsigned char tn;
unsigned char tsc;
unsigned char sub_ch; /* sdcch sub channel */
} dwd_msl_dedic_chan_descr_type;
typedef struct
{
dwd_msl_dedic_chan_descr_type ch_descr;
unsigned char ch_mode; /* sig-only, FR, EFR */
unsigned char ciphering_mode; /* none, A51, A52 */
unsigned char nof_ho_attempts; /*This counts the number of handovers attempted since power on*/
unsigned char nof_ho_failure; /*This counts the number of failed handovers since power on*/
} dwd_msl_dedic_descr_type;
typedef struct
{
unsigned char length;
unsigned int16 ba_list[32];
} dwd_msl_ba_list_type;
typedef struct
{
unsigned int16 arfcn;
unsigned char tn;
unsigned char dsc;
} dwd_msl_idle_mode_data_type;
typedef struct
{
unsigned char rxlev_full;
unsigned char rxlev_sub;
unsigned char rxqual_full;
unsigned char rxqual_sub;
unsigned char dtx_u;
unsigned char txpwr;
unsigned char ta;
unsigned char rlf;
} dwd_msl_dedic_scell_meas_type;
typedef struct
{
unsigned int16 arfcn;
unsigned char bsic; /* If not yet decoded it should be set to i.e. 0xFF so this it easy to identify */
unsigned char rxlev;
} dwd_msl_idle_scell_meas_type;
typedef struct
{
unsigned int16 arfcn;
unsigned char bsic; /* If not yet decoded it should be set to i.e. 0xFF so this it easy to identify */
unsigned char rxlev;
} dwd_msl_ncell_meas_elem_type;
typedef struct
{
unsigned char no_ncells;
dwd_msl_ncell_meas_elem_type ncell_meas[8];
} dwd_msl_ncell_meas_type;
typedef signed char dwd_rxlev_offset_table_type[70];
typedef signed char dwd_ch_comp_rxlev_offset_table_type[8];
typedef struct
{
signed char rampup;
signed char rampdown;
} dwd_pa_timing_elm_type;
typedef dwd_pa_timing_elm_type pa_timing_offset_table_type[16];
typedef signed int16 dwd_pa_offset_comp_table_type[16];
typedef struct
{
signed int16 pa_ch_comp0;
signed int16 pa_ch_comp1;
signed int16 pa_ch_comp2;
signed int16 pa_ch_comp3;
}dwd_pa_ch_comp_elm_type;
typedef dwd_pa_ch_comp_elm_type pa_ch_comp_type[16];
typedef struct
{
signed char pa_temp_comp0;
signed char pa_temp_comp1;
signed char pa_temp_comp2;
signed char pa_temp_comp3;
signed char pa_temp_comp4;
}dwd_pa_temp_comp_elm_type;
typedef dwd_pa_temp_comp_elm_type pa_temp_comp_type[16];
typedef unsigned char dwd_pa_vhome_offset_comp_table_type[16];
typedef struct
{
signed int16 vbat_gain;
signed int16 vbat_offset;
signed int16 tbat_gain;
signed int16 tbat_offset;
signed int16 tenv_gain;
signed int16 tenv_offset;
signed int16 btec_gain;
signed int16 btec_offset;
signed int16 tvco_gain;
signed int16 tvco_offset;
} dwd_adc_adjusted_comp_parms_type;
typedef struct
{
signed int16 vbat_adc_value; /* Used for battery voltage */
signed int16 tbat_adc_value; /* Used for detection of external equipment */
signed int16 tenv_adc_value; /* Used for RF temperature */
signed int16 btec_adc_value; /* Used for battery ID */
signed int16 tvco_adc_value; /* Not used in Neon */
signed int16 curr_adc_value; /* Used in SGOLD */
} dwd_adc_meas_type;
typedef struct
{
unsigned int16 default_dac_value;
unsigned int16 dac_step_gsm_in_hz;
} dwd_afc_comp_type;
typedef struct
{
signed char imei[16];
unsigned int32 serial_number;
} dwd_ms_id_type;
typedef struct
{
unsigned int16 id;
unsigned int16 hw_version;
unsigned char eep_version;
unsigned char eep_revision;
} dwd_config_type;
typedef dwd_config_type dwd_updated_config_type;
typedef dwd_config_type dwd_original_config_type;
typedef struct
{
unsigned int16 result;
unsigned int16 nof_tests;
unsigned int16 version;
unsigned int16 sw_version;
unsigned int16 spec;
unsigned int16 testsite_id;
} dwd_test_station_type;
typedef dwd_test_station_type dwd_inline_test_type;
typedef dwd_test_station_type dwd_calib_test_type;
typedef dwd_test_station_type dwd_mmi_test_type;
typedef struct
{
unsigned char year;
unsigned char month;
unsigned char week;
unsigned char day;
} dwd_production_date_type;
typedef struct
{
unsigned int16 param_1;
unsigned int16 param_2;
unsigned int16 param_3;
unsigned int16 param_4;
unsigned int16 param_5;
unsigned int16 param_6;
unsigned int16 param_7;
unsigned int16 param_8;
unsigned int16 param_9;
} dwd_customer_parm_type;
typedef struct
{
unsigned int32 serial_no;
unsigned int16 testseries_id;
dwd_config_type orig_conf;
dwd_config_type upd_conf;
dwd_test_station_type in_line;
dwd_test_station_type calib;
dwd_test_station_type mmi;
dwd_production_date_type date;
dwd_customer_parm_type cust_parms;
} dwd_production_parm_type;
typedef struct
{
unsigned int16 static_size;
unsigned int16 dynamic_size;
unsigned int16 org_version;
unsigned long eep_start_addr;
unsigned int16 upd_revision;
} dwd_get_eep_info_type;
typedef struct
{
unsigned int16 gsm900_ch_array[6];
unsigned int16 dcs1800_ch_array[8];
unsigned int16 gsm850_ch_array[6];
unsigned int16 pcs1900_ch_array[8];
}dwd_ch_array_type;
typedef struct
{
dwd_msl_idle_mode_data_type msl_idle_mode_data;
dwd_msl_idle_scell_meas_type msl_idle_scell_meas;
dwd_msl_dedic_descr_type msl_dedic_descr;
dwd_msl_dedic_scell_meas_type msl_dedic_scell_meas;
dwd_msl_ncell_meas_type msl_ncell_meas;
dwd_msl_ba_list_type msl_ba_list;
unsigned int16 l1_state;
} dwd_ms_log_type;
typedef struct
{
unsigned char number[20];
} dwd_pn_type;
typedef unsigned char dwd_rtc_time_type[DWD_RTC_TIME_STRING_LENGTH + 1];
typedef unsigned char dwd_rtc_date_type[DWD_RTC_DATE_STRING_LENGTH + 1];
typedef struct
{
unsigned char string[30];
} dwd_sp_test_approval_type;
typedef struct
{
unsigned char string[10];
} dwd_hw_ver_string_type;
typedef struct
{
unsigned char return_code;
char MUTE; /*boolean: If MUTE = 1, then L and R audio muted. If MUTE = 0, then audio not muted.*/
signed char SSL; /* Search Stop Level.*/
char HLSI; /*Boolean : HIGH/LOW Side Injection. If HLSI = 1, then HIGH side LO injection. If HLSI = 0, then LOW side LO injection.*/
char MS; /*Boolean: Mono/Stereo. If MS = 1, then forced mono. If MS = 0, then stereo ON.*/
char ML; /* Boolean: Mute Left. If ML = 1, then left audio channel muted and forced mono. If ML = 0, then not muted.*/
char MR; /* Boolean: Mute Right. If MR = 1, then right audio channel muted and forced mono. If MR = 0, then not muted.*/
char BL; /* Boolean: Band Limits. If BL = 1, then Japan FM band. If BL = 0, then US/Europe FM band.*/
char HCC; /* Boolean: High Cut Control. If HCC = 1, then high cut control is ON. If HCC = 0, then high cut control is OFF.*/
}dwd_afr_config_data_type;
typedef struct
{
unsigned char return_code;
unsigned char signal_level;
unsigned int frequency;
char stereo;
}dwd_afr_read_current_status_type;
typedef struct
{
unsigned char key[16];
} dwd_cust_key_type;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -