bromagosa / Snap4Arduino

Binding Snap! and Arduino together
http://snap4arduino.rocks
GNU Affero General Public License v3.0
134 stars 85 forks source link

Snap4Arduino7 on windows with COMxx (greater than 9) #312

Closed jguille2 closed 1 year ago

jguille2 commented 1 year ago

Leonardo (thanks) reported that Snap4Arduino7 don't work with COMxx ports where xx is greater than 9. It is a problem on Windows: both desktop or web versions.

We see the problem is with our noden and browser-serialport library versions. We will change this for next Snap4Arduino8 and if we have time, we will build a fix windows version for this.

Joan

jguille2 commented 1 year ago

Hi! Chromium is not supporting old SerialAPI (chrome.serial) and won't fix this issue. The problem is from Chromium version 73 where com1 is "com1" but com10 is "\.\com10" Snap4Arduino6 desktop was running chromium70, and this problem wasn't there.

We are moving to web serial... but in the meantime we'll implement a workaround for Snap4Arduino8 and then, it will run with current Chromium (now 108) but it will not have these problems in Windows with Coms greater than 9. Even more important, this problem will go out for the web versions over Windows browsers.

Closing this