Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device update migration from v1 to v2 fails #319

Open
2 tasks done
tmaltesen opened this issue Sep 21, 2023 · 1 comment
Open
2 tasks done

Device update migration from v1 to v2 fails #319

tmaltesen opened this issue Sep 21, 2023 · 1 comment

Comments

@tmaltesen
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

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

  • I agree to follow this project's Code of Conduct
@ericwolz
Copy link
Contributor

Please verify that your submodules are also upto date.

azure-iot-middleware-freertos/libraries/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants