nerves-hub / nerves_hub_link

Connect devices to NervesHub via a Phoenix channel
https://hex.pm/packages/nerves_hub_link
Apache License 2.0
36 stars 18 forks source link

add NervesHubLink.reconnect/0 #53

Closed jjcarstens closed 3 years ago

jjcarstens commented 3 years ago

For the cases you might want to bump the socket and restart connections to NH (such as network interface changing, etc)

jjcarstens commented 3 years ago

Closing this for now as Slipstream has reconnect mechanisms and the goal is to use that for channel connections in #68.

Once implemented, we can revist the reconnect case in a separate PR