custom_ble_service_example icon indicating copy to clipboard operation
custom_ble_service_example copied to clipboard

I migrated this example to 15.3.0

Open maidenone opened this issue 5 years ago • 2 comments

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

maidenone avatar May 23 '19 11:05 maidenone

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

acutetech avatar Jul 17 '19 21:07 acutetech

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

kbrafford avatar Sep 25 '19 18:09 kbrafford