OS and version used: uClinux (kernel version: 2.33.6)
SDK version used: lts_10_2018
We have a project that is based on the Client interface (from the iothub_client_ll.h). Right now we are considering to switch from plain messages to Direct (Device) methods and I noticed that in the most recent releases all samples had been migrated to the DeviceClient interface (from the iothub_device_client_ll.h). And here is my questions:
Thank you.
Hi @vpetrigo ,
thanks for your questions. Here are the answers:
We will update documentation soon about this change.
Hey @ewertons,
Thank you for prompt response. So, am I right that there are no rush right now regarding migration from the Client to DeviceClient interface and we may keep using it for a while? The migration is only necessary if there are new features in the feature we want to use, is not it?
Thank you.
Absolutely, yes you can still use it.
We have a discussion going on about how to mark the (iothub_client.h) API deprecation.
Whenever we do it, it will be clear on the header file, and we won't deprecate right away (probably we will keep it until we have a major version uptick, which is not planned for anytime soon).
And you are correct, as soon as you only need features that are already implemented in iothub_client.h, you can still use it. We have gated builds to guarantee new features won't break the existing API surface.
Thank you for the comprehensive explanation!
@ewertons, @vpetrigo, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey