cancelConnection
Disconnects an established connection, or cancels a connection attempt currently in progress.
Parameters
device
The remote device.
See also
(https://developer.android.com/reference/android/bluetooth/BluetoothGattServer#cancelConnection(android.bluetooth.BluetoothDevice))