Nordic stack and drivers for the mbed BLE API

Dependents:   idd_hw5_bleFanProto

Fork of nRF51822 by Nordic Semiconductor

Revision:
37:c29c330d942c
Parent:
34:48d24b1d2fe6
Child:
40:1cb3707fa798
--- a/btle/btle.cpp	Thu Jul 03 10:01:02 2014 +0100
+++ b/btle/btle.cpp	Mon Jul 07 13:43:31 2014 +0100
@@ -14,6 +14,7 @@
  * limitations under the License.
  */
 #include "common/common.h"
+#include "nordic_common.h"
 
 #include "app_timer.h"
 #include "btle.h"
@@ -21,14 +22,15 @@
 #include "ble_stack_handler_types.h"
 #include "ble_radio_notification.h"
 #include "ble_flash.h"
+#if NEED_BOND_MANAGER
 #include "ble_bondmngr.h"
+#endif
 #include "ble_conn_params.h"
 
 #include "btle_gap.h"
 #include "btle_advertising.h"
 #include "custom/custom_helper.h"
 
-#include "nordic_common.h"
 #include "softdevice_handler.h"
 #include "pstorage.h"