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

Check firmware_url is valid before attempting update #63

Closed jjcarstens closed 3 years ago

jjcarstens commented 3 years ago

If NervesHub were to send an empty firmware_url, the device would crash in a very descructive way and stop :nerves_hub_link

This checks the firmware url is actually there before attempting an update to avoid such calamity