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

I migrated this example to 15.3.0 #13

Open
maidenone opened this issue May 23, 2019 · 2 comments
Open

I migrated this example to 15.3.0 #13

maidenone opened this issue May 23, 2019 · 2 comments

Comments

@maidenone
Copy link

Sadly i did not fork the project, so no direct linkage here..
see: https://github.com/maidenone/custom_ble_service_example

@acutetech
Copy link

This is very useful. Thanks.
I had tried the original code with SDK 15.3 and found it would not work, so it was a relief to find that someone has fixed it for SDK 15.3

@kbrafford
Copy link

kbrafford commented Sep 25, 2019

Thanks for this @maidenone! BTW yours has the same small error that the original has with regards to the UUID:

In the text, it says this is the UUID that was used:
f364adc9-b000-4042-ba50-05ca45bf8abc

But all the code and screenshots are written with this UUID (two erroneous byte swaps):
f364adc9-00b0-4240-ba50-05ca45bf8abc

It was very confusing to me, as it was kind of a pain figuring out how the byte-ordering is supposed to work. I made a python3 script for this, if anyone is interested:

https://gist.github.com/kbrafford/b517289bdbbd2102b1e23bc3c7aa841e

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

3 participants