dbg("setup_menu_tlv->next_act_ind_list.cnt == 0");
for(index = 0; index < menu_cnt; index++){
- gint item_len;
+ gushort item_len;
gchar item_str[SAT_ITEM_TEXT_LEN_MAX + 1];
if(!setup_menu_tlv->alpha_id.alpha_data_len)
dbg("setup_menu_tlv->next_act_ind_list.cnt == 0");
for(index = 0; index < menu_cnt; index++){
- gint item_len;
+ gushort item_len;
gchar item_str[SAT_ITEM_TEXT_LEN_MAX + 1];
if(setup_menu_tlv->alpha_id.alpha_data_len == 0)
GVariant *display_text = NULL;
struct sat_manager_queue_data q_data;
- gint command_id = 0, text_len =0, duration= 0, tmp_duration = 0;
+ gushort text_len = 0;
+ gint command_id = 0, duration= 0, tmp_duration = 0;
gboolean immediately_rsp = FALSE, high_priority = FALSE, user_rsp_required = FALSE;
gchar text[SAT_TEXT_STRING_LEN_MAX];
GVariant *icon_id = NULL;
struct sat_manager_queue_data q_data;
int index = 0;
- gint command_id = 0, default_item_id = 0, menu_cnt = 0, text_len =0;
+ gushort text_len = 0;
+ gint command_id = 0, default_item_id = 0, menu_cnt = 0;
gboolean help_info = FALSE;
gchar text[SAT_TEXT_STRING_LEN_MAX];
GVariantBuilder *v_builder = NULL;
//items
v_builder = g_variant_builder_new(G_VARIANT_TYPE ("a(iis)"));
for(index= 0; index< menu_cnt; index++){
- gint item_len;
+ gushort item_len;
gchar item_str[SAT_ITEM_TEXT_LEN_MAX + 1];
memset(&item_str, 0 , SAT_ITEM_TEXT_LEN_MAX + 1);
struct sat_manager_queue_data q_data;
gint command_id = 0, key_type = 0, input_character_mode = 0;
- gint text_len = 0, duration = 0, tmp_duration = 0;
+ gushort text_len = 0;
+ gint duration = 0, tmp_duration = 0;
gboolean b_numeric = FALSE, b_help_info = FALSE;
gchar text[SAT_TEXT_STRING_LEN_MAX];
GVariant *icon_id = NULL;
struct sat_manager_queue_data q_data;
gint command_id = 0, input_character_mode = 0;
- gint text_len = 0, def_text_len = 0, rsp_len_min = 0, rsp_len_max = 0;
+ gushort text_len = 0, def_text_len = 0;
+ gint rsp_len_min = 0, rsp_len_max = 0;
gboolean b_numeric = FALSE, b_help_info = FALSE, b_echo_input = FALSE;
gchar text[SAT_TEXT_STRING_LEN_MAX], def_text[SAT_TEXT_STRING_LEN_MAX];
GVariant *icon_id = NULL;
struct sat_manager_queue_data q_data;
gint command_id = 0, tone_type = 0, duration = 0, tmp_duration = 0;
- gint text_len = 0;
+ gushort text_len = 0;
gchar text[SAT_TEXT_STRING_LEN_MAX];
GVariant *icon_id = NULL;
int index = 0;
gint command_id = 0, ton = 0, npi = 0, tpdu_type = 0;
gboolean b_packing_required = FALSE;
- gint text_len = 0, number_len = 0, tpdu_data_len= 0;
+ gushort text_len = 0;
+ gint number_len = 0, tpdu_data_len = 0;
gchar text[SAT_TEXT_STRING_LEN_MAX], dialling_number[SAT_DIALING_NUMBER_LEN_MAX];
GVariantBuilder *builder = NULL;
GVariant *tpdu_data = NULL;
struct sat_manager_queue_data q_data;
gint command_id = 0, ton = 0, npi = 0;
- gint text_len = 0, ss_str_len = 0;
+ gushort text_len = 0;
+ guchar ss_str_len = 0;
gchar text[SAT_TEXT_STRING_LEN_MAX], ss_string[SAT_SS_STRING_LEN_MAX];
GVariant *icon_id = NULL;
GVariant *send_ussd = NULL;
struct sat_manager_queue_data q_data;
- gint command_id = 0;
- gint text_len = 0, ussd_str_len = 0;
+ gint command_id = 0;
+ gushort text_len = 0, ussd_str_len = 0;
gchar text[SAT_TEXT_STRING_LEN_MAX], ussd_string[SAT_USSD_STRING_LEN_MAX];
GVariant *icon_id = NULL;
GVariant *setup_call = NULL;
struct sat_manager_queue_data q_data;
- gint command_id = 0, call_type = 0, confirm_text_len = 0, text_len = 0, duration = 0;
+ gushort text_len = 0, confirm_text_len = 0;
+ gint command_id = 0, call_type = 0, duration = 0;
gchar confirm_text[SAT_TEXT_STRING_LEN_MAX], text[SAT_TEXT_STRING_LEN_MAX], call_number[SAT_DIALING_NUMBER_LEN_MAX];
GVariant *icon_id = NULL;
struct sat_manager_queue_data q_data;
gint command_id = 0;
- gint text_len = 0;
+ gushort text_len = 0;
gchar text[SAT_TEXT_STRING_LEN_MAX];
GVariant *icon_id = NULL;
gint command_id = 0, bearer_type = 0, protocol_type = 0, dest_addr_type = 0;
gboolean immediate_link = FALSE, auto_reconnection = FALSE, bg_mode = FALSE;
- gint text_len = 0, buffer_size = 0, port_number = 0;
+ gushort text_len = 0;
+ gint buffer_size = 0, port_number = 0;
gchar text[SAT_ALPHA_ID_LEN_MAX], dest_address[SAT_OTHER_ADDR_LEN_MAX];
GVariant *icon_id = NULL;
GVariant *bearer_param = NULL;
//bearer detail
gint other_addr_type = 0;
- gint login_len = 0, pwd_len = 0;
+ gushort login_len = 0, pwd_len = 0;
gchar other_address[SAT_OTHER_ADDR_LEN_MAX];
gchar login[SAT_TEXT_STRING_LEN_MAX], pwd[SAT_TEXT_STRING_LEN_MAX];
struct sat_manager_queue_data q_data;
gint command_id = 0, channel_id = 0;
- gint text_len = 0;
+ gushort text_len = 0;
gchar text[SAT_ALPHA_ID_LEN_MAX];
GVariant *icon_id = NULL;
struct sat_manager_queue_data q_data;
gint command_id = 0, channel_id = 0;
- gint text_len = 0, channel_data_len = 0;
+ gushort text_len = 0;
+ gint channel_data_len = 0;
gchar text[SAT_ALPHA_ID_LEN_MAX];
GVariant *icon_id = NULL;
int index = 0;
gint command_id = 0, channel_id = 0, data_len = 0;
gboolean send_data_immediately = FALSE;
- gint text_len = 0;
+ gushort text_len = 0;
gchar text[SAT_ALPHA_ID_LEN_MAX];
GVariantBuilder *builder = NULL;
GVariant *channel_data = NULL;
struct sat_manager_queue_data q_data;
gint command_id = 0;
- gint text_len =0, dtmf_str_len =0;
+ gushort text_len = 0;
+ gint dtmf_str_len =0;
gchar text[SAT_TEXT_STRING_LEN_MAX], dtmf_str[SAT_DTMF_STRING_LEN_MAX];
GVariant *icon_id = NULL;
gint command_id = 0;
gint browser_launch_type = 0, browser_id = 0;
- gint url_len =0, text_len =0, gateway_proxy_len =0;
+ gint url_len =0;
+ gushort text_len = 0, gateway_proxy_len = 0;
gchar url[SAT_URL_LEN_MAX], text[SAT_TEXT_STRING_LEN_MAX], gateway_proxy[SAT_TEXT_STRING_LEN_MAX];
GVariant *icon_id = NULL;