closeBluetoothAdaptergetBluetoothAdapterStategetBluetoothDevicesgetConnectedBluetoothDevicesonBluetoothAdapterStateChangeonBluetoothDeviceFoundopenBluetoothAdapterstartBluetoothDevicesDiscoverystopBluetoothDevicesDiscovery