Printrhub
Printrhub copied to clipboard
Prompt “update firmware” when new firmware is available
This could remove requirement of using the cloud firmware update page— which is difficult to use and confusing. That page could be used as a last ditch effort btw
This should already work. We should examine why the current implementation does not work.
ESP loads the firmware.json file and sets firmware application info in local data structure. Later on it examines the firmware and compares to current settings once MK20 responded on the ping signal with current firmware version number.
Please have a look to this code: https://github.com/Printrbot/Printrhub/blob/808b6a5a75406fa9f20b1923346427c52aa1929c/esp/src/application.cpp#L249