Select USB/Serial port
connect_serialAuto-selects a USB-C Web Serial port and returns its metadata plus the BLE-connected board it belongs to. Use it for USB flash (rescue flasher) features only; it opens nothing on the board.
Instructions
Ask the app's main process to auto-select a Web Serial (USB-C) port (window.electron.ipcRenderer.autoSelectSerialPort, strategy "first") and return its metadata plus the BLE-connected board it belongs to (USB serial number = chip MAC, matched against each board's GET_DEVICE_WIFI_MAC). In this app the serial link only serves the USB flash (rescue flasher) feature — config, pairing, upgrades and every other device tool go over Bluetooth, so this does not make a board usable by the other tools. Opens nothing on the board.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||