Cefn Hoile / nrf51-sdk

Dependents:   nRF51822

Fork of nrf51-sdk by Lancaster University

Files at this revision

API Documentation at this revision

Comitter:
LancasterUniversity
Date:
Wed Apr 06 23:55:24 2016 +0100
Parent:
0:bc2961fa1ef0
Child:
2:b127cab04188
Commit message:
Synchronized with git rev 2836a891
Author: Joe Finney
microbit: Update of maximum BLE bond count from 2 to 4.

BLE bond information is stored in a table in flash memory during the pairing process with another BLE device.
This information is required for a secure BLE connection.

There is a limit to the number of entries in this table. It used to be 4 but was recently changed to 2
during a code merge with mbed updates. This patch returns to support four bonds.

Changed in this revision

source/nordic_sdk/components/ble/device_manager/config/device_manager_cnfg.h Show annotated file Show diff for this revision Revisions of this file
--- a/source/nordic_sdk/components/ble/device_manager/config/device_manager_cnfg.h	Wed Apr 06 23:55:04 2016 +0100
+++ b/source/nordic_sdk/components/ble/device_manager/config/device_manager_cnfg.h	Wed Apr 06 23:55:24 2016 +0100
@@ -85,7 +85,7 @@
  *       be stored. In such cases, application will be notified with DM_DEVICE_CONTEXT_FULL 
  *       as event result at the completion of the security procedure.
  */
-#define DEVICE_MANAGER_MAX_BONDS         2
+#define DEVICE_MANAGER_MAX_BONDS         4
 
 
 /**
@@ -116,4 +116,4 @@
 /* @} */
 /** @endcond */
 #endif // DEVICE_MANAGER_CNFG_H__
-
+
\ No newline at end of file