![]() |
nRF Connect SDK API 3.3.99
|
| int aws_jobs_get_job_execution | ( | struct mqtt_client *const | client, |
| const char * | job_id, | ||
| uint8_t * | topic_buf ) |
#include <include/net/aws_jobs.h>
AWS Jobs get job execution.
This implements fetching a job from the queue in AWS.
| [in] | client | Initialized and connected MQTT Client instance. |
| [in] | job_id | The ID of the job you are fetching use "$next" for fetching the next IN_PROGRESS. or QUEUED job. It will fetch the first created job if multiple exists. |
| [out] | topic_buf | Buffer to store the topic in. |
| 0 | If the update is published successfully, otherwise return mqtt_publish error code or the error code of snprintf. |