Questions tagged [android-bluetooth]
The Android bluetooth subsystem. May also refer to using bluetooth hardware in Android.
android-bluetooth
2,170
questions
0
votes
0
answers
50
views
How to listen to media session events of another app
I have created an app that can listen to headphones action using media sessions and perform custom actions but when another music player platform like spotify or default music player is used media ...
0
votes
0
answers
94
views
React Native Bluetooth Classic Reading Issue
I am attempting to read the response after sending a command to the IoT device. I have verified that the command I'm sending is correct, and the IoT device does send a response, as I've confirmed ...
0
votes
0
answers
148
views
Flutter bluetooth low energy: custom characteristic and service
I am very new to Flutter so maybe this is a silly question but I have been stucked for long time so I would like to have some help here. I am trying to develop an app for android which could connect ...
0
votes
2
answers
58
views
Why do we get ERROR_GATT_WRITE_REQUEST_BUSY error while writing to characteristic if i enable notifications like in the below code?
object CHatServer{
private fun setupGattService(): BluetoothGattService {
//......
val rrepCharacteristic = BluetoothGattCharacteristic(
RREP_UUID,
...
0
votes
1
answer
33
views
Does Android have an equivalent of iOS's Core Bluetooth canSendWriteWithoutResponse?
While implementing firmware updates, we've noticed that different Android phones seem to have different levels of reliability regarding GATT characteristic writes without response. Some will block the ...
2
votes
1
answer
186
views
Why do we get ERROR_GATT_WRITE_REQUEST_BUSY error while writing to characteristic?
I am building chat app on ble. I do not need queue as i will be writing sequentially. But sometimes i get this error. I tried to debug it, what i found is if i remove my Notify Characteristic then it ...
1
vote
0
answers
138
views
BLE on Android - Get UUID of nearby devices
I am creating an app that through a ble scan returns a list of nearby devices, each device is an object which contains two pieces of information:
UUID : String,
rssi: Int
I can get the rssi value ...
0
votes
0
answers
33
views
Omron BP Monitor Custom Service and Characteristics bluettooth
Does anyone connect the latest Omron BP Monitor in Android programmatically? it's using custom characteristics for blood pressure. I found the service uuid and characteristics uuid but the measurement ...
0
votes
0
answers
41
views
Android Bluetooth Error: Socket failed (GPS iTag and android app)
I want to connect my GPS iTag Tracker to my app via Bluetooth and get the location from that.
How do I do it? I am getting this error. What are the possible ways I could go wrong?
How do I connect my ...
0
votes
0
answers
27
views
BLE - Facing Data Loss in Android Library(.aar) for Bluetooth Low Energy for Unity
I have developed an Android library for BLE (Bluetooth Low Energy) communication intended for integration into Unity Android applications. However, I am encountering a notable issue of data loss ...
0
votes
0
answers
33
views
How to disconnect bluetooth to an iOS device from an Android app programmatically
I tried using BluetoothSocket.close() but it doesnt work. It only works when I disconnect to an Android device. When I try to disconnect to an iOS device, the Bluetooth Socket is closed, but the ...
0
votes
0
answers
96
views
Bluetooth neckband connected for audio but not for microphone with react-native-incall-manager
I'm trying to use react-native-incall-manager to hopefully be able to use different microphones in my app that uses react-native-webrtc. But when a bluetooth device is connected, it asks for the ...
0
votes
0
answers
39
views
Is there default Ack response in Andoird Bluetooth with Arduino
I am writing app in Android studio for connecting Android phone with Arduino board HC-05. Bluetooth classic is used. I saw from this post (Does the BLE stack resend a packet if response is not ...
0
votes
1
answer
42
views
How is it possible for Android to receive Bluetooth pair requests when Bluetooth is turned off
I have an issue where an Android app is sending users pair requests even though Bluetooth is turned off on their devices.
How is this possible? Has anyone ever come across something like this before? ...
0
votes
0
answers
56
views
How to check for the PBAP connection status of a Bluetooth device while multiple devices are connected
My setup is having 2 device connected.While i am disabling PBAP access from one of the device , on receive of android.bluetooth.pbapclient.profile.action.CONNECTION_STATE_CHANGED how to know that ...