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

Read and notify BLE android

I wrote a code in which I am able to read a notify value from a hear rate sensor when it changes. But I need also to read the battery level of the device, which is another service from the emulated device, but whenever I try to read the battery…
igord93
  • 31
  • 1
  • 2
3
votes
1 answer

Bluetooth LE Gatt server characteristic value is always NULL on Tizen 3.0.0.2

I am currently doing a project that uses Samsung Galaxy Gear S3 as Bluetooth Low Energy server to build customer services. The problem is after I built the characteristic and descriptor, added them to another and to the service, registered the…
3
votes
1 answer

How to connect multiple BLE devices through android application?

I am working on android and BLE device connectivity. I want to connect multiple BLE devices on same time . How to achieve this ?
3
votes
1 answer

Android BLE Characteristic setValue Unable To Write Correct Data

I am trying to develop an Android App that connects to my NRF51822 based system using BLE. The aim is to write a 3 byte value (RGB) to a my custom characteristic. Android is the GATT client and NRF51 based device is GATT server. I am able to…
Ankit
  • 431
  • 2
  • 5
  • 18
3
votes
1 answer

Changing the connection interval in a Bluez-based GATT-oriented application

We are currently working on an application on linux (a.o. RasPi running latest Debian Jessie) that connects to a BLE device (developed by us). This tool has evolved from cherry-picking files from the bluez (5.46) stack and adding an application…
Henk Kok
  • 191
  • 2
  • 11
3
votes
1 answer

Is it possible to make GattCharacteristic ValueChange event more than one device?

This question is similar with my problem. But in my situation i have more than one device that i want to catch change event for them. Creating instance of GattCharacteristic and GattDeviceService objects in field-level solving the problem but number…
mr.
  • 679
  • 12
  • 30
3
votes
0 answers

Android Ble GATT_ERROR 133 getting often with samsung devices

I am working on BLE Applications, I have tested with different devices like Nexus, Moto, Samsung, LG. I am getting the GATT Error 133 in Samsung Devices alone(Samsung A5 2016). Trying to connect 10 times it gets connected only 2 or 3 times.Please…
3
votes
0 answers

BLE connectivity not consistent on Samsung devices

We are using Android BLE code for connection to a custom hardware and with most mobile devices, this works perfectly. However, when it comes to Samsung with the Android OS Version 6.0.1, attempt for connection is not successful in most cases. The…
Pilsner25
  • 141
  • 1
  • 5
3
votes
0 answers

Android's BluetoothGatt API is automatically discovering services after connecting and breaks afterwards

I'm trying to implement a BLE feature in my Android application and I'm facing some trouble using the BluetoothGatt api. The actual problem is the dreading status 129 (GATT_INTERNAL_ERROR) every time I call mGatt.discoverServices(). After debugging…
3
votes
2 answers

Connect to a Bluetooth LE device using bluez python dbus interface

I would like to connect to a Bluetooth LE device and receive notifications from it in python. I would like to use the Bluez dbus API, but can't find an example I can understand. :-) With gatttool, I can use the following command: gatttool -b…
Andreas5
  • 55
  • 1
  • 4
3
votes
1 answer

Python GATT Server to stream BLE through to Windows

There are BlueZ linux pygatt libraries which work great on OSX and linux to stream the Nordic BLE UART examples through to a machine from a Nordic SoC chip, however I can't find any support for doing the same thing in windows? How would you stream…
jtoul
  • 51
  • 1
  • 8
3
votes
1 answer

Gatt server device name length in Android

I'm making an Gatt server app runs on android device and it works well. But I have a question about device name. I created this application with my "Nexus 5X", and it's default device name is "Nexus 5x" and Gatt client can scan this device…
Kyoung-june Yi
  • 503
  • 1
  • 3
  • 16
3
votes
1 answer

ANCS client: What is the basic procedure to be able to receive notifications?

I'm trying to implement an ANCS client in C on Linux with the BlueZ stack (newest version, 5.39). So far I can set the BLE advertisement data with the service soliciation UUID provided by Apple. My device does show up in the iPhone (iOS 9) settings.…
Lasse Meyer
  • 1,429
  • 18
  • 38
3
votes
1 answer

BLE device fails to send multiple GATT notifications in a row

I'm experimenting with Bluetooth LE with GATT and I have encountered a problem I need your help with. I'm sending Data back and forth between a Client (One Android Application and one iOS Application) and a Server (Currently running Bleno). I have…
Joakim
  • 3,224
  • 3
  • 29
  • 53
3
votes
1 answer

Why is BluetoothLEDevice.GattServices Empty

I am trying to communicate with a peripheral device without pairing it to Windows and I am using BluetoothLEAdvertisementWatcher to scan for devices in range. This is my WatcherOnReceived method: async private void…