question

RabiaHasanZaheer-3808 avatar image
0 Votes"
RabiaHasanZaheer-3808 asked asergaz commented

Cloud to Device messages in Azure IOT Edge

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
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @RabiaHasanZaheer-3808 ,
Please share with us if you have any other questions related with your original post. Otherwise could you go ahead and mark the below as answer?

Thank you so much.

Remember:
- Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

0 Votes 0 ·

1 Answer

MatthijsvdVeer avatar image
2 Votes"
MatthijsvdVeer answered

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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.