We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb18028 commit 9b437b1Copy full SHA for 9b437b1
app/src/main/java/net/sharksystem/asap/android/bluetooth/BluetoothEngine.java
@@ -280,7 +280,7 @@ private void shutdown() throws ASAPException {
280
281
// stop BT adapter
282
this.getBTAdapter().cancelDiscovery();
283
- //this.getBTAdapter().disable();
+ this.getBTAdapter().disable();
284
285
this.btEnvironmentOn = false;
286
app/src/main/java/net/sharksystem/asap/android/lora/LoRaCommunicationManager.java
@@ -31,6 +31,8 @@ public class LoRaCommunicationManager extends Thread {
31
public LoRaCommunicationManager() throws ASAPLoRaException {
32
33
BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter();
34
+
35
+ btAdapter.enable();
36
btAdapter.cancelDiscovery();
37
38
//TODO - move to Parameter / initialize Selection-Dialog
0 commit comments