connect
Makes a connection to the peripheral.
Parameters
autoConnect
True to use auto connect feature, false to use direct connection.
preferredPhy
The preferred PHYs for connection.
Throws
If BLUETOOTH_CONNECT permission is denied.
Makes a connection to the peripheral.
True to use auto connect feature, false to use direct connection.
The preferred PHYs for connection.
If BLUETOOTH_CONNECT permission is denied.