AWS IoT Device SDK C: Jobs
AWS IoT Jobs library
Return to main page ↑
Design

Architecture behind the Jobs library.

The Jobs library uses MQTT subscriptions and publishes to communicate with the AWS IoT Jobs Service. Jobs operations such as Get Pending, Start Next, Describe, and Update use MQTT subscriptions to two MQTT topics in order to receive their accepted/rejected status, and publish to the appropriate topic for the operation. The Jobs Notify Next callback uses an MQTT subscription to receive data from the AWS IoT Jobs Service when the information for the next job in the queue changes. The Notify Pending callbacks does the same for the case when any job changes. These callbacks are run in the system taskpool context.

Synchronous Design

jobs_sync_detail.png

Asynchronous Design

jobs_async_detail.png