InsideBlue-BLE-Tool icon indicating copy to clipboard operation
InsideBlue-BLE-Tool copied to clipboard

Add decoding of characteristics values for known BT SiG Assigned Numbers.

Open shaman1010 opened this issue 1 year ago • 5 comments

Some data is not displayed correctly. (ASCII) Example in the screenshot. temp

shaman1010 avatar Dec 07 '23 19:12 shaman1010

The hex numbers in your screenshot are non-printable characters and hence get displayed as square blocks (placeholder) when switched to ASCII. Only printable characters like letters, numbers, some special symbols get (can be) displayed as text. See readme.md under "Scan Data Panel".

eriklins avatar Dec 08 '23 07:12 eriklins

(HEX) CD00 =(HEX) 00CD = (DEC) 205 = 20.5 °C (HEX) 0308 = (HEX) 0803 = (DEC) 2051 = 20.51 °C (HEX) FC11 = (HEX) 11FC = (DEC) 4608 = 46.08 %

This is a standard format for transmitting numbers from thermometers. Is it possible to specify this somewhere in the settings?

shaman1010 avatar Dec 08 '23 09:12 shaman1010

The ASCII checkbox is just about switching from raw hex numbers to (printable) ascii characters but will not take any specific encoding for service/characteristic assigned numbers into account. There exist gazillions of BT SiG Assigned Numbers for various sensor or other data, but this would be an endless job to implement all these. I could consider adding the most common ones (temperature likely would be one of those) in a future release. Thanks for raising this.

eriklins avatar Dec 08 '23 09:12 eriklins

Thanks.

shaman1010 avatar Dec 08 '23 09:12 shaman1010

We keep this open since not yet implemented.

eriklins avatar Dec 08 '23 10:12 eriklins