Could IoT Edge Module know its own downstream device ID list? How can we fetch that?

KK 191 Reputation points
2022-06-21T13:40:50.26+00:00

Hi,

As mentioned in the title, can we fetch the downstream devices from the IoT Edge gateway?

Thanks in advance.

Azure Internet of Things
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.
598 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,272 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sander van de Velde | MVP 36,766 Reputation points MVP Volunteer Moderator
    2022-06-22T13:13:51.93+00:00

    Hello @KunLi-4284,

    you want to know if Azure IoT Edge has knowledge of downstream devices.

    Azure IoT Edge modules are behaving 'sandboxed'. They just do their job and do not know about other modules or devices.

    You can get them notified about other devices/modules in two ways:

    1 You can submit data (with child device names) to the module using eg. Desired property or a direct method (which needs a live connection to the device and is not persisted by default)
    2 Route child device messages to the input of a custom module

    Cloud messages from child devices flow through an Azure IoT Edge device configured as transparent proxy.

    See also this blog where an edge module reads a message from a child device and sends back commands for a local feedback loop.

    This way, a module can build up a list of child devices.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.