+static void __get_tinfo_result_cb(idm_command_h command, idm_result_e result, idm_reason_e reason, const char *detail, void *data)
+{
+ unsigned long id;
+ idm_command_get_id(command, &id);
+
+ _D("[%d] result : %d, reason : %d, detail : %s", id, result, reason, detail ? detail : "None");
+
+ if (result != IDM_RESULT_RUNNING) {
+ app_data *ad = data;
+ idm_command_free(command);
+ ad->command = NULL;
+
+ if (id == 1) {
+ // 3. 2초 간격으로 20초간 task info 받도록 cmd 실행하고, 10초 뒤에 cmd stop 호출
+ __get_taskinfo(20, 2, 2, __get_tinfo_result_cb, ad);
+
+ if (ad->timer)
+ ecore_timer_del(ad->timer);
+ ad->timer = ecore_timer_add(10.0, __command_stop, ad);
+ }
+ }
+}
+