}
}
+static void mmi_sms_vib_prompt_task_cb(lv_task_t * task)
+{
+ Hal_Vibrator_Play_End();
+}
void sms_msg_list_update(void)
{
#endif
Hal_NFFS_File_Play_Onetime(AUDIO_SETTING_AUDIO_MSG, volume, NULL, 0);
+ Hal_Vibrator_Play_End();
if(true == mmi_watch_vibrate_is_permitted())
{
Hal_Vibrator_Play_Onetime(NULL, 800);
+ lv_task_t * task_ptr = lv_task_create(mmi_sms_vib_prompt_task_cb, 900, LV_TASK_PRIO_MID, NULL);
+ lv_task_once(task_ptr);
}
#endif
mmi_protocol_fzd_action_send_telecom_info_pre();
#endif
+ mmi_protocol_fzd_action_send_iccid();
+
return true;
}
#endif
+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
#ifdef MMI_PROJECT_C55_DS_D11G_DT_HZCH
MMI_FZD_ACTION_SEND_TELECOM_INFO,
#endif
+ MMI_FZD_ACTION_SEND_ICCID,
MMI_FZD_SERVER_SET_BOOTOFF,
MMI_FZD_SEND_UP_REMIND,
bool mmi_protocol_fzd_action_send_telecom_info(void);
bool mmi_protocol_fzd_action_send_telecom_info_pre(void);
#endif
+bool mmi_protocol_fzd_action_send_iccid(void);
#endif
#ifdef MMI_PROJECT_C55_DS_D11G_DT_HZCH
{MMI_FZD_ACTION_SEND_TELECOM_INFO, "TELECOM_INFO"},
#endif
+ {MMI_FZD_ACTION_SEND_ICCID, "BIND_ICCID"},
{MMI_FZD_SERVER_SET_BOOTOFF, "BOOTOFF"},
{MMI_FZD_SEND_UP_REMIND, "UP_REMIND"},
break;
#endif
+ 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;
void __create_event_cb(lv_obj_t * btn, lv_event_t event);
#else
-#define MMI_CHIP_TEMP_HIGH_THRESHOLD (40) // (65) // (90)
-#define MMI_CHIP_TEMP_LOW_THRESHOLD (35) // (55) // (30)
+#define MMI_CHIP_TEMP_HIGH_THRESHOLD (70) // (65) // (90)
+#define MMI_CHIP_TEMP_LOW_THRESHOLD (60) // (55) // (30)
#endif
bool mmi_is_ACT_ID_CHIP_TEMP_HIGH(void);