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
1
vote
2 answers
How to specify AdressType in bluez device-api?
I'm trying to connect a LE device to my Linux laptop through a python script. Nevertheless, the device address must be specified as "random" for the connection to happen, and the examples that I have (mainly…
1
vote
0 answers
How to get battery percentage or low battery information(to be specific) of the RCU in Android TV
How to get the information about current battery level or low battery level information of the RCU (remote control unit) for my Android TV.
I need to show customised message when the battery level is low i.e., "Time to change the battery....." or…

Rahul Das
- 31
- 1
- 4
1
vote
1 answer
Not Connecting Gatt Server
I trying to connect two android device over the Gatt Protocol.
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCharacteristic;
import…

Ashvin solanki
- 4,802
- 3
- 25
- 65
1
vote
0 answers
Irregular GATT_INVALID_HANDLE error on python GATT server
I am facing a problem with my flutter app accessing a GATT python endpoint. Sometimes, I do receive the following error message reading a characteristic on my remote machine (RPI 3b):
Unhandled Exception: Exception:…

MSdS
- 11
- 1
1
vote
1 answer
What does packet boundary flag do in L2cap in Bluetooth
What is the use of packet boundary flag in L2CAP in Bluetooth.
And it also has concept of automatically Flushable, Non-automatically Flushable and Point-to-point. What does it mean?
Please answer the question, It would be great help.
Thank you in…

Pranjal Bankar
- 11
- 2
1
vote
0 answers
Is there any solutions available to send data from BluetoothGattServer to connected devices simultaneously?
Here is my server code:
private BluetoothGattServer mGattServer;
mBluetoothLeAdvertiser = mBluetoothAdapter.getBluetoothLeAdvertiser();
GattServerCallback gattServerCallback = new GattServerCallback(this,…

Muneer
- 11
- 2
1
vote
0 answers
Notifications are sent to bTool even when they are disabled
I'm using a TI Launchpad, together with the nRF Connect application on my Samsung Galaxy S21. I've got the launchpad connected to my computer and I'm using TI's bTool to send BLE Commands. My phone is the peripheral, while the TI Launchpad is the…

Mario Mateaș
- 638
- 7
- 25
1
vote
0 answers
BLE - Bluetooth Low Energy - C# Problem with the Gatt services
I'm working on a Project (Console-Application .NET Framework 4.7.2 c#) to find nearby BLE devices and it's working well, the device(The device is just an Arduino with a BLE shield.) is discovered and i was able to read values from it. so the problem…

Yamen Hussien
- 11
- 2
1
vote
1 answer
BLE multiple connections
I am trying to create a mobile app using flutter that connects and reads/writes data from multiple Bluetooth low energy devices. I am a beginner in flutter and I have read that using BluetoothGatt you can achieve that but I haven't found any…

Asma Ben Nasr
- 23
- 3
1
vote
1 answer
Bluetooth Low Energy Send Integer Data
I want to send an integer data to the RN4871 microchip with bluetooth low energy, whenever I want to send an integer data, I read the ASCII response. Is there a way to send an Integer data?
For example, I want to send the number 59, I read it as…

orcunor
- 61
- 7
1
vote
1 answer
BGScript GATT characteristic write from C# not working
In my device configuration, gatt.xml, I added a custom GATT characteristic with a custom UUID and enabled the read and write properties. Using windows Bluetooth API after pairing, when I try to read from the GATT characteristic, it's working fine,…

Loop
- 58
- 7
1
vote
1 answer
Data communication in bluetooth
in Bluetooth, I am going to send a big file which divides into 3 packets (p1, p2, p3). Each packet has the max ATT payloads.
My question is that in one connection interval, there would be a Master-slave request and then the slave would send all the…

Talia
- 2,947
- 4
- 17
- 28
1
vote
0 answers
Difference between 'enable role switch' (from Link Policy Settings ) and 'allow role switch' (in ACL connection) ? Bluetooth BR/EDR/LE
What is the difference between 'enable role switch' which is in Link Policy Settings and 'allow role switch' during ACL connection establishment of bluetooth ?

Prashant Bhardwaj
- 53
- 1
- 5
1
vote
1 answer
Web Bluetooth: Why are most devices "Unknown or unsupported"?
I am using Web Bluetooth to connect to a device and read the name and battery level.
I got it working but the device I want to connect with is "Unknown or unsupported" but I have no idea why. On requestDevice() I only get my Iphone and a lot of…

joey
- 227
- 3
- 18
1
vote
0 answers
Gatttool lost notifications
I am working with a BLE device that currently sends sequential values when subscribing to a notify characteristic. Each returned value starts with f083 and ends with 0000 with each hex value in between incrementing.
When I connect to the device with…

CampbellMG
- 2,090
- 1
- 18
- 27