gulfaraz / homeAutomation

Interface for controlling connected homes
0 stars 2 forks source link

Devices should be able to update/recover over the air #7

Closed gulfaraz closed 7 years ago

gulfaraz commented 7 years ago

All firmware updates should happen wirelessly with minimum or zero user intervention.

In case of firmware installation failure, the device should be capable of recovery to a minimum working condition.

gulfaraz commented 7 years ago

Firmware will be uploaded over the air on device boot/reset

If the firmware file is greater than 3674 characters, the device will run out of memory

The character count is calculated based on the existing firmware and a string of variable length - if the additional characters are actual logic, then the additional memory usage should be taken into account

To be safe the maximum allowed firmware size should be 3000 characters, at the time of writing this post the firmware size is 1113