Azure / azure-iot-middleware-freertos

Azure IoT Middleware for FreeRTOS
https://azure.github.io/azure-iot-middleware-freertos/
MIT License
79 stars 25 forks source link

Device update migration from v1 to v2 fails #319

Open tmaltesen opened 11 months ago

tmaltesen commented 11 months ago

Is there an existing issue for this?

Version

main branch Jun 13 2023

Description of the issue

I am updating devices that are already in the field. The devices support the Azure Device update service and has previously been updated using this.

My new version has updated with new libs so that ADU client has changed it reported data from from interfaceId = dtmi:azure:iot:deviceUpdateContractModel;1 to contractModelId = dtmi:azure:iot:deviceUpdateContractModel;2

So the device is using the interfaceId while the new image is reporting contractModelId.

It seems that the update fails. and I do not know the reason. Is ADU service not supporting the contractModelId ?

Expected behavior

Device is updated by ADU service.

Steps to reproduce the issue

One device capable of updating with interfaceId. A new image reporting contractModelId

Relevant log output

No response

Code of Conduct

ericwolz commented 9 months ago

Please verify that your submodules are also upto date.

azure-iot-middleware-freertos/libraries/