connect

suspend fun connect(deviceId: String, transportType: TransportType): Result<DeviceInfo>

Connect to a specific device by ID (e.g. from QR code on AC device).

Return

Connected device info

Parameters

deviceId

Platform-specific device identifier

transportType

The transport type to connect over