connectToDevice

fun connectToDevice(address: String? = null)(source)

Scan for the nearest nymea-networkmanager device and connect to it. Pauses at the WifiProvisionUiState.Phase.DeviceFound phase so the user can confirm before proceeding — this is the Android analog of the web flasher's native BLE pairing dialog.

Parameters

address

Optional MAC address to target a specific device.