Questions tagged [gatt]

GATT: Generic Attribute Profile

Provides profile discovery and description services for Bluetooth Low Energy protocol. It defines how a set of ATT attributes are grouped together to form services.

See Bluetooth Profile

556 questions
5
votes
1 answer

Establishing multiple BLE connections simultaneously using BlueZ

I have a Linux C application which requires making multiple connections to BLE devices. The application uses a library stripped from gatttool. The BLE devices have a very slow advertising rate, so it takes a long time for a to connect to be…
mw.
  • 357
  • 3
  • 18
5
votes
0 answers

Bluez 5.28 gatt server unable to register services for my device

I want to use my Raspberry Pi running Raspbian version 3.18.11+ with a BATTOP Bluetooth CSR 4.0 Dongle as a BLE peripheral and connect to it using an iOS device. I'm using Bluez 5.28 and the gatt_example plugin as a first step before I write a…
Sam
  • 126
  • 9
5
votes
1 answer

gatt.writeDescriptor error status callback when using bonded device

I am developing an app that needs to connect to a ble peripheral automatically. I have a sticky service that does the following: looks for the required device in bonded devices if it doesn't fine the device (first time), scans for it and bonds to…
talarari
  • 539
  • 3
  • 7
  • 19
5
votes
4 answers

Android Bluetooth Low Energy Getting response to specific request

There's something I'm not quite getting with using Gatt to communicate with a BLE device. According to this: https://developer.android.com/reference/android/bluetooth/BluetoothDevice.html#connectGatt(android.content.Context, boolean,…
talarari
  • 539
  • 3
  • 7
  • 19
5
votes
1 answer

How to improve Android Bluetooth Low Energy GATT throughput?

I am having performances issues when doing several consecutive GATT read using the Android BLE API. I can read about 10 packets per second just for about 5 or 6 seconds. After I read the ~65's packet the throughput decreases to about 1 packet each…
Felipe Tonello
  • 290
  • 3
  • 11
5
votes
0 answers

How to get Disconnect Event from BLE layer - Bluez/Linux

A previous question How to get Disconnect Event from GATT Server on Bluez/Linux addresses the disconnect event for Bluez stack. However since the disconnection detection is at the GATT layer it takes a while for the disconnection to be detected at…
SC-SL
  • 377
  • 3
  • 19
5
votes
2 answers

Android: Bluetooth Low Energy GATT Profile

I am looking to send information from my Android device to a micro-controller (such as an Arduino). Using Bluetooth Classic I simply send a byte array of data to the micro-controller, and process the byte array accordingly. I started reading about…
5
votes
4 answers

Android BLE 4.3 onDescriptorWrite returns status 128 on enabling characteristics notification

A question on enabling characteristics using the new android BLE 4.3: I am not getting any notification from the BLE device though I enable notification on characteristics one by one asynchronously using a queue. I also write the descriptor with…
Murali
  • 51
  • 1
  • 2
5
votes
0 answers

android API 18 ble writeCharacteristic not working

I am working with the new ble api of android 4.3. I am able to scan, connect, discover characteristics e.t.c from my LE device. In case of reading characteristic value, for some characteristics, i am getting responses and for some others i am…
profused
  • 143
  • 3
  • 8
4
votes
2 answers

(Bluez) How to get bluetooth headset buttons input?

I have a bluetooth headset connected to a linux device. I would like to programmatically receive the play/pause/next/previous/volUp/volDown button press. After some research I found out that I can interact with Bluez with dbus. I tried to register a…
lapinozz
  • 190
  • 2
  • 6
4
votes
1 answer

How to handle BLE service changed indication on Android App

Does anyone know how Android handles the service changed indication sent by peer device? I found out even if the Android app has subscribed the Service Changed Characteristic in Generic GATT service, the onCharacteristicChanged callback will not be…
ShawnW
  • 41
  • 1
4
votes
1 answer

update local gatt characteristic value using bluetoothctl

I have set up a gatt Server on an raspberry pi using bluetoothctl and BlueZ 5.50 (according to this thread: BlueZ: How to set up a GATT server from the command line) I can connect to the gatt server from an other machine and also read the given…
4
votes
0 answers

Record Access Control Point BLE explanation - glucose

I'm trying to get glucose measurements from glucose meter (Contour One Plus) with Bluetooth LE. I'm able to connect to device. I don't know how to start with Record Access Control Point. I can discover all of characteristics and services. I am…
4
votes
2 answers

Getting Data from PolarH10 via BLE

I have been trying to get data from my PolarH10 with my raspberry-pi. I have been successfully getting data through the commandline with bluez, but have been unable to reproduce that in python. I am using pygatt(gatttool bindings) and python3. I…
jaaq
  • 1,188
  • 11
  • 29
4
votes
1 answer

How do I configure a WPF project to use BLE?

Update 2: Below are the details of where I am at the moment, but I didn't want the detail to derail any general answers that may bear on the base question of finding any path to BLE / GATT in WPF. Build system version: Microsoft Visual Studio…
Sean Vikoren
  • 1,084
  • 1
  • 13
  • 24