Questions tagged [characteristics]
113 questions
0
votes
1 answer
Write value as (command) to a BLE characteristic via Javascript
I am working on a Project, and I am new to BLE, I have got problem with writing value to BLE characteristic (run command on BLE device).
The characteristic take these values:
0x04 0x01 – Lock mode is on
0x04 0x02 – Lock mode is off
My method to…

baran
- 1
- 4
0
votes
0 answers
How to figure out for which original call onCharacteristicChanged was triggered?
I have device that accepts commands in write characteristic and returns back data in notification characteristic. Problem is when I call 2 different commands (call 2 writes) and notifications returned back to me all mixed up I need to know for which…

Andrei V
- 1,468
- 3
- 17
- 32
0
votes
1 answer
Writing Characteristics on Bluetooth Device
For those who have already worked on Bluetooth Low Energy on Flutter:
I am developing a mobile application. Simply, every time the user clicks on the "Read Data" button, I want to discoverServices and receive data:
onTap: () async {
…

overseas
- 27
- 8
0
votes
0 answers
How to enable notifications on exactly 2 characteristics in Android?
I want to be able to receive notifications on exactly 2 characteristics. Said characteristics are RX and TX from the perspective of the BLE device I am communicating with. I have succeeded in doing it for the RX, but apparently I need to do the same…

Mohamed El Kayal
- 179
- 12
0
votes
1 answer
SAP Char.Value Description not in CAWNT
I'm running into a bit of a problem when trying to lookup/create a report showing characteristic value descriptions.
My issue is that some of our characteristics are created with Datatype = NUM (via tcode CT04) and I can easily find these in table…

tdybdahl
- 1
- 2
0
votes
1 answer
Conversion of heart rate measurements and characteristics notifications
I'm working on a Bluetooth Low Energy medical device and I used the bleak library to connect to the device and read or set data on it.
So far I've been able to connect to it and read data from characteristics with the notify "function"/possibility…

Marthkencombo
- 1
- 1
0
votes
0 answers
Characteristic not shown - does iOS have specifications for BLE peripheral characteristics
I have a custom Bluetooth peripheral with a service and one characteristic, which takes a value. On Android it works well, but with an iPhone it is just possible to connect, but the characteristic is not shown in any of the Bluetooth tool apps i…

Zorbas
- 1
- 1
0
votes
3 answers
Recover a predefined variable as input
I'm new to programming and especially to python and I have a compulsory project to do.
I explain: I have a list of objects (they are people), each one with characteristics, each characteristic is based on a scale from 1 to 5 (not important for…

Ziomix
- 31
- 4
0
votes
1 answer
Long characteristic on web bluetooth
BLE allows transmitting from 2 up to 256 bytes as the payload in a single burst. But, the long characteristics on android/ios can be read in chunks. What happens on web-bluetooth?
Can web bluetooth read long characteristics?
Does it split in chunks…

Idealist
- 3
- 3
0
votes
1 answer
Android BLE Read characteristic, When I read data(large) I get the last part only. Not the complete data. What can I do to get the full data
I am sending data to BLE Device as 20 bytes chunks.
I am receiving back large response.
But onCharacteristicRead call back, I get only the last piece of the data.
byte[] messageBytes = characteristic.getValue();
if (messageBytes != null &&…

JnJ11
- 35
- 5
0
votes
1 answer
Unity XR InputDevice Characteristics always None for Oculus Quest
I am using the latest XR Interactive Toolkit in 2019.3.
I have an XR Rig in my game with the left and right hand XR Controllers.
I have a script of my own that I am looking at the XR controller InputDevice characteristics member to try to determine…

user856232
- 1,073
- 2
- 14
- 40
0
votes
0 answers
Bluetooth Low energy gatt data sending too much information
I have an issue with my code being that I pass 51 bytes to a ble characteristic and, then call a function to send this to my phone via a pr established GATT connection however, it sends far more data then 51 bytes.
I have a function called…

Thomas Morris
- 794
- 5
- 26
0
votes
1 answer
How to Identify values from characteristic data for Walk Run Stride bluetooth sensor
I am developing a workout app with sensor connectivity and able to read and get data for Heart rate sensor but for stride sensors (walk/Run) facing problem to map the values given by sensor characteristic.
How will I get Speed, cadence, steps per…

Jagdev Sendhav
- 2,875
- 4
- 15
- 24
0
votes
0 answers
Convert UInt8 array of bytes to explicit values from characteristic.value
I try to convert my UInt8 array to an explicit value but I try in several ways but I can't get values that I can understand.
How have i to do to get explicit values?.
My array of UInt8 :
[216, 61, 233, 124, 240, 144, 66, 244]
My code :
guard let…

tibdev78
- 109
- 1
- 2
- 8
0
votes
1 answer
Write Characteristic - Nodejs, Bleno, Bluetooth
The bluetooth device is receiving the write request just fine, and I can see confirmation of that in the console, however the data variable being passed is resulting in the same random output no matter what I pass in the data variable: I'm guessing…

John K.
- 23
- 5