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

Fix for Windows #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

OolaaPleur
Copy link

No description provided.

@rohitsangwan01
Copy link
Owner

@OolaaPleur Thank you for the PR!

Could you make only the minimal changes? This would make the review process easier. It seems like you’re just parsing the characteristic outside of uiThreadHandler and passing the resulting Char String instead of GattLocalChar.

Or am I missing something else?

@OolaaPleur
Copy link
Author

Yeah, I guess. I never touched C++. Parsing it outside stopped it from localChar being null pointer on my PC (on laptop all works fine). This fixed my problem of crashing ble_peripheral and uni_control_hub. May be its not a good fix, at least I hope it will give some ideas, why on some hardwares app is crashing.

@rohitsangwan01
Copy link
Owner

@OolaaPleur i see, thats strange, are you sure localChar is null on your Pc ?

@OolaaPleur
Copy link
Author

изображение

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

Successfully merging this pull request may close these issues.

2 participants