mmi_protocol_fzd_action_get_app_qrcode();
+ mmi_protocol_fzd_action_send_iccid();
+
return true;
}
return result;
}
+bool mmi_protocol_fzd_action_send_iccid(void)
+{
+ bool result = false;
+ MMI_PROTOCOL_FZD_ACTION_ENUM action = MMI_FZD_ACTION_SEND_ICCID;
+ unsigned char content_buff[64] = {0};
+ unsigned int content_lenth = 0;
+
+ // iccid
+ char * p_iccid = app_adaptor_get_iccid_info_req();
+ sprintf(content_buff, ",%s", p_iccid);
+ lv_mem_free(p_iccid);
+
+ //PROTOCOL_DEBUG_PRINTF("[@CHENG_DEBUG][%s][%d]: %s\n", __FUNCTION__, __LINE__, content_buff);
+
+ content_lenth = strlen(content_buff);
+ result = mmi_protocol_fzd_send_with_data(action, content_buff, content_lenth);
+
+ return result;
+}
#endif
MMI_FZD_ACTION_HENGAI_TCMS_DATA,
#endif
MMI_FZD_ACTION_TCP_HTTP,
+ MMI_FZD_ACTION_SEND_ICCID,
MMI_FZD_SERVER_SET_BOOTOFF,
MMI_FZD_SEND_UP_REMIND,
bool mmi_protocol_fzd_action_tcp_http(char * data_ptr, uint32_t data_len);
bool mmi_protocol_fzd_parse_ACTION_TCP_HTTP(unsigned char * next_buff, unsigned int next_buff_len);
+bool mmi_protocol_fzd_action_send_iccid(void);
#endif
{MMI_FZD_ACTION_HENGAI_TCMS_DATA, "CNDOCD"},
#endif
{MMI_FZD_ACTION_TCP_HTTP, "TCP_HTTP"},
+ {MMI_FZD_ACTION_SEND_ICCID, "ICCID"},
{MMI_FZD_SERVER_SET_BOOTOFF, "BOOTOFF"},
{MMI_FZD_SEND_UP_REMIND, "UP_REMIND"},
mmi_protocol_fzd_parse_ACTION_TCP_HTTP(next_buff, next_buff_len);
break;
+ case MMI_FZD_ACTION_SEND_ICCID:
+ break;
+
case MMI_FZD_SERVER_SET_BOOTOFF:
mmi_protocol_fzd_parse_SERVER_SET_BOOTOFF(next_buff, next_buff_len);
break;