AutoConnect

data class AutoConnect(val automaticallyRequestHighestValueLength: Boolean = false) : CentralManager.ConnectionOptions

Connection using Auto Connect feature.

The option to passively scan and finalize the connection when the remote device is in range and available. It does not allow to set a connection timeout and will not retry on failure.

In general, the first ever connection to a device should be direct and subsequent connections to known devices should be invoked with the this option.

Constructors

Link copied to clipboard
constructor(automaticallyRequestHighestValueLength: Boolean = false)

Properties

Link copied to clipboard

If true, the manager will automatically request the highest MTU supported by the remote device immediately after establishing the connection.