mozilla-sensorweb / sensorweb-firmware

Contains all code that runs on the SensorWeb device
Mozilla Public License 2.0
4 stars 3 forks source link

Add updater #12

Open dhylands opened 7 years ago

dhylands commented 7 years ago

We need an entity (this might be a task might just be a function thats called periodically) to check if updates are available, download them and apply them.

There are a variety of things that can be updated:

dhylands commented 7 years ago

@fabricedesre found this: https://github.com/cesanta/mongoose-iot/tree/master/fw/platforms/cc3200 which deals with OTA and the filesystem, so I thought I'd record the link here and make a link to #13

tdz commented 7 years ago

Note: [1] talks about fail-safe OTA and related APIs, workarounds, etc.

[1] http://processors.wiki.ti.com/index.php/CC32xx_Summary_of_Known_Issues#Simplelink_extlib_Changes

tdz commented 7 years ago

There's a PR at https://github.com/fabricedesre/cc3200-rs/pull/60 that implements updating the sensorweb firmware.

tdz commented 7 years ago

The mentioned PR has been merged into cc3200-rs. Balrog support is being worked on.