This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final String command = "HELO\n"; | |
final UUID sppUuid = UUID.fromString("00001101-0000-1000-8000-00805F9B34FB"); | |
BluetoothAdapter.getDefaultAdapter(); | |
if (btAdapter == null) { | |
sendLogMessage("Bluetooth adapter is not available."); | |
return; | |
} | |
sendLogMessage("Bluetooth adapter is found."); |