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

bluetoothGatt can't connect with target - Unhandled exception in callback

I tried to connect with my target device using Bluetooth GATT service, I got this message in console and can't connect. I tried to connect by using this, bluetoothGatt = mDiscoverderDevice.connectGatt(this, true, mGattCallback); D/BluetoothGatt:…
Vineesh TP
  • 7,755
  • 12
  • 66
  • 130
0
votes
0 answers

How to know the meaning of BLE(Bluetooth Low Energy) handle

I'm focusing on BLE hijack. I have capture some BLE data. But I don't know the meaning of those data. For example: I know the band writes something into my phone. But I don't know what exactly it is. Just like ‘Handle 0x0017’, what does it mean?
Jin
  • 1
0
votes
2 answers

Send Ctrl+C from .sh script

I am running hcitool application ($hcitool lescan). It detects all the bluetooth connected devices and shows the UUID for each. I press Ctrl+C when I see sensortag UUID B0:B4:48:BD:0F:83 and proceed. I want all this to be done using a .sh script.…
user5517962
0
votes
1 answer

Reading BLE advertisements on Central Role with Qt

I want to read advertisement packets from BLE peripherals as they contain some information that don't necessarily come at scan response packets. Is there a way to get information from advertisement of BLE peripherals with Qt (5.5)? I'm not talking…
G. Ko
  • 403
  • 6
  • 15
0
votes
0 answers

Bluegiga set as a receiver with iPhone Peripheral

I have a BLE dongle named Bluegiga (BLED112). Bluegiga USB dongle By using the BLEGUI I can see my bluetooth GATT profile Service UUID and characteristic UUID. While press the connect button it shows connected but, I am sending data from iPhone It…
Vineesh TP
  • 7,755
  • 12
  • 66
  • 130
0
votes
0 answers

How should publish-subscribe work for Bluetooth Low Energy?

I am developing the application layer for my peripheral and my central device using the bluez library. I would like to set up a publish-subscribe messaging pattern such that the peripheral is the publisher and the central is the subscriber. I have…
Stephen305
  • 1,077
  • 3
  • 22
  • 30
0
votes
1 answer

Why does GattCharacteristic.ReadValueAsync() return 20 zero bytes?

I have the following code I'm using to connect to a TruConnect Bobcat bluetooth module (https://ack.me/FAQs/What_are_the_UUID_s_used_by_TruConnect): public async void Start() { Guid RX_UUID =…
0
votes
0 answers

bluetoothd error: adapter_ops_setup failed

I am trying to create a GATT Service with BLE in Raspberry pi 2 (Kernel Version: Linux raspberrypi 4.1.7-v7+ and Bluez version: 5.11). I have connected leoxsys BLE adapter with the pi. I am able to advertise as iBeacon and the advertising signal is…
0
votes
0 answers

Bluetooth Gatt Low Energy not working properly

I am sending some data to a Nordic device, using Gatt Protocol, if I call the function initialize from inside onCreate, the control comes back to onServiceConnected, but if I call the function initialize from inside the onClick, the control doesnot…
Sreekanth Karumanaghat
  • 3,383
  • 6
  • 44
  • 72
0
votes
1 answer

GATTService interface doesn't appear

My goal is to activate a notification on a Bluetooth Low Energy device to receive data using the DBus Interface so I downloaded the last Bluez version (5.33). I read the README file and I used the --enable-experimental options during the…
AV28
  • 67
  • 1
  • 9
0
votes
1 answer

BLE Device same UUID for multiple services

Reference v4.0 Vol 3 Part G Section 3.1 A device or higher level specification may have multiple service definitions and may have multiple service definitions with the same service UUID. I'm doing some development for the iPhone (Central) that's…
BJacobs
  • 122
  • 1
  • 8
0
votes
1 answer

Low Energy Bluetooth in Android using GATT

I've done a lot of reading about LE Bluetooth and GATT but I'm still struggling to fully understand what GATT is. To make it simple I'd like to express how I'd like my app to work, and simply be told if it's possible or not? The basic premise is it…
Murphybro2
  • 2,207
  • 1
  • 22
  • 36
0
votes
0 answers

Add a discoverable BLE GATT service & characterstics

Working on corebluetooth application i am able to discover the services as 8880 and characteristics as 8881 & 8882.After discovering those i am getting AA command from the peripheral device and in response to that i am sending 42 command back to the…
dev
  • 65
  • 1
  • 1
  • 7
0
votes
1 answer

send command over BLE device

I am trying to connect to BC127 using BLE profile from my android phone. I am able to search BLE device But I am not sure how I can retrieve the services available on remote BLE device.I saw several example but all contains the UUID of service. How…
0
votes
1 answer

How to connect to internet from a Bluetooth-only device?

This might not be a programming question exactly but I'm basically looking for an input on the architecture to use. Consider this, I have 2 devices- Device1 (Bluetooth only) Device2 (Bluetooth + internet access) I want to do a cloud lookup from…