getAuthorizedPort() is unreliable after esptool reboots the device. Use state.port (the port the user explicitly selected) and retry port.open up to 5 times with 1s gaps to handle the brief window while the device re-enumerates. Show specific UserError messages instead of the generic one. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| css | ||
| js | ||
| node_modules | ||
| ambient.html | ||
| fleet.html | ||
| help_articles.json | ||
| index.html | ||
| integrations.html | ||
| jest.config.js | ||
| package-lock.json | ||
| package.json | ||
| simple.html | ||