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.
bluetooth-gatt
509
questions
0
votes
1
answer
676
views
Raspberry Pi Bluetooth: Enable legacy pairing / connection without PIN input
For a few days I'm desperately trying to configure Bluetooth legacy pairing on my Raspberry Pi. Unfortunately I hadn't had any success until today. I tried countless tutorials/posts on several forums ...
0
votes
0
answers
21
views
Sniffing Xfinity Voice Remote Connection
I am making a universal remote for my home theatre setup using an ESP32-C6 and the first step is controlling all the relevant connections.
I am attempting to sniff the connection between the Xfinity ...
1
vote
0
answers
571
views
How to make an async fn call from C FFI in Rust within tauri’s tokio async_runtime
I am creating a Tauri app that uses the btleplug crate to make bluetooth calls. I also need to use a library for the sensors called MetaWear. I have been able to generate bindings for the MetaWear ...
1
vote
0
answers
142
views
Bluetooth-LE severe failure after the latest OS update in Galaxy Watch 5 models
I’m a developer of an app for Wear OS which utilizes Bluetooth-LE. Since the latest Wear OS update (Wear OS 4.0, One UI 5.0), it started failing for numerous users of mine with Samsung Galaxy Watch 5 ...
1
vote
0
answers
112
views
How the execute flag inside onExecuteWrite callback method is set to true in BluetoothGattServer Class
I'm trying to send an image data from my client BLE app to my peripheral BLE app. I'm trying to do this by splitting the image data and send it over by multiple gatt.writeCharacteristic() calls from ...
1
vote
0
answers
247
views
C#, BLE, BT5.0 - GetGattServicesAsync hangs forever. Why and is this a known issue?
I had to implement a bluetooth low energy interface in an older Software for the communication with Bluetooth devices. It's a WPF application targeting .NET Framework 4.8. To access the Windows....
0
votes
1
answer
41
views
Android Gatt: how to know to which request a response belongs?
Short question:
When BluetoothLECallbackInterface.onCharacteristicRead() is triggered, how do I know which request this is an answer to?
A bit more detailed:
when calling BluetoothGatt....
0
votes
1
answer
296
views
flutter_reactive_ble : how can I obtain serviceId, characteristicId, and deviceId
I obtained devices through scanForDevices in flutter_react_ble, and the result looks like this:
DiscoveredDevice(id: F0EC76B3-7C7D-2460-5AFA-8F1B586E1849, name: AD_401_RAC_056905_WW_db5a, serviceData: ...
0
votes
1
answer
384
views
I am working on a Flutter app that reads data from a BLE device
I am working on a Flutter app that reads data from a BLE device, and the device sends data when I write a command to it. If I want to receive the latest data, should I keep sending the command ...
0
votes
1
answer
143
views
bluetoothctl creating gatt server - cant write more than one byte
I've added a service and charecteristic with bluetoothctl (bluez v5.64). I have some issues:
I can only write one byte. attempting write "0x11 0x22" results in
"Unable to write local ...
0
votes
0
answers
91
views
Is there any way to access a user's device via the JS Bluetooth API when the device is already connected to their computer?
I have some JS/React code that allows a user to give my AI access to a micro:bit robot via Bluetooth, when the user clicks a Connect button:
const connectClicked = async () => {
try {
// ...
0
votes
1
answer
359
views
Linux BlueZ BLE GATT Service encryption + indications
I am setting up a BLE GATT Service using Bluez 5.65 in Linux. I have my own process that I compile together with BlueZ sources. In the makefiles I have added it as another tool. I base my new tool on ...
0
votes
1
answer
464
views
Bluetooth LE plugin for Xamarin & MAUI Notify Event throwing an error
I am trying to enable the notify event for a Telink Bluetooth Mesh Device. I am using Visual Studio 2022 (Version 17.7.2) and created a MAUI App with the Plugin.BLE (Version 3.0.0-beta.5). I can ...
0
votes
0
answers
259
views
Android Bluetooth Stack randomly disconnects from my BLE device
My java code runs on Quest 2 (Android 12.0) and subscribes to the gatt cadence characteristic of a cadence sensor. The code runs pretty well except that Bluetooth stack randomly disconnects from the ...
0
votes
1
answer
162
views
Not Receiving Temperature Data from Bluetooth Thermometer in Android App
I'm working on an Android app that interacts with a Bluetooth Low Energy (BLE) thermometer device. My goal is to read temperature data from the thermometer and display it in my app. However, despite ...