Nordic nrf51 sdk sources. Mirrored from https://github.com/ARMmbed/nrf51-sdk.

Dependents:   nRF51822 nRF51822

Files at this revision

API Documentation at this revision

Comitter:
vcoubard
Date:
Thu Apr 07 17:38:10 2016 +0100
Parent:
36:a2d952ce88a7
Child:
38:2b762c52e657
Commit message:
Synchronized with git rev 25cbf4dd
Author: Andres Amaya Garcia
Add warning to ah() for porters of future nRF51 SDKs to mbed

Changed in this revision

source/nordic_sdk/components/ble/peer_manager/id_manager.h Show annotated file Show diff for this revision Revisions of this file
--- a/source/nordic_sdk/components/ble/peer_manager/id_manager.h	Thu Apr 07 17:38:10 2016 +0100
+++ b/source/nordic_sdk/components/ble/peer_manager/id_manager.h	Thu Apr 07 17:38:10 2016 +0100
@@ -251,6 +251,13 @@
  *                          if the irk used in the hash function is the same one used to generate
  *                          the address.
  *                          The array must have a length of 16.
+ *
+ * @note    ====IMPORTANT====
+ *          This is a special modification to the original nRF51 SDK required by the mbed BLE API
+ *          to being able to generate BLE private resolvable addresses. This function is used by
+ *          the BLE API implementation for nRF5xSecurityManager::getAddressFromBondTable() in the
+ *          ble-nrf51822 yotta module.
+ *          =================
  */
 void ah(uint8_t const * p_k, uint8_t const * p_r, uint8_t * p_local_hash);