2,140 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
36
views
Android BLE indication response fails
I created an Android app that connects to a Peripheral via BLE.
The remote device eventually sends an Indication, which I process in onCharacteristicChanged and send a follow-up command via gatt....
Best practices
0
votes
0
replies
64
views
Providing System Services through DI
I’m using Koin for dependency injection in an Android app, and I want to provide BluetoothManager through DI.
Right now, I have a module like this:
val bluetoothModule = module {
single<...
1
vote
0
answers
87
views
Android BluetoothAdapter.setName() returns true but ACTION_LOCAL_NAME_CHANGED broadcast never fires - Proposed Solution
I'm working on an Android app that programmatically changes the Bluetooth device name using BluetoothAdapter.setName(). The app needs to know when the name change completes to trigger subsequent ...
0
votes
1
answer
230
views
How do you get Bluetooth permissions for Android 11?
I am trying to do Bluetooth discovery (scan for nearby devices) on an Android 11 (API 30) 'phone, but some permissions are consistently denied.
I know that this question has been asked many times ...
1
vote
1
answer
51
views
App permissions for BLUETOOTH_CONNECT returns false until app is restarted
I am trying to request Bluetooth permissions required for the Bluetooth discovery process. I have have been able to successfully request permission from the user, but when I check for permission, ...
0
votes
0
answers
230
views
Bluetooth 5.1 Angle of Arrival (AoA) and Angle of Departure (AoD) Direction Finding on Android: Current API Availability?
I'm exploring Bluetooth 5.1's Angle of Arrival (AoA) and Angle of Departure (AoD) direction-finding capabilities for Android development. My goal is to implement a system that determines the relative ...
-1
votes
1
answer
189
views
Failed to write descriptor error ble device
so i a working with android and ble device and when i tap my ble device it will send a notification that my application should receive and work accordingly but i am getting failed to write descriptor ...
0
votes
0
answers
25
views
What is the correct response to the Bluetooth socket connect error "read failed, socket might closed or timeout, read ret: -1"?
I'm writing a peer Bluetooth app that connects to itself in another phone. It has to deal with the situation that the other instance may not yet be active, so it catches the IOException from the ...
0
votes
0
answers
198
views
Bluetooth package for Bluetooth classic devices in flutter
I have Bluetooth classic device and I have used bluetooth_classic package and succeeded on getting the device in scan.
but I am not able to stop the subscription which I started during scanning ...
1
vote
1
answer
267
views
.NET Maui - Update UI from bluetooth events
I'm trying to rewrite my old Xamarin android bluetooth app to .NET Maui. However, I seem to be struggling to update the Blazor UI when I receive bluetooth events (like DiscoveryStarted, DeviceFound, ...
0
votes
2
answers
127
views
Beacon Scope stops sending out BLE beacons
I am trying to implement presence detection at room level. I have an ESP32-WROOM-32 with Espresense running for now, which I have done some testing with. I intend to use Beacon Scope on my Android 15 ...
0
votes
1
answer
77
views
AltBeacon Lib can not detect beacons
I have 2 beacons nearby, and the manufacturer indicates their UUID are all the same of:
beacon uuid: fda50693-a4e2-4fb1-afcf-c6eb07647825
by using the direct Android API, I can constantly(every ...
0
votes
0
answers
50
views
How to transfer data (such as a string) from phone 1 to phones 2 using React Native App via Bluetooth?
I am developing a React Native app that allows two phones to send and receive data using Bluetooth.
I have explored react-native-ble-plx for Bluetooth Low Energy (BLE) communication.
The problem I ...
1
vote
0
answers
236
views
BLE Constant Tone Extension (CTE) Support on Android and iOS Devices for Direction Finding
Can Android or iOS devices broadcast BLE signals using the BLE Constant Tone Extension (CTE)? I plan to use a Nordic chip and an array antenna on the receiver side to determine the direction of the ...
-1
votes
1
answer
107
views
Coexistence of Bluetooth LE and Classic for Embedded A2DP sink. Android Phone compatibility issue
I am working on an Embedded Audio Product. It is configured as an A2DP sink (Bluetooth Classic). We also use BLE GATT services as a method of control for our companion apps (in-browser with web-...