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
4
votes
2 answers

bluetooth low energy notification

i am trying to read temperature value from health profile.health thermometer service. according to official google ble devlopment page when i try to notify a health thermometer characteristic to read temperature i try to write descriptor value…
3
votes
1 answer

Linux BlueZ 5.65 hcitool Combining Service UUID and Maufacturing Data Advertisements

I am running BlueZ 5.56 on a custom embedded Linux 5.15 board. The board has the Atmel wilc3000 wifi/bluetooth radio onboard. I have implemented a python GATT server, based on the BlueZ example, that works fine on the raspberry pi. However, the…
PhilBot
  • 748
  • 18
  • 85
  • 173
3
votes
0 answers

Flutter Blue characteristic length is limited

I am developing an app in flutter using flutter blue plugin where i am getting the data from a customized bluetooth low energy controller all the neccessary data is in characteristic of the property of notify listner. when i listen the data its 16…
3
votes
1 answer

Are GATT Event notifications possible without pairing?

I've been pouring over the BT 4.x (LE) spec trying to figure out if this is possible or not (events without pairing/boding). Does anyone have an insight (and link to the spec preferably) if it's possible?
3
votes
0 answers

BLE Browser API startNotifications() returns "GATT Error: Not supported."

I've recently implemented a BLE notifications system on an ESP32 board. My system has a specific service uuid and a specific characteristic uuid. I've set the notify property to the characteristic: characteristic =…
3
votes
1 answer

Use Python and bleak library to notify a bluetooth GATT device, but the result is not stable

I try to use Python to control some BLE GATT devices. I find Bleak (https://bleak.readthedocs.io/en/latest/) this library to communicate with GATT device. When I use it, most of the time it works really well. But once I try to communicate with a BLE…
Sam Chu
  • 33
  • 1
  • 1
  • 4
3
votes
1 answer

BLUETOOTH - Linux: Changing advertisement of appearance with bluetoothctl fails

I like to use a RaspberryPi to act as HeartRate Sensor and transmit these data via BLTH to other Health/Sport-Apps. Finally all is working fine with python and bluez I'm able to create a BLTH GATT Server and advertise HR-Data via Service…
KingPo
  • 93
  • 2
  • 6
3
votes
1 answer

Where to find BLE GATT specification xml in 2020?

When to build BLE related app, it seems that it's essential to have detail information from GATT XML specifications. When I look for the XML files, I always end up going to here, but there is no XML I can find on the page. Then I later found this…
kukrt
  • 2,117
  • 3
  • 21
  • 32
3
votes
0 answers

PunchThrough LightBlue how do you make a virtual device send a notification?

I'm developing an Android app that is a BLE central. I don't yet have access to the peripheral device. This would be a typical scenario for a virtual device simulator like LightBlue. I can scan and connect client-peri and I can enable notifications…
3
votes
2 answers

Bluez crashes after pairing an with my BLE Remote

I have a Bluetooth remote that I have used before on another system and now running the 4.52 BLUEZ I get an error in bluetoothctl as soon as I paired with the remote. Connecting to the bluetooth ctl pi@marcophone:~$ sudo bluetoothctl Agent…
Besi
  • 22,579
  • 24
  • 131
  • 223
3
votes
1 answer

Start GATT Server on Android phone. Which minSdk is required?

I am going to start GATT server on my mobile phone for sharing some data to nearby devices. From official documentation API for working with LE Bluetooth was introduced in Android 4.3(18 API level). I found some samples witch show how to run server.…
Ilya Demidov
  • 3,275
  • 2
  • 26
  • 38
3
votes
0 answers

onClientConnectionState called multiple times on successful connection

I'm connecting to BLE device and got two identical onClientConnectionState() calls with identical status. Is this supposed to call multiple times or i doing something wrong? Here the log: 05-06 22:48:31.778 I/BluetoothDevice(17325): createBond() for…
denny
  • 320
  • 3
  • 10
3
votes
1 answer

bluetooth (bluepy) disconnects during GATT notifications

I'm just new to BLE with GATT services programming. Currently using an OH1 sensor https://developer.polar.com/wiki/H6,_H7,_H10_and_OH1_Heart_rate_sensors dev env = raspbian stretch (v4.14), bluepy (python 3.5.3) I have managed to get the…
codem
  • 283
  • 1
  • 2
  • 9
3
votes
1 answer

How to know if BLE indicate was acknowledged in Android

We are working on a Bluetooth Low Energy communication between two Android apps. One is the peripheral/server one the central/client. The server will send an indicate to the clients if the data has changed. However, we didn't find a way to make sure…
3
votes
1 answer

Reading log data records from a BLE device

I am implementing a BLE device which stores some log data based on sensor data and a iOS app which acts a Central to access the data. I know how to read GATT characteristics data, but I wonder how to read a bunch of from the device. Is there…
akw
  • 2,090
  • 1
  • 15
  • 21