Questions tagged [ieee-11073]

7 questions
7
votes
7 answers

How to convert IEEE-11073 16-bit SFLOAT to simple float in Java?

The title speaks for itself: How to convert IEEE-11073 16-bit SFLOAT to simple float in Java?
SharkyLV
  • 319
  • 2
  • 4
  • 12
3
votes
2 answers

Dart Convert IEEE-11073 32-bit FLOAT to a simple double

I don't have much experience working with these low level bytes and numbers, so I've come here for help. I'm connecting to a bluetooth thermometer in my Flutter app, and I get an array of numbers formatted like this according to their documentation.…
Conner
  • 1,771
  • 11
  • 24
2
votes
0 answers

How to convert IEEE-11073 16-bit SFLOAT to mantissa and exp in Swift?

I want to convert two bytes to into it's mantissa and exponent and try then multiply the mantissa and exponent together to get its Int value.
Mysterious_android
  • 598
  • 2
  • 9
  • 32
2
votes
2 answers

Implementing the ISO/IEEE 11073-10417 standard in android

I currently develop an application (Android) that uses some BLE devices to capture health data. I have a blood glucose meter which uses the ISO/IEEE 11073-10417 norm to communicate with the smartphone via BLE. While other BLE devices work with…
1
vote
1 answer

Getting Association Request Data from hdp device for android

I am trying to read data from an a & d UA-767PBT-C Blood Pressure Monitor which is certified by the continua health alliance. I am following this example Bluetooth Example . I use this example to connect to the device and retrieve data in byte…
mari
  • 11
  • 3
0
votes
0 answers

Dart/Flutter: Converting BLE characteristic value to double

I have been trying to process data received from a BLE A&D Medical Thermometer (UT-201BLE-A) (Service UUID 0x1809) in my Flutter app. The characteristic (UUID 0x2A1C, Temperature Measurement) value I retrieve is this array (-Uint8ListView); [6, 112,…
0
votes
2 answers

Converting two bytes to an IEEE-11073 16-bit SFLOAT in C#

I need to convert a two byte array to SFloat format according to IEEE-11073. How can I do that? I answer my question here. public float ToSFloat(byte[] value) { if (value.Length != 2) throw new ArgumentException(); …
Jovirus
  • 125
  • 1
  • 11