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
1
vote
1 answer

How to Connect GATT Server in Xamarin iOS

In Xamarin Forms, I want to know how the GATT server works with BLE for iOS. Anyone can help how to connect GATT server with iOS.
1
vote
1 answer

Bluetooth GATT: Set value and flag field correct

i have some problems by understanding the flag field in Bluetooth characteristics. For example the heart rate measurement characteristic: And its flags: According to my understanding, the first part of the value must contain the flags. For example…
1
vote
0 answers

Swift Centralmanager didUpdateValueFor delay

Hey im currently developing an App which is connecting to a BLE device and reading values from it quite frequently. I want the Value to be updated every 200ms, this is working perfectly fine on an Android Device but for some reason we have a strange…
Rohit Bohara
  • 323
  • 4
  • 14
1
vote
1 answer

BLE - Where can I find what data of individual GATT services can be advertised in "service data" in extended advertising packet?

I read a lot of Bluetooth specification documents (core, GAP, GATT, individual services, individual characteristics), but I can not find what data of individual GATT services (for example: heart rate service, blood pressure service, health…
1
vote
1 answer

Connecting to bluetooth device using service worker in chrome extension

I'm working on chrome extension using manifest v3 that needs to connect to a bluetooth device (Using the Web Bluetooth API), receive messages from the device, and send the messages to multiple diffrent content scripts. I already have a working…
1
vote
1 answer

How to set Client Characteristic Configuration on Android for BLE descriptor?

Hi I am making an Anrdoid BLE App which can communicate with Arduino nano 33 IOT. My notification callback method is never called, so I ask question on stackoverflow few days ago. and someone has answer me that my Arduino BLE descriptor is clearly…
tonykrjhc
  • 129
  • 6
1
vote
1 answer

Why there is so many charateristics discovered when connecting device with BLE using BluetoothGatt?

I made a connections between a Arduino and Android application. I used bluetoothGATT connection successfully, but there is a question why it shows me many characteristic service when I connect to Arduino. I just set Arduino's charateristic as…
tonykrjhc
  • 129
  • 6
1
vote
0 answers

BTLE ServiceData is always null

I am working on a react-native Android app using react-native-ble-plx for BTLE support, and Windows 10 using the .NET API Windows.Devices.Bluetooth.GenericAttributeProfile for the GATT server/peripheral. When I add any "ServiceData" to the…
1
vote
0 answers

Windows C# BLE connection stays open after process is killed

folks. I've got a BLE connection to a device, and I've discovered the services, characteristics, and descriptors, and I've registered for indications. All works fine. BUT While I'm receiving me indication values, one per second... if I KILL the…
John May
  • 11
  • 1
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

Concurrent L2CAP and/or GATT Connections between 2 Devices

I was wondering if anybody here knows whether or not it is possible to have two active connections simultaneously between two devices. Device A would be the central role in one connection and that same device would take on the role of peripheral in…
Aditya
  • 11
  • 1
1
vote
0 answers

How to enable notifications BLE, NINA B1

I wrote an Android Phone app in Android Studio that connects to a UbloX NINA B1 to send and receive data on the SPS Service. I'm having issues with the incoming data from the NINA B1 (Peripheral). I'm not sure if I connected correctly and turned the…
1
vote
2 answers

Netcore 3.0 versus 5.0 difference, NullReferenceException with WriteValueWithResultAsync (BLE Lib)

I'm attempting to segregate functionality from the UWP example for BLE into a separate library for testing. I was successful in setting it up as a standalone test library (using netcore 3.0) However, in migrating to my GUI app (Now using netcore…
ARoss
  • 23
  • 1
  • 7
1
vote
1 answer

In Bluetooth LE GATT, is there any way to detect when Long Term Keys are invalid?

I am using Windows Bluetooth LE GATT library to connect to and pair with a BLE-supporting device, D. Since D has a limited amount of storage space, if more than N Clients bond with it, then it will remove the first Long Term Key pair that was…
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