#include "nfc_engine/jobs.h" #include "esp_log.h" #include static const char *TAG = "nfc_jobs"; uint32_t jobs_create(const char *name) { static uint32_t s_next = 1; (void)name; ESP_LOGI(TAG, "job %s id=%lu", name ? name : "?", (unsigned long)s_next); return s_next++; } void jobs_set_progress(uint32_t id, int pct, const char *msg) { ESP_LOGD(TAG, "job %lu %d%% %s", (unsigned long)id, pct, msg ? msg : ""); } void jobs_finish(uint32_t id) { ESP_LOGI(TAG, "job %lu done", (unsigned long)id); }