All Questions
Tagged with bluetooth-gatt android-bluetooth
82
questions
0
votes
1
answer
54
views
How to read Bluetooth Low Energy GAP characteristic values as a string?
Hello I am new to developing an app and even newer to the concept of BLE. I am developing an application on android using Java that is capable of scanning BLE devices nearby. The main purpose is to ...
1
vote
1
answer
44
views
Android BLE establishing connection
I am developing an Android BLE application for connecting with a BLE peripheral device. The BLE peripheral device has strong energy constraints and therefore the connection interval should be kept ...
0
votes
1
answer
53
views
Andoird [Bluetooth LE] create Characteristic with predefine value before advertising Service in a peripheral device(Android app)
My app act as a peripheral device advertising a Service with Characteristic with predefine value and the central device read it and process the advertising data
but I've been struggling with setting ...
-1
votes
1
answer
36
views
Samsung SM-A546E Bluetooth in background odd behaviour
This is not a coding issue. And this question might get downvoted for that reason.
A brief history
We have a BLe device that advertise every 20 milliseconds. The phone (iOS or android) connects to the ...
0
votes
2
answers
57
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,
...
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 ...
0
votes
0
answers
32
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
1
answer
310
views
BluetoothDevice#getName() return null in Android 14 while retrying pairing after canceling first pairing request
BluetoothDevice#getName() return null on Android 14
While trying to connect with below steps, Getting null value for BluetoothDevice#getName()
Scan Bluetooth device
Cancel pairing request
Retry the ...
0
votes
0
answers
126
views
warning: [deprecation] getValue() in BluetoothGattCharacteristic has been deprecated in the code: byte[] countByte = characteristic.getValue();
I am updating my current code to API33, i got the warning- warning: [deprecation] getValue() in BluetoothGattCharacteristic has been deprecated
byte[] countByte = characteristic.getValue();
In the ...
1
vote
0
answers
142
views
Bluetooth-LE severe failure after the latest OS update in Galaxy Watch 5 models
I’m a developer of an app for Wear OS which utilizes Bluetooth-LE. Since the latest Wear OS update (Wear OS 4.0, One UI 5.0), it started failing for numerous users of mine with Samsung Galaxy Watch 5 ...
1
vote
0
answers
112
views
How the execute flag inside onExecuteWrite callback method is set to true in BluetoothGattServer Class
I'm trying to send an image data from my client BLE app to my peripheral BLE app. I'm trying to do this by splitting the image data and send it over by multiple gatt.writeCharacteristic() calls from ...
0
votes
1
answer
41
views
Android Gatt: how to know to which request a response belongs?
Short question:
When BluetoothLECallbackInterface.onCharacteristicRead() is triggered, how do I know which request this is an answer to?
A bit more detailed:
when calling BluetoothGatt....
0
votes
1
answer
384
views
I am working on a Flutter app that reads data from a BLE device
I am working on a Flutter app that reads data from a BLE device, and the device sends data when I write a command to it. If I want to receive the latest data, should I keep sending the command ...
0
votes
1
answer
162
views
Not Receiving Temperature Data from Bluetooth Thermometer in Android App
I'm working on an Android app that interacts with a Bluetooth Low Energy (BLE) thermometer device. My goal is to read temperature data from the thermometer and display it in my app. However, despite ...
0
votes
1
answer
385
views
Android App for Bluetooth Qualification Testing (GATT connection, L2CAP channel, RFCOMM channel, OBEX connection, PAN transport)
I am trying to do Bluetooth Qualification testing on my product.
The Hardware of the product that I am working on runs Android 11 os. The software interface is similar to Android Mobile phones. I was ...