sparkfun / SparkFun_RTK_Firmware

Centimeter precision GPS/GNSS using L1/L2 signals broadcast over Bluetooth SPP (using the ESP32) in an easy to use enclosure.
https://docs.sparkfun.com/SparkFun_RTK_Firmware/
Other
82 stars 47 forks source link

OTA firmware update fails when updating to version greater than 3.9 #742

Closed nseidle closed 11 months ago

nseidle commented 11 months ago

Problem: If you load v3.9 and attempt to firmware update to v3.10, it says it's up to date.

RTK Firmware uses a Major/Minor semantic versioning system.

The current firmware update method is doing a blind

if x > y 
    then firmware is newer

This is bad because

3.9 > 3.11

Which in terms of versioning, is wrong. v3.11 is newer than v3.9. We should be comparing major/minor versions separately, not as a float.

Users who are using a lower version will have to use the GUI or CLI methods to get to v3.11 where the fix will be in place.

nseidle commented 11 months ago

Fixed in v4.0. If you've got an older firmware version, you'll be able to get to v4.0.