Clone of the nRF51822 repository from github The correct home is https://github.com/lancaster-university/nRF51822
Dependencies: nrf51-sdk
Dependents: microbit-dal microbit-ble-open microbit-dal-eddystone microbit-dal-ble-accelerometer-example ... more
Diff: btle/custom/custom_helper.cpp
- Revision:
- 15:11b0c15979d1
- Parent:
- 13:b8251438f5c4
- Child:
- 18:465e0419c178
diff -r 5ca08f962e4f -r 11b0c15979d1 btle/custom/custom_helper.cpp --- a/btle/custom/custom_helper.cpp Thu May 29 09:51:36 2014 +0100 +++ b/btle/custom/custom_helper.cpp Fri May 30 08:44:28 2014 +0100 @@ -16,9 +16,11 @@ #include "custom_helper.h" -/** - * Types and data structures involved in maintaining a local cache of 128-bit - * UUIDs which have been added to the nRF using SVC calls previously. +/* + * The current version of the soft-device doesn't handle duplicate 128-bit UUIDs + * very well. It is therefore necessary to filter away duplicates before + * passing long UUIDs to sd_ble_uuid_vs_add(). The following types and data + * structures involved in maintaining a local cache of 128-bit UUIDs. */ typedef struct { uint8_t uuid[UUID::LENGTH_OF_LONG_UUID];