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

Don't apply update by default if the UUID is the same #111

Closed jjcarstens closed 2 years ago

jjcarstens commented 2 years ago

This is to help handle an edge case where (for whatever reason) the NervesHub server may send a second update request despite the device already having updated. In that case, if the request is the same UUID of the currently running firmware, then we ignore the request and log it