At present, the app assumes that one or more suitable firmware files exist on the Android device, enabling the user to navigate to and select one for installation on the connected weather station.
To ease the entire firmware-upgrade process, add to the app the ability to download from the internet the latest firmware file for each modem type and store it on the Android device.
Static links for each modem type:
Resolution:
A manifest is maintained at https://holfuy.com/support/firmwares/mobile_upgrader_manifest.json. The app will use the value of the "path" attribute to download the latest firmware file for each modem type, keeping the app coupled only to the URL for and the format of the manifest while enabling Holfuy to release firmware and new modem types without requiring changes to the app. Whenever it is opened, the app will attempt to automatically download all the latest firmware files and store them in an app-specific directory. Failure to retrieve firmware files shall not prevent normal operation using the firmware files already present on the device. The "Select Firmware" flow will present a list of firmware files resident in the repository, enabling the user to select one to be pushed into the station. The user may also browse to and select a suitable file from any location accessible to the Android device.
At present, the app assumes that one or more suitable firmware files exist on the Android device, enabling the user to navigate to and select one for installation on the connected weather station.
To ease the entire firmware-upgrade process, add to the app the ability to download from the internet the latest firmware file for each modem type and store it on the Android device.
Static links for each modem type:
Resolution:
A manifest is maintained at https://holfuy.com/support/firmwares/mobile_upgrader_manifest.json. The app will use the value of the "path" attribute to download the latest firmware file for each modem type, keeping the app coupled only to the URL for and the format of the manifest while enabling Holfuy to release firmware and new modem types without requiring changes to the app. Whenever it is opened, the app will attempt to automatically download all the latest firmware files and store them in an app-specific directory. Failure to retrieve firmware files shall not prevent normal operation using the firmware files already present on the device. The "Select Firmware" flow will present a list of firmware files resident in the repository, enabling the user to select one to be pushed into the station. The user may also browse to and select a suitable file from any location accessible to the Android device.