I had been trying to set up Azure IoT Edge in an environment which would have no internet connection after initialization.
In the documentation of IoT Edge, it’s mentioned that inter-module communications can be achieved via routing, this I have tried and it worked. However, I have a few leaf/child devices that I want them to be able to communicate with each other within the network. I was hoping to rely on IoT Edge and not install my own MQTT broker.
Problem:
- Seems like I can only invoke Direct Methods of other devices and not send messages to them. Devices seem to be only accepting C2D messages which won’t be possible in the offline environment.
- Device Twin seems to be an IoT Hub only service as well. There is no local counterpart that lives on IoT Edge like AWS’s local shadow service on Greengrass.