Cloud to Device messages in Azure IOT Edge

Rabia Hasan Zaheer 1 Reputation point

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.

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.
531 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Matthijs van der Veer 4,376 Reputation points MVP

    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