ret = ua_monitor_set_user_presence_condition(g_ua_mon_h,
bitmask_and, bitmask_or, conjunction_op);
+ if (UA_ERROR_NONE != ret)
+ msgr(" - ua_monitor_set_user_presence_condition() ret: [0x%X] [%s]",
+ ret, uat_get_error_str(ret));
+
if (strlen(g_presence_type))
detection_mode = (unsigned char)strtol(g_presence_type, NULL, 10);
ret = ua_monitor_set_user_absence_condition(g_ua_mon_h,
bitmask_and, bitmask_or, conjunction_op);
+ if (UA_ERROR_NONE != ret)
+ msgr(" - ua_monitor_set_user_absence_condition() ret: [0x%X] [%s]",
+ ret, uat_get_error_str(ret));
+
ua_detection_mode_e detection_mode = UA_DETECT_MODE_INVALID;
if (strlen(g_absence_type))