Package-level declarations
Types
Fetches the flasher's GLB device models; the URL is the illustration's with the extension swapped.
The values every host's Ktor HttpClient shares. installApiDefaults applies them; a host supplies only its engine.
Bridges Ktor's HTTP client logging to Kermit.
A serial port the desktop picker offers: name to show, address to store and reopen. namesRadio is true when the address belongs to one physical radio rather than to a port or a board model.
Functions
The serial ports present now. On Linux a USB port's SerialPortEntry.address is its /dev/serial/by-id link: the kernel gives a re-enumerated device the next free ttyACM number while the old one is still open, and udev points the link at the new one. Other ports, and other hosts, whose names already follow the device, use the system name.
Shared io.ktor.client.plugins.HttpRequestRetry policy for every engine.
What every host's API client installs, whatever its engine: JSON content negotiation, the API base URL, the shared timeouts and retry policy, and request logging through Kermit when logRequests.