Category : bluetooth

When I run deviceAgent=new QBluetoothDeviceDiscoveryAgent(this); deviceAgent->start(QBluetoothDeviceDiscoveryAgent::Classic Method); I get the error: qt. bluetooth. android: Search not possible due to turned off Location service If geolocation is enabled, everything works as it should. How do I search ONLY CLASSIC bluetooth devices on android without enabling geolocation? Source: Android..

Read more

I have used several examples of code, I still do not know what the problem is! Now using android sample project (link) but when I use exactly that code in my app, I encounter the following problem 2021-03-06 12:44:24.111 1522-5136/com.peer_messanger E/BluetoothChatService: Socket Type: Secureaccept() failed java.io.IOException: read failed, socket might closed or timeout, read ret: ..

Read more

How can we listen for special BT device commands like redial from our app? For now, I’m only able to listen to the only one – play/pause/start/end call button (KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE). Using common BroadcastReceiver for "android.intent.action.MEDIA_BUTTON" doesn’t help. Solution with BluetoothSocket, BluetoothServerSocket won’t help too since it requires our code to be invoked on BT device ..

Read more

I’m developing an Android app (Android 9+) that continuously scans for Bluetooth Low Energy advertisements and displays them on the app. With the advertising devices within 2 feet of the phone, the received signal strength (RSSI) as measured with the Nordic nRF connect app is much weaker (-60db) than the RSSI on a dedicated Bluetooth ..

Read more