|
AWS IoT Device SDK C:
Main
|
| Return to main page ↑ |
How to migrate a Jobs application from v3 to v4.
The Jobs library has been redesigned in v4 as a thread-aware library supporting asynchronous operations.
The features of the Jobs libraries in v3 and v4 are defined by the common AWS service; therefore, the two versions are similar.
The following table lists equivalent API functions in v3 and v4. These functions are the API functions declared in:
| Version 3 | Version 4 | Notes | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| aws_iot_jobs_subscribe_to_job_messages aws_iot_jobs_subscribe_to_all_job_messages aws_iot_jobs_unsubscribe_from_job_messages aws_iot_jobs_send_query | Specific Jobs operation function | These v3 functions for sending generic Jobs operations have been removed and replaced with individual functions for each supported Jobs operation.
For example, a call to | ||||||||||||||||||
| aws_iot_jobs_start_next | AwsIotJobs_StartNextSync | AwsIotJobs_StartNextAsync is the equivalent asynchronous function. | ||||||||||||||||||
| aws_iot_jobs_describe | AwsIotJobs_DescribeSync | AwsIotJobs_DescribeAsync is the equivalent asynchronous function. | ||||||||||||||||||
| aws_iot_jobs_update | AwsIotJobs_UpdateSync | AwsIotJobs_UpdateAsync is the equivalent asynchronous function. |