File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF5x/source/btle Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -232,9 +232,6 @@ error_t btle_init(void)
232
232
}
233
233
#endif
234
234
235
- // Peer Manger must been initialised prior any other call to its API (this file and btle_security_pm.cpp)
236
- pm_init ();
237
-
238
235
#if (NRF_SD_BLE_API_VERSION <= 2)
239
236
ble_gap_addr_t addr;
240
237
if (sd_ble_gap_address_get (&addr) != NRF_SUCCESS) {
@@ -243,10 +240,6 @@ error_t btle_init(void)
243
240
if (sd_ble_gap_address_set (BLE_GAP_ADDR_CYCLE_MODE_NONE, &addr) != NRF_SUCCESS) {
244
241
return ERROR_INVALID_PARAM;
245
242
}
246
- #else
247
- ble_gap_privacy_params_t privacy_params = {0 };
248
- privacy_params.privacy_mode = BLE_GAP_PRIVACY_MODE_OFF;
249
- pm_privacy_set (&privacy_params);
250
243
#endif
251
244
252
245
// From SDK 14 onwards event handlers are registered differently
@@ -287,9 +280,6 @@ void btle_handler(const ble_evt_t *p_ble_evt)
287
280
// Forward BLE events to the Connection State module.
288
281
// This must be called before any event handler that uses this module.
289
282
ble_conn_state_on_ble_evt (p_ble_evt);
290
-
291
- // Forward BLE events to the Peer Manager
292
- pm_on_ble_evt (p_ble_evt);
293
283
#endif
294
284
#endif
295
285
You can’t perform that action at this time.
0 commit comments