18#define LENGTH_JOB_DOCUMENT 256
19#define LENGTH_JOB_ID 32
20#define LENGTH_JOB_CLIENT_TOKEN 32
28 JOB_STATUS_IN_PROGRESS,
42 char idStr[LENGTH_JOB_ID];
43 char documentStr[LENGTH_JOB_DOCUMENT];
void JOBS_updateStatus(char *pJobIdStr, jobsStatus_et status_e)
Update the status of Job to AWS IoT.
jobsStatus_et
Definition: lib_jobs.h:27
jobsStatus_et(* jobCallBack_t)(job_st *ps_job)
Job callback handler type. The application should provide this handler to perform actions based on th...
Definition: lib_jobs.h:50
bool JOBS_register(char *pJobActionStr, uint8_t timeoutMin_u8, jobCallBack_t callbackHandler)
Register an AWS IoT Job handler.
Represents the structure used to handle AWS Jobs.
Definition: lib_jobs.h:39
uint32_t queuedAt_u32
Definition: lib_jobs.h:40
uint32_t currentTimeStamp_u32
Definition: lib_jobs.h:41