AWS IoT for ESP32 v1.0.0
An ESP-IDF based solution
|
AWS Jobs library header file. More...
Go to the source code of this file.
Data Structures | |
struct | job_st |
Represents the structure used to handle AWS Jobs. More... | |
Typedefs | |
typedef jobsStatus_et(* | jobCallBack_t) (job_st *ps_job) |
Job callback handler type. The application should provide this handler to perform actions based on the Job created on AWS IoT. | |
Enumerations | |
enum | jobsStatus_et |
Functions | |
bool | JOBS_register (char *pJobActionStr, uint8_t timeoutMin_u8, jobCallBack_t callbackHandler) |
Register an AWS IoT Job handler. More... | |
void | JOBS_updateStatus (char *pJobIdStr, jobsStatus_et status_e) |
Update the status of Job to AWS IoT. More... | |
AWS Jobs library header file.
enum jobsStatus_et |
An enum to represent all possible Status of AWS Jobs.
bool JOBS_register | ( | char * | pJobActionStr, |
uint8_t | timeoutMin_u8, | ||
jobCallBack_t | callbackHandler | ||
) |
Register an AWS IoT Job handler.
[in] | pJobActionStr | A string to represent Job action |
[in] | timeoutMin_u8 | The minimum timeout value when Job is running |
[in] | callbackHandler | The callback handler for performing Job action |
void JOBS_updateStatus | ( | char * | pJobIdStr, |
jobsStatus_et | status_e | ||
) |
Update the status of Job to AWS IoT.
[in] | pJobIdStr | Job ID as string |
[in] | status_e | Status of the Job |