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

Android - GATT Server advertise continuosly

I developed two applications that implements both GATT roles: server and client. In my case, the GATT server is also the GAP peripheral and the GATT client is the GAP central. I can connect/disconnect the client to/from the server, but I found some…
matt92CH
  • 31
  • 3
3
votes
1 answer

Issue with reading GATT Attribute on Android Bluetooth Low Energy

I am trying to read a value from the GATT server and show it on my screen. I've gone through various tutorials and tried to find various means to solve this but I'm stumbling somewhere! Some help will be appreciated. Layout XML :
3
votes
1 answer

Having trouble with custom UUID in Android BLE

I have a problem with using my own generated UUID(not using 16 bit UUID reserved by Bluetooth SIG) to communicate in Android BLE. Target device is two - one is as a peripheral(Samsung galaxy note 4/android 5.1.1) and another one is as a…
3
votes
1 answer

How to stay connected to a Bluetooth LE bathroom scales in Linux

I just got a Bluetooth LE/Smart bathroom scales (Model Sanitas SBF 70). I can read data from it using the following command: gatttool --device=(btaddr) -I connect Then when I stand on it, I get multiple notification messages like…
jdesbonnet
  • 251
  • 3
  • 7
3
votes
2 answers

How to identify a Eddystone via scanRecord

I'm working on a Android App which is scanning for BLE devices. Everytime I found a device, I receive: byte[] scanRecord, BluetoothDevice device, int rssi from BluetoothAdapter.startLeScan() I then convert the byte array to a ScanRecord…
Steve_Rhoades
  • 55
  • 1
  • 5
3
votes
0 answers

Why is my BLE Notification callback never called on Windows 8

I have a Bluetooth LE device with custom characteristics that send notifications to an android device just fine. On Windows 8.1 however the notifications are not received. I can open a connection to the device using CreateFile(), enable…
Sisco
  • 71
  • 6
3
votes
0 answers

Android notification when BLE device discovered

We are working on an Android app that makes GATT connection to BLE devices and writes some characteristics. Our current approach is to scan for devices (startLEScan on Android 4.3 and 4.4. devices and startScan on Android 5.0+) every few seconds and…
user2107373
  • 427
  • 3
  • 16
3
votes
1 answer

Android BluetoothGatt setCharacteristicNotification only setting first characteristic

I have been having trouble using two different characteristics at the same time through the same Bluetooth LE device. It only registers the first characteristic and not the second one. If I switch them around, it still registers the first in line,…
btelman96
  • 413
  • 4
  • 11
3
votes
0 answers

reading data from bluetooth blood pressure monitor U80IH

I got a Bluetooth blood pressure monitor U80IH and trying to understand how I can read data from this device using noble npm module using GATT interface. I run scan and info commands using cylon-ble and got this results.... Seller/manufacturer…
xmlking
  • 626
  • 8
  • 16
3
votes
1 answer

How can I create an Android BLE peripheral?

I try to make two bluetooth BLE apps: one central role one peripherall But I have found some problem and my apps crashed. This is the step which I followed: 1- client set the descriptor BluetoothGattDescriptor descriptor =…
aeroxr1
  • 1,014
  • 1
  • 14
  • 36
3
votes
2 answers

GattCharacteristic.ValueChanged stops getting called

I am attempting communication with an arduino using an Adafruit Bluefruit LE (a bluetooth 4 module), everything is set up and paired and all that, but I'm having trouble with the ValueChanged event on my GattCharacteristic, it stops firing after…
Patrick
  • 697
  • 2
  • 9
  • 19
3
votes
2 answers

Zengge BLE bulb protocol

I've just got a smart led bulb from Zengge and want to control it from my Linux machine with Bluetooth 4.0. I've installed latest bluez 5.x package, so I have a gatttool available. I am able to connect to my bulb and list it's services. But I have…
madhead
  • 31,729
  • 16
  • 153
  • 201
3
votes
1 answer

Gatttool: Limited to 5 connections?

I connect to five devices by spawning gatttools with pexpect in python*. When I try to connect to a sixth device (using the same CSR 4.0 dongle for all connections) manually I encounter: sudo gatttool -b DC:05:4F:BC:F6:4A -It…
orangenarwhals
  • 365
  • 1
  • 5
  • 18
3
votes
1 answer

Bluetooth Low Energy connection parameters update - device or windows causing HRESULT: 0x80070005 (E_ACCESSDENIED))?

I'm trying to write to the GAP service (0x180) characteristics and 0x2A04 Whenever I try writing to 0x2A04 (connection parameters) or 0x0200 (device name), var devices = await…
friartuck
  • 2,954
  • 4
  • 33
  • 67
3
votes
1 answer

Attribute requires authentication before read/write

I am using a Linux computer with bluez version 4.101. I am communicating with a BLE device in slave mode. I am trying to read data from the BLE device. But when I do that the read fails with the following error: "Attribute requires authentication…
StRiDeR
  • 170
  • 2
  • 10