V5SerialDevice for most applications. It finds compatible ports, verifies the device, refreshes state, and exposes high-level views.
disconnect() closes the current port. dispose() also disables automatic refresh and reconnect behavior and clears the internal timer. Use dispose() when the instance will not be reused.
Set autoReconnect, autoRefresh, or pauseRefreshOnFileTransfer before connecting when the defaults do not fit the application.