The Generic Attribute Profile (GATT) defines the way that two Bluetooth Low Energy (BTLE) devices transfer data back and forth using concepts called Services and Characteristics.
Questions tagged [bluetooth-gatt]
459 questions
0
votes
1 answer
BLE ValueChanged stops firing in C# app
I'm running Windows version 10.0.16299.0, and building on Visual Studio C# 2017. I can successfully connect to an unpaired BLE device from a Windows Forms app, and get ValueChanged events (1 per second), but not for long. I usually stop receiving…

Dan
- 1,215
- 1
- 10
- 22
0
votes
1 answer
Why does the status in onCharacteristicWrite callback becomes GATT_INVALID_OFFSET?
I'm writing a byte array of data into a BLE device in Android. After calling mGatt.writeCharacteristic(characteristicToWrite); The onCharacteristicWrite(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status) callback method is…

Febin K R
- 886
- 2
- 11
- 21
0
votes
0 answers
BLE device paring with android device and once the device come to range and after connecting to do we get any callBack or Broadcast?
I have a question:
I've one BLE Device its connected to phone and paired. When the device goes out of range and comes back in to range, will it connect again and trigger the callback after coming into range.

basavaraj navi
- 43
- 1
- 5
0
votes
0 answers
Cannot connect Heart Rate Device to Windows 10 Universal App
I'm trying to use a Windows Universal App to connect my Polar OH1 heart rate device to my Mac through Bluetooth GATT (it's dual booted Windows 10). I'm doing this in C++.
IAsyncOperation^ deviceOp =
…

hackerman
- 11
- 4
0
votes
1 answer
Find Bluetooth Le Gatt (Motion UUID) to receive motion sensor data
I am new to Bluetooth Low Energy GATT. Now I have a motion sensor with the RN4020 microchip bluetooth module.
I'm having issues on receiving data from my motion sensor.
Currently I am able to scan my motion sensor with my android apps, but it…

DOE
- 1
- 1
- 1
- 4
0
votes
1 answer
How to read characteristic from Bluetooth?
I am trying to read characteristic from Bluetooth:
service uuid: 00001800-0000-1000-8000-00805f9b34fb
characteristic uuid: 00002a00-0000-1000-8000-00805f9b34fb
I have no idea of how to call those methods of chr_get_value and chr_read. I know the…

cris
- 1
- 1
- 2
0
votes
1 answer
How to release(gc) bluetoothgatt instance?
In my project, I called the mCmdBinder.gattConnect() and mCmdBinder.gattClose() method multiple times and it generated multiple BluetoothGatt instances. In the dumped file .hprof, I can see there are multiple instances of the BluetoothGatt object…

joy
- 1
- 1
0
votes
1 answer
GATT Service: get battery level of blueup beacons
his is just my code. Saw this example somewhere. But it didn't work.
private static final UUID Battery_Service_UUID = UUID.fromString("0000180F-0000-1000-8000-00805f9b34fb");
private static final UUID Battery_Level_UUID =…

Sunny
- 25
- 1
- 1
- 6
0
votes
0 answers
how to access a BTLE attribute table from yocto linux
I'm working on interfacing a BTLE peripheral with intel edison. I'm using puTTY for accessing linux environment. So far I have achieved the connection but when I list the attributes, it gives me services and characters with handle values. but I…

Rumshaa Yunus
- 1
- 1
0
votes
1 answer
Weird BLE behaviour Android
I'm trying to develop an app that connects via BLE to my CC2650 sensor tag from Texas.
I'm able to connect to my tag using GATT protocol the problem is that if when I'm connected the connection fails it is not restored. But if I reconnect the…

Alex Gimondi
- 84
- 1
- 11
0
votes
1 answer
Android Bluetooth Low energy Gatt Service implementation error
I used android.bluetooth package in my project but i try to implement IBluetoothGatt for read and write characteristics. But i have some problems like below
public final class BluetoothGatt implements BluetoothProfile {
private static final…

Hilal
- 74
- 10
0
votes
1 answer
How to keep ble android application running in background?
I am working on the android application. In this application i have to connect to the ble device. I want the application connected to the ble device when the application is in background .
user8030518
0
votes
3 answers
BLE writeCharacteristic issue
I'm trying to writeCharacteristic() to a BLE device.
I used Google example app to establish the connection, the connection is fine. I can see the BLE Services and the services Characteristics.
The writeCharacteristic() method return true and the…

Igor Fridman
- 1,267
- 1
- 16
- 30
0
votes
1 answer
How to Retry RxAndroidBLE Discover Services in case of GATT error.
I am using RxAndroidBLE library for discovering services in my GATT server.
it works fine most of the time but often i get GATT error 133 (0x85) and it fails. I will like to retry for discovery of the service couple of time for a time period, say…

Avijeet
- 365
- 4
- 14
0
votes
1 answer
How to Read BLE GATT characterstics in chunks form GATT server using RxAndroidBLE
I am using RxAndroidBle library for handling BLE connection and reading/writing to GATT server from my android gatt client app. I have followed the sample application provided on github.
The problem I am facing is my GATT server is running on Intel…

Avijeet
- 365
- 4
- 14