uapi_save_runtime_log(RUNTIME_LOG_HEART_DRIVER_MEASURE);
cmd = "hrs";
enable = 1;
- uint8_t cnt = pm_veto_get_id_cnt(PM_ID_HEART);
- if (cnt == 0)
- {
- uapi_pm_add_sleep_veto(PM_ID_HEART);
- }
+ // uint8_t cnt = pm_veto_get_id_cnt(PM_ID_HEART);
+ // if (cnt == 0)
+ // {
+ // uapi_pm_add_sleep_veto(PM_ID_HEART);
+ // }
}else if (mail == PPG_SERVICE_CMD_TYPE_DO_HRV_TEST){
cmd = "hrv";
uapi_save_runtime_log(RUNTIME_LOG_HEART_DRIVER_MEASURE_END);
cmd = "hrs";
enable = 0;
- uint8_t cnt = pm_veto_get_id_cnt(PM_ID_HEART);
- if (cnt == 1)
- {
- uapi_pm_remove_sleep_veto(PM_ID_HEART);
- }
+ // uint8_t cnt = pm_veto_get_id_cnt(PM_ID_HEART);
+ // if (cnt == 1)
+ // {
+ // uapi_pm_remove_sleep_veto(PM_ID_HEART);
+ // }
}else if (mail == PPG_SERVICE_CMD_TYPE_STOP_SPO2_TEST){
cmd = "spo2";
['0506',"运动测量心率暂停或结束"],\r
['0507',"底层检测心率"],\r
['0508',"底层检测心率结束"],\r
+ ['0509',"检测心率结果未佩戴"],\r
+ ['050a',"检测心率结果无效值达标"],\r
+ ['050b',"检测成功"],\r
['0601',"开启佩戴检测"],\r
['0602',"关闭佩戴检测"],\r
['0701',"主动检测血氧"],\r