Questions tagged [bluetooth-gatt]

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.

459 questions
2
votes
1 answer

Do Galaxy Buds+ use a dual BT Stack?

I'm getting the dreaded 133 error when using BluetoothDevice.connectGatt and understand that if your Bluetooth device uses a dual BT Stack that this can be an issue so my question is: Do Galaxy Buds+ use a dual BT Stack?
2
votes
1 answer

Is link layer in the Bluetooth associated to the hardware?

Is it correct to tell that every layer in the controller is related to the hardware (HW) and the layers included in the HOST are in software (SW)? I mean in the Bluetooth classic LM, baseband and Radio layers are HW and SDP, RFCOMM, L2CAP are the…
2
votes
2 answers

Light Weight Bluetooth LE library in C

I have been looking around for a simple Bluetooth LE library in C that allows me to scan for BLE devices, connect and receive periodic notifications from a given service UUID from the BLE device. Something that directly works with Bluetooth sockets…
2
votes
1 answer

writing to GATT descriptor produces write not permitted error

I'm using java TinyB to connect to a TimeFlip device with Bluetooth LE. When trying to write to the Descriptor of the Facet Characteristic to recieve notifications I always get the error: Exception in thread "main" tinyb.BluetoothException:…
2
votes
1 answer

Standard and custom GATT characteristic

I'm writing apps for android phone and android watch (wearOS). The apps will communicate with each other via bluetooth. Basically the app on android phone will bond with the WearOS device and then communicate with the app on WearOS to start…
Nguyen Minh Binh
  • 23,891
  • 30
  • 115
  • 165
2
votes
1 answer

How to modify the BLE gatt server profile

I need to create a ble custom profile for my peripheral server in Linux and C code. I tried to modify existing time profile under /bluez_source_code/profiles/time folder. I have modified UUID number (added custom UUID number in the uuid16_table…
2
votes
1 answer

Android app keeps going back to main activity UI when I try to display something using an adapter on the current activity

I am very new to android development and am building an app that can read characteristics from a BLE device. I am able to connect to a device and read its characteristics. However, I have a problem is displaying the characteristics using an adapter.…
2
votes
1 answer

BLE Clarifying the Read and Indicate Operations

I'm writing code for Pycom's Lopy4 board and have created a BLE service for environmental sensing which currently has one characteristic, temperature. I'm taking the temperature as a float and attempting to update the characteristic value every two…
2
votes
1 answer

How does iOS Service Advertising Work in the Background?

How does Apple's proprietary technique for background GATT service advertising on iOS work? According to Apple's documentation, when an iOS app using CoreBluetooth to implement a BLE peripheral is in the background, service UUIDs are no longer…
davidgyoung
  • 63,876
  • 14
  • 121
  • 204
2
votes
1 answer

pygatt: Unable to execute device.subscribe()

I am trying to subscribe to a GATT characteristic. I have set the "Indicate", "Notify" and "Read" attributes for the GATT characteristic in my BLE device. I am able to connect to my BLE device and read/write to other characteristics. However, i am…
Sandrocottus
  • 521
  • 3
  • 8
  • 31
2
votes
1 answer

Cannot read/write to characteristics in BLE

I have a BLED112 dongle and a BLE device which contains a GATT profile with Services-Characteristics. I have installed pygatt to communicate with my BLE device. Following is my python code to connect to my BLE device and read/write to a…
Sandrocottus
  • 521
  • 3
  • 8
  • 31
2
votes
1 answer

Bluetooth GATT service uuid overview

I'm thinking about to implement a couple of GATT services for a custom app, but I'm stuck right now in the research. I know that the service uuids are not random, some parts are well defined, others are still confusing me. E.g. The Device…
rekire
  • 47,260
  • 30
  • 167
  • 264
2
votes
1 answer

Zwift : Add resistance with FTMS control point

I try to build a smart home trainer. at this moment, it is connected with Zwift with the Fitness Machine Service. I can send to zwift Power and Cadence and i can play. Now i try to add the control point (one of the characteristics included in…
HTDIYMan
  • 21
  • 2
2
votes
1 answer

Why the Advertising Pakets of BLE has fix pattern Access address (0x8E89BED6)

In reference to this Query, the purpose of Access address in Data Packet is clear. But can anyone please explain why in Bluetooth Low Energy specification the Advertising Packet has the Access address fixed to 0x8E89BED6? In general discussion it is…
2
votes
1 answer

Android BLE write Characteristic locks up onCharacteristicWrite/onCharacteristicChange

I have a message thread for sending a buffer of messages. Each message is queued to be sent once onCharacteristicWrite is successful before the characteristic writes the next message. The characeristic is also set to WRITE_TYPE_NO_RESPONSE, so the…
karamazovbros
  • 950
  • 1
  • 11
  • 40