Cloud to Device messages in Azure IOT Edge

Rabia Hasan Zaheer 1 Reputation point
2021-06-22T06:36:54.767+00:00

Hi,
I'm unable to implement Cloud to Device messages on Azure IOT edge. I know this is still a feature request but is there any work around? Did Direct Method or Module Twin work for anyone?
I can't find a proper implementation of C2D in Iot edge.
Thanks

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
580 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Matthijs van der Veer 4,376 Reputation points MVP
    2021-06-22T16:38:37.803+00:00

    You're right, Cloud to Device messages are not supported on Azure IoT Edge. The work arounds are the same as you mentioned, please check the answers to this question.

    The workaround that you choose depends very much on the problem you're trying to solve. A direct method to a module is very straightforward, you can communicate with a module if the device is online. The module twin can also be used to communicate data to your module, and can be used asynchronously as the device will either receive the update when it's online, or when it comes online later.

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.