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

Gatt server service list is empty

I am new to BLE and I am trying to communicate from my android device to my pc running linux using BLE. I have added a service to the gatt server in my android device and I am advertising it. I am getting the server and I am able to access the…
1
vote
0 answers

Read temperature from nRF51 SENSOR PRO via bluetooth

I am trying to read temperature from bluetooth "nRF51 sensor pro". It is pretty different from "nrf51 sensor" I used till now. It has different temperature chip - Bosch BMP280 so also UUID's and decoding of temperature is different this is the…
maxxxo
  • 672
  • 3
  • 10
  • 28
1
vote
1 answer

Write descriptor failed - HM-10 BLE

I have problem with HM-10 BLE module with V705 firmware. When I try to connect to the module with Bluetooth Serial Monitor app(Xiaomi Redmi 5 Plus, MIUI 11.0.2 Global, Android 8.1), I get write descriptor failed error. UUID is 0xFFE0(default). Same…
Pararera
  • 363
  • 3
  • 15
1
vote
0 answers

Are bluetooth LE connections authenticated on Android?

I am having an issue where I cannot communicate with Bluetooth LE devices if my Android 8 phone, with common criteria mode enabled. When common criteria mode is disabled, everything works as expected. However, when I use my Android 6 phone with…
1
vote
1 answer

How to read characteristics data

I am using BLE device with respect to Xamarin.Forms. Can you please help to resolve the below issue? I am using this Package Steps to reproduce After scanning I have some set of devices . I am selecting the device. After selecting, i am connecting…
rizwika
  • 115
  • 1
  • 8
1
vote
0 answers

(Re)connecting after Disconnecting on Peripheral Side - UWP

Client (Central): PC Server (Peripheral): Mobile Connect - Disconnect - Reconnect - Disconnect - Reconnect - .. works like a charm when I disconnect on the client side. (i.e. I press disconnect btn on UWP app) However, if I DISCONNECT ON THE SERVER…
1
vote
2 answers

Bluetooth LE Characteristic Write Response

I have an embedded device running BT5 with GATT server setup. On the server I have setup a service with various characteristics to allow a client (PC or Mobile Device) to adjust various parameters of the device by writing to the characteristics. I…
AmishArm
  • 11
  • 1
  • 2
1
vote
0 answers

C# GattCharacteristic.WriteValueAsync: TX size

Sending data over BLE to my device using GattCharacteristic.WriteValueAsync I cannot transmit more than 24 bytes at once even if my UWP windows app negociated a 244 bytes MTU with my device during connection. Writing 244 bytes into my device's FIFO…
rbo-djo
  • 11
  • 2
1
vote
0 answers

Web Bluetooth API Error: No Services matching UUID

I'm playing with the Web Bluetooth API and I'm trying to get the current battery level of my device (Xiaomi MyBand, BLE device) from the browser. I'm a little bit newbie with the bluetooth web api, keep in mind maybe I'm missing something basic. My…
Baumannzone
  • 760
  • 2
  • 19
  • 38
1
vote
0 answers

Covert BLE Service Assigned Number From Hex To UUID Format

I'm trying scan for BLE devices with specific Services UUID. I can get the GATT Services values from GATT Services in hex format. For example 0x1822 is the assigned number for Pulse Oximeter Service. Now I need to convert the hex value to UUID…
Ibrahim Disouki
  • 2,642
  • 4
  • 21
  • 52
1
vote
1 answer

Writing characteristic property check is always false Android BluetoothGatt class

I want to create an android application in order to connect and retrieve data from an ESP32 board as well as the ability to send values to the board using Bluetooth Low Energy communication. I have an ESP32 board with BLE server inside.I've…
1
vote
1 answer

How to use BLE GATT to show dynamic sets of data

My goal is this: I have a bunch of sensors out in a field connected in a sort of P2P network. On one side of the field I have a device that provides a BLE server to bridge data between a controller (phone or laptop) and all the devices out in the…
grandpa_sam
  • 119
  • 6
1
vote
1 answer

BluetoothGatt: onClientRegistered() - status=133 // onConnectionStateChange status: 257

After updating Cordova and the Android and iOS platforms the app does not connect anymore and I cannot figure out why? The Logcat in Android studio keeps looping the same error about the BluetoothGatt. I am noobish so I am not really sure how to…
Curtis M
  • 905
  • 1
  • 8
  • 14
1
vote
0 answers

Discovery procedure of Bluetooth GATT services

Following the model of permissions of GATT characteristics (stated here), I'm wondering if it is possible for a GATT server to hide one or several of its services to an unauthenticated or unauthorized GATT client ? If it is possible, do you have…
sc4re
  • 171
  • 1
  • 10
1
vote
0 answers

BLE Attribute requires authentication although I have paired

(Updated) I am trying to communicate with a BLE device using command-line or program. I have paired with this device, using bluetoothctl v5.50: [bluetooth]# paired-devices Device XX:XX:XX:XX:XX:XX Mydevice But when I try to read its characteristics…
user1381
  • 506
  • 1
  • 5
  • 19