asyncConnect

@RequiresPermission(value = "android.permission.BLUETOOTH_CONNECT")
fun asyncConnect(autoConnect: Boolean = false, cb: (Result<Unit>) -> Unit, lostConnectCb: () -> Unit)

start a connection attempt.

Note: if autoConnect is true, the callback you provide will be kept around _even after the connection is complete. If we ever lose the connection, this class will immediately requque the attempt (after canceling any outstanding queued operations).

So you should expect your callback might be called multiple times, each time to reestablish a new connection.