Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
43 views

BLE Peripheral disconnection after sending a command in some Android phones

I am working on an android project which works with a smart ring using bluetooth. The problem is app and ring are working fine 95% of the Android phones. But in 5% of the phones getting disconnection ...
Hari Keerthipati's user avatar
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 ...
Harry's user avatar
  • 21
0 votes
0 answers
24 views

With Bluetooth LE GATT service, is processing Characteristics and Descriptors sequentially an acceptable way to go?

I'm writing a service that connects to a bluetooth LE device. I am iterating through the various services looking for the ones I'm interested in. At the moment I'm looking at battery services. Some ...
mal's user avatar
  • 3,192
0 votes
0 answers
178 views

Not able to read Bluetooth Characteristic in android app

I am trying to read a bluetooth characteristic (CPU temperature of Raspberry pi, cputemp). But when I my checking the permission using it.properties it's returning 18 and discoveredGatt....
Bot's user avatar
  • 1
1 vote
0 answers
237 views

getBondedDevices() is not returning paired bluetooth devices

I am trying to fetch paired devices using BluetoothAdapter like below. fun getBondedDevices(){ if (!checkBluetoothPermission(mContext) &...
Maradiya Krupa's user avatar
0 votes
1 answer
640 views

How to write characteristics for bluetooth gatt service for two channels without getting disconnected(state 133)?

I've a bluetooth gatt service and two channels to write bluetoothGattService = gatt?.getService(UUID.fromString(ble_gatt_service_uuid)) mTxCharacteristic1 = bluetoothGattService.getCharacteristic(...
Shivam's user avatar
  • 21
4 votes
1 answer
684 views

Issue with Scanning Specific BLE Devices

I am working on BLE and have to scan the BLE devices with specific udid. Currently, All BLE supported devices comes as a scan result. To avoid and scan only specific devices, what I have done is as ...
Jaimin Modi's user avatar
  • 1,631
1 vote
0 answers
705 views

How to get notification using BLE, always getting Error

I am trying to get notification from Kotlin on React Native using BLE (Bluetooth Low Energy) connection. Devices are connected each other and I am trying to send notification from Android device to ...
Grigoriy Park's user avatar
0 votes
0 answers
407 views

How to scan and connect to a bluetooth device in one fragment and read characteristics in another fragment?

I just started learning Android development with Kotlin and I am working on an app. I also created an Arduino device with BLE that sends the current speed of my bike. The app I am building has one ...
Nelson Zeas's user avatar
3 votes
1 answer
3k views

Android BLE Gatt Server with multiple services - onCharacteristicWriteRequest() no char for handle

I am trying to build a BLE Gatt Server with multiple custom services and multiple characteristics. To begin with I used the Google Example: https://github.com/androidthings/sample-bluetooth-le-...
SpringHawk's user avatar
5 votes
1 answer
899 views

Multiple BluetoothGattCharacteristic not being notified

I am working on a BLE device and am not able to get onCharacteristicChanged to ever be called. I have 8 BluetoothGattCharacteristic that I need to be subscribed to. After I find the device ...
temp_'s user avatar
  • 1,307
1 vote
1 answer
721 views

Android BluetoothDevice reading new data

I am an iOS developer building my first Android bluetooth app. In my app I have two classes, one main class that calls a second that is my BluetoothGattCallback. After I scan for devices, I find the ...
temp_'s user avatar
  • 1,307