Add warning to ah() for porters of future nRF51 SDKs to mbed

This commit is contained in:
Andres Amaya Garcia 2016-01-11 12:12:46 +00:00
parent b0017f9fbf
commit 25cbf4dd40
1 changed files with 7 additions and 0 deletions

View File

@ -251,6 +251,13 @@ bool im_address_resolve(ble_gap_addr_t const * p_addr, ble_gap_irk_t const * p_i
* if the irk used in the hash function is the same one used to generate * if the irk used in the hash function is the same one used to generate
* the address. * the address.
* The array must have a length of 16. * 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); void ah(uint8_t const * p_k, uint8_t const * p_r, uint8_t * p_local_hash);