All Questions
Tagged with android-bluetooth gatt
34
questions
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
704
views
How to modify the BLE gatt server profile
I need to create a ble custom profile for my peripheral server in Linux and C code.
I tried to modify existing time profile under /bluez_source_code/profiles/time folder.
I have modified
UUID number ...
0
votes
0
answers
62
views
How to build an android app that acts as a peripheral bluetooth, so I can discover it from iOS application?
I have built an iOS app that uses corebluetooth, and an android app that starts avertisement via GATT server.
So Android devices only discover other androids and iOS devices.
And iOS devices ...
0
votes
1
answer
608
views
Android BLE never receiving notifications from characteristics
I've been struggling for quite a while now, trying to get my BLE device to communicate with my android app.
First off, here is my full code for BLE handling :
BleCentral.java
import java.util....
0
votes
1
answer
86
views
Android characteristic.getValue empty array
Sometimes, if a GATT notification occurs, and I try to get the characteristic value through characteristic.getValue() multiple times, the call suddenly starts to return an empty array.
That mostly ...
1
vote
0
answers
1k
views
Android NordicSemiconductor/Android-BLE-Library onCharacteristicChanged is not called
I'm using this library
NordicSemiconductor/Android-BLE-Library for BLE communication and successfully able to connect the peripheral device. I'm getting the services and characteristics and able to ...
1
vote
0
answers
1k
views
BluetoothGatt.writeCharacteristic() success for the first time but return false after
i'am building a Android application that read data from some BLE devices, the process of the application start by :
Discover the devices.
check if they are paired, if not paird them.
connect to the ...
2
votes
0
answers
457
views
Android 5.x BLE GATT service not discovered, but device is connected
My BLE discovery and connecting is working fine on Android 6.0 and higher. However, on version 5.x devices (both are Samsung - Note 4 and Galaxy Core Prime) I am able to scan, find my peripheral, ...
1
vote
2
answers
1k
views
BLE: adapter sending data using HCI ACL protocol instead of LE LL
I have created an Android app which acts as the central and I have found an implementation of a gatt-server (github.com/Jumperr-labs/python-gatt-server) which is part of bluez.When I am asking with a ...
0
votes
1
answer
2k
views
BLE onConnectionStateChange callback get STATE_DISCONNECTED after few attempts
My Problem
After few attempt the GATT service is getting disconnected i don't know the reason.I found that the onConnectionStateChange i got the status as 62 and 133.But i don't know the exact reason ...
0
votes
1
answer
333
views
Why can't I view and connect to a Bluetooth LE device? (Android)
I've been working on this for a while and putting together code from multiple sources over the net, however I'm still not getting any results.
Initially I was trying to scan for BLE devices and view ...
5
votes
1
answer
2k
views
Android Bluetooth LE - Read float characteristic
I am trying to read the float characteristic of a connected Bluetooth LE device(Genuino 101). For testing purposes, the device provides a FloatCharacteristic with the hardcoded Value '55.3'. While I ...
0
votes
1
answer
2k
views
onCharacteristicChanged is not called in Android BLE GATT servcies
I am trying to receive the data from BLE device in my app. i could able to connect the BLE device successfully with my app and i am able to find the services provided by the BLE devices.
I can able ...
1
vote
1
answer
4k
views
Android App: Connecting to GATT server using UUIDs
I'm trying to connect to Bleno Periphecal GATT server from my android app.
The GATT Server has Custom Service and Characteristic with unique UUIDs.
How can I pinpoint connect to this server and ...
3
votes
0
answers
1k
views
Android Ble GATT_ERROR 133 getting often with samsung devices
I am working on BLE Applications, I have tested with different devices like Nexus, Moto, Samsung, LG. I am getting the GATT Error 133 in Samsung Devices alone(Samsung A5 2016). Trying to connect 10 ...