Closed adfernandes closed 9 years ago
Pulled into the develop branch. will hit 'master' with the next release. Thanks.
This second pull request changes the DiscoveredCharacteristic API to have getUUID()
as opposed to only getShortUUID()
. Otherwise you can't have long-UUID characteristics... :smile: It needs the corresponding pull request in BLE_API
.
Added the latest patch because service UUIDs only matched the short, for some reason - I'm guessing that that's a historic artifact... :smile:
Took me forever to find this because I didn't realize that the UUID class takes big-endian byte arrays in the constructor... I'm so used to writing them out in little-endian form that I have scripts that do it for me!
Pulled into the develop branch. Matching against shortUUIDs was indeed a historic artifact. Thanks so much!
The
compiler_abstraction.h
header is unnecessary here becausembed/libraries/mbed/targets/cmsis/core_cm0.h
already abstracts out the__ASM
definition.If the file is included, you get a
warning: "__ASM" redefined
warning.The specific files are
nRF51822/source/nordic-sdk/components/drivers_nrf/hal/compiler_abstraction.h
andmbed/libraries/mbed/targets/cmsis/core_cm0.h