Questions tagged [characteristics]

113 questions
1
vote
1 answer

Bluetooth low energy writeCharacteristic return false in Nexus 5x with Android marshmallow

My app is work fine in Samsung S6 and Nexus 5 and Nexus 7 with Android 5, however, it can't work in Nexus 5x with Android 6. boolean success = mBluetoothGatt.writeCharacteristic(characteristic); My app will send this command many times to set or…
1
vote
1 answer

Polar H7 unresolved service and characteristics (what are they for?)

I am developing an app that uses a polar H7 heart rate monitor. I initially had some trouble with discovering it's services because i would get a large object and the hex-codes didn't mean anything to me. Now i have resolved almost all services and…
x13
  • 2,179
  • 1
  • 11
  • 27
1
vote
6 answers

Charateristics and features of every software framework

I was trying to find an answer for my question today using google and StackOverflow search engines... but no luck :) I was wondering what are the key features of every framework for end user, and how can you characterize every framework from the…
Jarek
  • 5,885
  • 6
  • 41
  • 55
1
vote
2 answers

How the onCharacteristicWrite know the status is success in Android ?

I am developing in BLE for Android , I have a question about onCharacteristicWrite. I know the onCharacteristicWrite will be call and return the status when write value to remote BLE device. When the onCharacteristicWrite return status is 0 after…
Wun
  • 6,211
  • 11
  • 56
  • 101
1
vote
1 answer

android BLE api oncharacteristicchanged not responding to characteristic write

I've been working on BLE read and write on google's nexus 6&9. I want to write a characteristic on remote device and notify the remote device once written. The following code writes characteristics if ((charaProp &…
Edward
  • 161
  • 1
  • 1
  • 12
1
vote
0 answers

Android BLE sending message using synchronized method

I need to send message to custom device via BLE. I am able to send message below 20 bytes. I used just: public boolean writeCharacteristic(byte[] value){ if (mBluetoothGatt == null) { Log.e(TAG, "lost connection"); …
1
vote
0 answers

Code doesn't write characteristic

Hi I'm trying to do a code sample that shows you the heart rate form a polar h6 heartrate sensor on a htc one m8. And I have some problems whine I write the characteristic.setValue(new byte[]{0x01}); Log.d(TAG, "x ok"); …
1
vote
1 answer

How do I read a Blood Pressure Measurement Characteristic with Android BLE?

I am trying to get data from Blood Pressure Measurement characteristic. How to get data from it, Pulse Rate for example? Thanks anyway.
1
vote
2 answers

Adobe flash: How to determine users CPU characteristics?

Adobe flash: How to determine users CPU characteristics? (its mhz, its current ocupation) I need to know how fast is users computer now, and I have only 150 ms for it. How to do such thing in actionscript?
Rella
  • 65,003
  • 109
  • 363
  • 636
1
vote
3 answers

How to connect ble device without scanning? Android 4.3

I try to develop a simple android app with a ble device. I found many source code from the Intenet. However, both of them were start from scanning a list of available ble device. As I have MAC address of the device,UUID of service and…
1
vote
1 answer

Null pointer exception error sending a characteristic BLE android

I'm a new android developer and I'm trying to send a data using BLE 4.3, based on Gatt android sample project. I use characteristics to put the data that i want to transmit. When I try to transmit, I use the third service in the list of…
1
vote
0 answers

Write a characteristic in BLE android

I'm trying to send a characteristic in a BLE android to another device. Seaching in internet I found some code that help me to do this, but I cant transmit successfully the data. This is my code, based on Gatt android sample project: public class…
Orlando
  • 467
  • 1
  • 7
  • 11
1
vote
2 answers

Android read characteristics issue

i'm using the code from official android developers website and find difficulties in reading charactaristics i use this code for creating the gatt characteristic read call in DeviceControlActivity class at displayGattServices function when iterating…
user502967
  • 327
  • 1
  • 3
  • 13
0
votes
0 answers

Find matching character/equipment stats

let's say there is a hero class with characteristics: attack, health. And there is a helmet that can enhance these characteristics. How to do something when calling the "anequip" function of the property of the helmet, independently find the…
0
votes
1 answer

Correct data for 0x29AD BLE Weight Measurement? Currently seeing no value

Working with Arduino ESP32. I managed to implement Environment temp + humidity using the specified BLE spec service and characteristic UUID's. I got lucky as I could see that the values were presenting wrong and could figure out what inputs were…