launchBluetoothSettings

fun Context.launchBluetoothSettings(closeOnConnect: Boolean = true)

Open the bluetooth settings activity and optionally close after connection established.