package main import "errors" // errUARTBusy is returned when the port is held for OTA (poller should not treat as unplug). var errUARTBusy = errors.New("uart busy (OTA in progress)") // errOTAInProgress is returned when a second OTA upload is attempted while one is running. var errOTAInProgress = errors.New("OTA upload already in progress") // managedSerial is an alias for managedHost (UART-first history). type managedSerial = managedHost