test
Fork of nRF51822 by
Diff: btle/btle.cpp
- Revision:
- 124:664d4257a9f8
- Parent:
- 123:e19f9f7874f9
- Child:
- 125:35e4f65364bc
--- a/btle/btle.cpp Fri May 08 15:33:54 2015 +0100 +++ b/btle/btle.cpp Fri May 08 15:33:54 2015 +0100 @@ -33,6 +33,7 @@ #include "GapEvents.h" #include "nRF51Gap.h" #include "nRF51GattServer.h" +#include "device_manager.h" #include "ble_hci.h" @@ -91,6 +92,11 @@ pstorage_init(); + dm_init_param_t dm_init_param = { + .clear_persistent_data = false /* Set to true in case the module should clear all persistent data. */ + }; + dm_init(&dm_init_param); + btle_gap_init(); return ERROR_NONE;