Questions tagged [characteristics]

113 questions
2
votes
1 answer

Android BLE read Gatt Characteristic

I am trying to read some Bluetooth Characteristics in my APP. Now i have a Problem with what to do after the characteristic changed from my Gatt Server. At first i've tried to use a thread to retrigger the read for the characteristic again and again…
B. Ben
  • 109
  • 1
  • 9
2
votes
1 answer

BLE: when writing characteristic, getting status as 133 in onCharacteristicWrite

I'm trying to setup BLE client-server comm on android devices. From the server side, I could advertise and see connection updates successfully. On the client side, I could connect to the server , discover its services and characteristics. However,…
grad9
  • 39
  • 11
2
votes
3 answers

How to subscribe to multiple BluetoothLE Characteristics with Android

I am developing an Android app which should subscribe to multiple BLE characteristics. But whatever I do, I receive only the updated values from one characteristic. Here is the code: BluetoothGattCharacteristic characteristicVel =…
retokiefer
  • 99
  • 8
2
votes
1 answer

Bluetooth Bluepy not finding all characteristics

I am using the bluepy library to communicate with a bluetooth device but it is not showing me all the characteristics. When I run the following using gatttool I get: [EE:50:F0:F8:3C:FF][LE]> char-desc 0x0019 0xffff handle: 0x0019, uuid:…
Joseph Roberts
  • 569
  • 3
  • 10
  • 29
2
votes
0 answers

Getting Thread1: EXC_BAD_ACCESS(code = 1, address = 0x1a1090010) in core bluetooth framework while accessing characteristic.UUID.UUIDString?

I am trying to compare local characteristic uuid string with delegates callback characteristic uuid string like below: if([characteristic.UUID.UUIDString isEqualToString:CHAR1_UUID]){ //But I'm getting bad access error here }else…
2
votes
1 answer

Android have to wait when reading another characteristics

I have an app that successfully reads different bluetooth characteristics. It works, but only if I wait a certain time between reading a different characteristic. This time varies between 70 and 200 milliseconds and i find it very annoying. Doesn…
SnelleJelle
  • 933
  • 5
  • 18
  • 35
2
votes
1 answer

Writing characteristics value using Dbus API for bluez 5.31 failed with kernel 4.1

I am unable to write to atrribute value to a characteristics exposed via dbus on the new 4.1 kernel. Before upgrading to kernel 4.1 the same application can write attribute value to the characteristics via dbus without any issue. Following is the…
taserghar
  • 340
  • 3
  • 15
2
votes
1 answer

Bluetooth Low Energy: gattCharacteristic.getDescriptor() returns null

I have a problem with getting characteristic's descriptor, it always returns null. There is a chunck of my code: public static final String CHARACTERISTIC_UPDATE_NOTIFICATION_DESCRIPTOR_UUID = "00000001-0000-1000-8000-00805f9b34fb"; public final…
2
votes
1 answer

Android BLE: writing >20 bytes characteristics missing the last byte array

I have been implementing the module to send the bytes in chunks, 20 bytes each onto the MCU device via BLE. When it comes to writing the bytes more than 60 bytes and so on, the last chunk of the bytes ( usually less than 20 bytes) is often missed.…
Jeff Bootsholz
  • 2,971
  • 15
  • 70
  • 141
2
votes
1 answer

how to raise the fourier transformed probability density function to a fractional power?

By hypothesis my measured probability density functions (PDF) result from n convolutions of an elementary distribution (E). I have two distributions the first (F) of which is supposed to have undergone more convolutions (m_1) than the second (G)…
2
votes
0 answers

Bluetooth LE service returns nothing for known characteristic in C# Windows Store app?

I have a C# Windows Store app that interfaces with a custom Bluetooth Low Energy device. I am able to enumerate the device, connect to it, send a verification key successfully, and get the characteristic for the device's accelerometer. However,…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
1
vote
0 answers

Unexpected Behavior When Modifying PE Section Characteristics on Windows 11

I am currently working on a technical book and exploring the characteristics of sections within a Windows Portable Executable (PE) file. Specifically, I have been experimenting with a Python script to modify the characteristics of sections like the…
1
vote
1 answer

Bluetooth GATT: Set value and flag field correct

i have some problems by understanding the flag field in Bluetooth characteristics. For example the heart rate measurement characteristic: And its flags: According to my understanding, the first part of the value must contain the flags. For example…
1
vote
0 answers

flutter_blue some characteristic properties are not working correctly

i am using any app that include flutter_blue package . I want to read , write and notify to some characteristics. I'm having trouble writing to a characteristic. When i use another package or another app , i can write to this characteristic. But…
1
vote
1 answer

What are the prime characteristics of Behavior Driven Development?

These days I am hearing a word frequently - BDD or Behavior Driven Development. So I want to know what are the prime characteristics of BDD and how it differs from traditional programming? Thanks
Jatin Dhoot
  • 4,294
  • 9
  • 39
  • 59