const size_t topicLength,
const char * jobId,
const size_t jobIdLength,
const char * thingName,
const size_t thingNameLength,
JobUpdateStatus_t
Status codes for job update status.
Definition: jobs.h:279
bool Jobs_IsJobUpdateStatus(const char *topic, const size_t topicLength, const char *jobId, const size_t jobIdLength, const char *thingName, const size_t thingNameLength, JobUpdateStatus_t expectedStatus)
Checks if a message comes from the update/accepted reserved topic.
Definition: jobs.c:866
Checks if a message comes from the update/accepted reserved topic.
- Parameters
-
| topic | The topic to check against |
| topicLength | The expected topic length |
| jobId | Corresponding Job ID which the update was accepted for |
| jobIdLength | The Job ID length |
| thingName | The device's thingName as registered with AWS IoT. |
| thingNameLength | The length of the thingName. |
| expectedStatus | The job update status reported by AWS IoT Jobs |
- Returns
- true If the topic is the update/<expectedStatus> topic
-
false If the topic is not the update/<expectedStatus> topic