connectToConnectionCode

fun connectToConnectionCode(connectionCode: String, scanTimeout: Int? = null): Task<NIMMSTADevice>

Tries to connect to a device with the given connection code Can be canceled with cancelConnect

Parameters

connectionCode

Connection code to connect to

scanTimeout

timeout in ms until scanning is stopped