I might have missed something, but I have two questions.
Are there currently anymore ways to add/remove child devices than the portal?
Can I access or get a list of an Edge Device´s child devices from inside a IoT Edge module?
It does not seem to be a way in the current form of DeviceClient that Microsoft.Azure.Devices.Client provides.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@mortslhawmit Thanks for the feedback! We are currently investigating and will update you shortly.
@mortslhawmit I Would like to understand better how you are using the service. Would you please share more details about your specific use case or scenario?
Hi @Alberto-Vega-MSFT.
I'll try my best to describe my use case.
I have a transparent gateway solution with IoTEdge where i have several devices connected to IoTHub through my IoTEdge gateway, and currently i need to keep track myself on what devices is connected on what gateway, and then I need to make sure that the IoTEdge gateway has a connection for each and every device.
So my question is if its possible to use the child devices as a mechanism to identify what IoTEdge gateway the "belong" to. Is there a way to access what child devices an EdgeDevice have through code? Similar to how the current GetTwinAsync works for an DeviceClient but for child devices.
//Tim
Hi,
The Edge product does not have an API to retrieve the list of child devices associated with a specific Edge device.
Would you please share your feedback at https://feedback.azure.com/forums/321918-azure-iot this way other users can up vote your idea.
Also if you need help with your solution you could talk to support, they should be able to help you tackle your scenario within what Azure IoT currently supports. If that is the case can you please file a support request @ https://aka.ms/azsupt? If you do not have access to a support plan, please reach out @ [email protected] with a link to this Doc/Issue as well as your subscription ID and we can help get the support ticket opened for this issue.
We will now proceed to close this thread. If there are further questions regarding this matter, please feel free to tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
Regards,
Alberto Vega
Most helpful comment
Hi @Alberto-Vega-MSFT.
I'll try my best to describe my use case.
I have a transparent gateway solution with IoTEdge where i have several devices connected to IoTHub through my IoTEdge gateway, and currently i need to keep track myself on what devices is connected on what gateway, and then I need to make sure that the IoTEdge gateway has a connection for each and every device.
So my question is if its possible to use the child devices as a mechanism to identify what IoTEdge gateway the "belong" to. Is there a way to access what child devices an EdgeDevice have through code? Similar to how the current GetTwinAsync works for an DeviceClient but for child devices.
//Tim