disconnect
Disconnects from the specified BLE device and removes it from active connections.
This method gracefully closes the connection and releases associated resources. If no connection exists for the specified device, this method does nothing.
Parameters
device
The BluetoothDevice to disconnect from.