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

Does a schema for defining Bluetooth Low-Energy GATT services exist?

The Bluetooth SIG website hosts several descriptions of standard services that Bluetooth Low-Energy devices could implement. It provides this description in a human readable format, but also implies that there is a machine-readable version of these…
Rob Gilton
  • 401
  • 4
  • 16
0
votes
1 answer

onCharacteristicChanged is not called in Android BLE GATT servcies

I am trying to receive the data from BLE device in my app. i could able to connect the BLE device successfully with my app and i am able to find the services provided by the BLE devices. I can able to write data in characteristics and able to…
0
votes
0 answers

BLE , Subscribe to 2 Characterisitics notification didn't work. work only for one

i succeed to write a code for my android app which aims to read a characteristic value from my BLE device and then active the notification related to this characteristic in order top display the updated value in my app. the app work well. but when…
0
votes
0 answers

Using a generic smartwatch Bluetooth BLE

First of all, sorry for my bad english. For the entire projet, I am trying to connect a generic smartwatch (this one) to an Arduino. The purpose is to gather information (heart rate for example). I don't know how the device communicate with the…
saraza
  • 41
  • 6
0
votes
1 answer

How to add rfcomm and genericAttributeProfile device capabilities to Package.appxmanifest in Windows 8.1.

I need to support multiple devices including both serial and BLE. When i add the following code to Package.appxmanifest file, i get an error Unable to activate Windows Store app 'blah.blah_blah!App'. The activation request failed with error…
0
votes
1 answer

Android Central with GattServer

I'm trying to program Bluetooth low energy - AlertNotificationService (ANS). It is a bit weird service because typically services run on GAP peripheral. But ANS run on GAP central. So typical way of working shall be for example this: Watch - GAP…
Vit Bernatik
  • 3,566
  • 2
  • 34
  • 40
0
votes
1 answer

How to catch client request on bluetooth server side "read characteristic value"?

Bluetooth module on client side allows to receive indications and notifications when "characteristic value" is changed. It requires to make configuration changes using UUID: 2902 (the Client Characteristic Configuration). Is it possible on server…
vdm
  • 185
  • 1
  • 4
  • 16
0
votes
1 answer

OTA firmware update with BLE113

I want to do firmware update over the air with BLE113 module. I am using Nordic's nRF Toolbox to test this and I have configured their GATT services and characteristics in BGScript to do OTA update. But OTA updates are not always successful. I…
user5371335
0
votes
0 answers

GATT writeCharacteristic Limitation - 20 bytes

I am new to developing BLE stuff. So I am using Android 5.1, I need to send more than 20 byte data over BluetoothGATT. So onServicesDiscovered() callback, I did the following: @Override public void onServicesDiscovered(BluetoothGatt gatt, int…
Samra
  • 1,815
  • 4
  • 35
  • 71
0
votes
0 answers

Bluetooth Adapter Crash/Freeze on sending Request

My bluetooth adapter freezes/crashes upon sending the 2nd request (really a command as I don't handle the response) to a LE Bluetooth device (a Parrot Drone). The bluetooth icon in the Ubuntu toolbar changes to having a lock on it so the device is…
Merl
  • 131
  • 1
  • 14
0
votes
1 answer

BLE GATT server characteristics definitions

Starting from official Qt5 examples I wrote a very short piece of code which defines a GATT server characteristic: QLowEnergyCharacteristicData chrCommand; chrCommand.setUuid(UUID_CHR_COMMAND); chrCommand.setValue(QByteArray(2,…
Mark
  • 4,338
  • 7
  • 58
  • 120
0
votes
1 answer

Androi BLE writeCharacteristics method always return false in Android 5.0 and higher

I'm trying to exchange data between android device and custom board with BLE module. And i have some troubles with characteristicsWrite() method on Android devices version 5.0 and higher. In lover versions characteristicsWrite() method return true…
Vlad Morzhanov
  • 1,260
  • 3
  • 14
  • 29
0
votes
1 answer

BluetoothLeAdvertiser - DeadObjectException

I have been working on an Android application to emit Eddystone beacons. I am using an IntentService to start advertising beacons. Intent Service stops after calling the startAdvertising function but I set an alarm which triggers every X minutes. So…
Parth Parekh
  • 123
  • 11
0
votes
1 answer

Translate Gatttool command/request to Bluez c

I am having difficulty figuring out how to convert my bluetooth command (from Gatttool) to Bluez c code. Can you help me translate the following Gatttool command (bluetooth request) to c? [CON][MY_MAC_ADDRESS][LE]> char-write-req 0x00c0 0100 So my…
sazr
  • 24,984
  • 66
  • 194
  • 362
0
votes
1 answer

Connecting to Bluetooth LE

My Bluetooth gatt connectivity was working fine but all of a sudden after i pass the following line: mConnectedGATT = device.connectGatt(com.wicom.bluetoothgatt.MainActivity.this, true, mGattCallback); the OnConnectionStateChanged event is called…
Samra
  • 1,815
  • 4
  • 35
  • 71