Skip to content

Commit 0319dee

Browse files
committed
OTA: Support WiFi setup and firmware update as one change
Always display the update button and menu item, remove the requirement check for new firmware qualification. When the settings are written back to to the GNSS device the system is able to establish the connection to the remote access point using the newly specified WIFI SSID and password and then perform the OTA firmware update. Note: Due to the WiFi restart the connection is broken between the browser and the GNSS device. As a result, the browser does not receive the status update message for the progress bar and reset. Prior to this change the user would need to check for new firmware before performing the firmware update: 1. Use a browser to connect to 192.168.4.1 2. Click on the "WiFi Configuration" button 3. Specify the WiFi SSID and Password 4. Click on the "Save Configuration" button 5. Reconnect the browser to 192.168.4.1 6. Click on the "System Configuration" button 7. Click on the "Check for New Firmware" button 8. If new firmware is available, click on the "Update to vXX.YY" button While it is possible to change the WiFi SSID and password and then hit the "Check for New Firmware" button the response gets lost because of the WiFi restart. When the browser is reconnected the "Update to vXX.YY" button is still disabled because the page got reloaded and the browser does not have the new firmware version. As such, the "Check for New Firmware" button needs to be pressed again to get the new firmware version and enable the "Update to vXX.YY" button.
1 parent fbfdbb1 commit 0319dee

File tree

3 files changed

+228
-233
lines changed

3 files changed

+228
-233
lines changed

Firmware/RTK_Everywhere/AP-Config/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1977,13 +1977,13 @@
19771977
</div>
19781978
<br>
19791979

1980-
<div align="center" id="divGetNewFirmware" style="display:none">
1980+
<div align="center" id="divGetNewFirmware">
19811981
<button type="button" id="btnGetNewFirmware" class="btn btn-primary box-margin20"
1982-
onClick="getNewFirmware()">Update to v3.14.15</button>
1982+
onClick="getNewFirmware()">Update to lastest firmware</button>
19831983

1984-
<center><progress id="firmwareUpdateProgressBar" value="12" max="100"
1984+
<center><progress id="firmwareUpdateProgressBar" value="0" max="100"
19851985
style="width:300px;"></progress>
1986-
<p id="firmwareUpdateProgressMsg" class="inlineSuccess">37%</p>
1986+
<p id="firmwareUpdateProgressMsg" class="inlineSuccess">0%</p>
19871987
</center>
19881988
</div>
19891989
</div>
@@ -2503,4 +2503,4 @@
25032503
</script>
25042504
</body>
25052505

2506-
</html>
2506+
</html>

0 commit comments

Comments
 (0)