1.2.0
1.2.0 (2021-09-08)
Features Added
- Add
az_iot_provisioning_client_get_request_payload()
to create MQTT payload bodies during Device Provisioning. - This version provides new APIs to follow the IoT Plug and Play convention to implement Telemetry, Commands, Properties and Components defined in a DTDL model.
- To read/write properties, the SDK now provides functions to produce the right payload for components, as shown in the header
azure/iot/az_iot_hub_client_properties.h
. - To send telemetry messages, the required header is added to identify components.
- When responding to a command invocation the component name is automatically parsed and provided when available.
- All new samples follow the IoT Plug and Play convention and can be connected to IoT Hub (with or without DPS), or IoT Central.
- To read/write properties, the SDK now provides functions to produce the right payload for components, as shown in the header
Bugs Fixed
- [#1905] Fix the internal state of the JSON writer during calls to
az_json_writer_append_json_text()
by taking into account the required buffer space for commas. (A community contribution, courtesy of hwmaier)
Acknowledgments
Thank you to our developer community members who helped to make Azure SDK for C better with their contributions to this release:
- Henrik Maier (GitHub)