You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to detect if a module lost connection to the Internet (remote hub) yet? iot edge does know itself, but I think it should expose that information so I can act on it.
The text was updated successfully, but these errors were encountered:
@emilm The goal of edgehub is to hide the connectivity issues/status from the modules/devices so by purpose, a module cannot know that the upstream connection is lost. What is your use case?
Hello! I understand that, but when you write software that behaves differently when offline, it poses a problem.
I would like a status or an event that you can choose to subscribe to, to detect this.
As an example you have a system that receives data that tells how the system should behave. If you are offline it should behave differently because there are cases you don't periodically expect the incoming data but it should still behave differently if it's offline.
I know it sounds kind of vague but I have to explain it this way because I would break NDA otherwise.
Please let me know if there is a way to query any of the services for this information. Right now I have to "ping" a REST endpoint, and set it as online if I get a response or that I receive incoming data such as a direct method.
@emilm sorry, but unfortunately, there is way to query the services like that at this time. I can bring this up internally as a formal ask though it might take time even if it is decided to implement such a feature.
Is there a way to detect if a module lost connection to the Internet (remote hub) yet? iot edge does know itself, but I think it should expose that information so I can act on it.
The text was updated successfully, but these errors were encountered: