Azure-Samples / iot-middleware-freertos-samples

This repo has samples for dev kits using the Azure IoT middleware for FreeRTOS
MIT License
77 stars 46 forks source link

Expose delivery optimization agent version as an ADU option. #208

Closed ewertons closed 2 years ago

ewertons commented 2 years ago

Purpose

ADU agent populates the deviceProperties.doVer field by calling deliveryoptimization_get_components_version(), which is a function that comes from the delivery optimization client: https://github.com/microsoft/do-client/blob/8e1ad072973ef2c14f4f4a34524200d316f2b3d7/sdk-cpp/include/do_config.h#L30 So it must be an option exposed to the customer, through the device properties.

Does this introduce a breaking change?

[x] Yes
[ ] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe: