bluerobotics / ping-viewer

Ping Viewer is an open-source application to view and record data from the Blue Robotics Ping Echosounder and Ping360 Scanning Sonar.
https://docs.bluerobotics.com/ping-viewer/
GNU General Public License v3.0
42 stars 39 forks source link

Flashing firmware with a new device type does not get reflected in the current session #1082

Open ES-Alexander opened 3 months ago

ES-Alexander commented 3 months ago

Summary

Version: 2.5.1

Operating System: Mac (Sonoma) - most likely all OSs

What is happening: Flashing a Ping1D device with a different device type (Ping vs Ping2) does not get reflected in the Automatic Update version filtering until Ping Viewer gets restarted. Most likely the device information does not get re-checked until it's registered as a new connection to the device.

How to reproduce it: Manually flash a Ping1D device with the opposite device type (e.g. from Ping-V3.29_auto.hex to Ping2-V1.1.0_auto.hex), and notice that the firmware flasher does not update to show firmwares for the new device type in the Automatic Update section, but instead still shows firmwares for the previous device type (e.g. Ping -> Ping2 will still show Ping firmwares).

Additional information