meshtastic / web-flasher

Official online flasher for Meshtastic device firmware
https://flasher.meshtastic.org
GNU General Public License v3.0
41 stars 17 forks source link

Pico W detected as a Pico #68

Closed clwgh closed 1 month ago

clwgh commented 1 month ago

Summary

Connecting a Pico W-based node to the web flasher and selecting the automatic selection, it incorrectly detects it as a Pico, not a Pico W, which I believe uses different firmware.

Select the auto option, connection prompt

s1

Pico erroneously detected

s2

Pico W is indeed available to select

s3

thebentern commented 1 month ago

The auto-detect returns whatever the hardware model protobuf the device has on it. It's an imperfect system because they are sometimes re-used between different hardware variants like the pico and a couple of the diy esp32 boards. Sadly I have no way of fixing this problem in the web flasher.

clwgh commented 1 month ago

I believe that the firmwares for the Pico and Pico W are different and not entirely compatible. Is that correct? If so, it would be worth preventing the auto detect from selecting either the Pico or Pico W and instead directing the individual to make the correct manual selection. This will prevent incompatible firmware from being applied as a result of someone trusting the auto-selection.

Edit - to put it another way, restrict the auto-select to those models for which there is no such ambiguity. For all other models, the detection pops up a notice to the user asking them to make the correct selection manually.

thebentern commented 1 month ago

Indeed. I'm wondering if we can highlight the potential matched ones in the list

Edit - to put it another way, restrict the auto-select to those models for which there is no such ambiguity. For all other models, the detection pops up a notice to the user asking them to make the correct selection manually.