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

How to manage to multiple connections

What is the right way to connect to multiple peripherals and reconnect in when they are disconnecting? I am aiming connecting to multiple PolartH7 using GATT profile and starting with this sample:…
aAWnSD
  • 124
  • 10
0
votes
1 answer

iOS CoreBluetooth virtual peripheral multiple notifications

I am working on an iOS application where I need to send more than 20 bytes of data to a Bluetooth LE central. I have set up a peripheral manager and I send each "packet" of 20 bytes one after the other. I only send the next packet once…
0
votes
1 answer

react native bluetooth app current time service

I need to develop a ReactNative app that connects a Bluetooth BLE device. I am using react-native-ble-plx library. One of the key things to do is syncing the current time between ReactNative app and the Bluetooth device. I realized that the app…
Steve
  • 11
  • 2
0
votes
1 answer

Unable to Record Audio with Bluetooth LE device

I was tinkering around creating a Voice Recorder in android. I was able to record audio and play it back. I am even able to record audio when a standard bluetooth headset(Bluetooth 2.X) is connected. However, when i connect a BLE headset(Bluetooth…
0
votes
2 answers

How to get actual values from BLE device in android?

I am not able to get the values(Systolic, Diastolic and Pulse from a Blood Pressure Measurement machine) after getting all the characteristics of Blood Pressure Service (uuid: 00002a35-0000-1000-8000-00805f9b34fb) and also I am not getting the point…
MojoJojo
  • 783
  • 5
  • 15
0
votes
1 answer

Read Data Structure value binded to Bluetooth LE Descriptor in Android

I am writing an android app which reads the data sent from an arm processor over BLE (with characteristics and descriptors). in the hardware part I am using the function below : tBleStatus aci_gatt_add_char_desc ( uint16_t …
0
votes
1 answer

Can I send data to ble 4.2 or ble 5 module after pairing same as bluetooth classic and without using GATT connection

My endpoint device is a BLE 4.0 or BLE 4.2 or BLE 5 module Android recommends to use the GATT connection to send data to BLE devices as according to this link: https://developer.android.com/guide/topics/connectivity/bluetooth-le My Question here is…
0
votes
1 answer

BLE on C# Web App in Visual Studio

i´m looking forward to build a complete online Beacon Manager. It should connect tp nearby BLE devices and register them for more editing. I tried Bridge an Retype but it doesn´t support .Net Core and just destroy the project. ble.net is hard to use…
0
votes
0 answers

Identifying Beacons (iBeacon and Eddy Stone) uniquely on all iOS devices

I am working with scanning BLE devices (iBeacons and Eddystones) in iOS App, I need to uniquely identify scanned BLE devices, Since iOS device does not provide Mac address but it provides UUID which is device specific i.e. it uniquely identifies…
0
votes
1 answer

BLE: How to send Write Request instead of Write Command?

I'm trying to send packets to bluetooth low energy (BLE) device from smartphone (Android App) I know how to send Write Command: something like this: public void onServicesDiscovered(final BluetoothGatt gatt, int status) { …
0
votes
1 answer

in android studio, while debugging the app BluetoothLeGatt i got the following expectation:

In Android Studio, while debugging the app BluetoothLeGatt, I got the following exception: Caught a RuntimeException from the binder stub implementation. java.lang.SecurityException: Need ACCESS_COARSE_LOCATION or…
0
votes
1 answer

BLE gatttool reading serial data from bluno?

I am trying to send data over BLE from Bluno to a Raspberry Pi (Raspian), bluez 5.50. Whilst the connection seems to be fine. I am struck in a point where am unable to retrieve serial data from notification handle. Below is what I…
Maddy
  • 125
  • 2
  • 8
0
votes
1 answer

BLE read RSSI values unreliable

I am trying to properly read the RSSI of a BLE device I am connected to in order to send it to an upstream server. I found that the RSSI returned by BluetoothGatt.readRemoteRssi() has a lot of "jumps". I started doing a running average (over the…
elcuco
  • 8,948
  • 9
  • 47
  • 69
0
votes
1 answer

Android BLE peripheral service received after disconnect

I am working on an android application to hook up raspberry pi's to a local wifi network sending them ssid and ssid password information over bluetooth from my android phone. The rpi's are running node servers using bleno. The set up of my…
0
votes
0 answers

Bluetooth BLE connect to Gatt server not working always

I have an Android application that connects to a paired device. The problem is that if I don't have this device enabled before the application starts, it never works. The only case that works is when the device is on and then I start the…
Lechucico
  • 1,914
  • 7
  • 27
  • 60