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

Unable to get name and unit values #1

Open
Neham-13 opened this issue Feb 22, 2024 · 1 comment
Open

Unable to get name and unit values #1

Neham-13 opened this issue Feb 22, 2024 · 1 comment

Comments

@Neham-13
Copy link

Neham-13 commented Feb 22, 2024

Uploading IMG_91877721BD07-1.jpeg…

I cant get name and unit values. Always getting "No name" and "No Unit"

@ChrisKheder
Copy link
Owner

Hello,

The app reads the UUIDs of the services and characteristics and assigns predetermined values and names depending on the UUID.

The file CharacteristicDictionaries inside the Store map contains all the UUIDs with corresponding unit values and names as dictionaries. These dictionaries are then used to fetch the correct name and unit values. I would advise you to check the characteristic UUID that is being sent from the BLE peripheral, and then update the dictionary with the correct UUID.

Additionally, I've included more links related to this project, with one containing the code for the BLE peripheral. Where the UUIDs are configured.

Let me know if you need further clarification or assistance.

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

No branches or pull requests

2 participants