Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shaman1010 opened this issue Dec 7, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@shaman1010
Copy link

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

@eriklins
Copy link
Owner

eriklins commented Dec 8, 2023

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".

@shaman1010
Copy link
Author

(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?

@eriklins
Copy link
Owner

eriklins commented Dec 8, 2023

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 eriklins added the enhancement New feature or request label Dec 8, 2023
@eriklins eriklins changed the title Some data is not displayed correctly (Win 64) Add decoding of characteristics values for known BT SiG Assigned Numbers. Dec 8, 2023
@shaman1010
Copy link
Author

Thanks.

@eriklins eriklins reopened this Dec 8, 2023
@eriklins
Copy link
Owner

eriklins commented Dec 8, 2023

We keep this open since not yet implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants