Skip to content

Commit a22b4e5

Browse files
committed
Nordic BLE: Remove nordic gap init.
This initialization is already done in GattServer.
1 parent dd6a535 commit a22b4e5

File tree

4 files changed

+9
-125
lines changed

4 files changed

+9
-125
lines changed

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF5x/source/btle/btle.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#include "ble_flash.h"
2424
#include "ble_conn_params.h"
2525

26-
#include "btle_gap.h"
2726
#include "custom/custom_helper.h"
2827

2928
#include "ble/GapEvents.h"
@@ -252,7 +251,7 @@ error_t btle_init(void)
252251
ASSERT_STATUS( softdevice_sys_evt_handler_set(sys_evt_dispatch));
253252
#endif
254253

255-
return btle_gap_init();
254+
return ERROR_NONE;
256255
}
257256

258257
#if NRF_SDK14PLUS_EVENT_HANDLERS

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF5x/source/btle/btle_gap.cpp

Lines changed: 0 additions & 99 deletions
This file was deleted.

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF5x/source/btle/btle_gap.h

Lines changed: 0 additions & 24 deletions
This file was deleted.

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_SDK_14_2/TARGET_SOFTDEVICE_COMMON/ble/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ components/ble
77
Removed
88
* ble_services/*
99
* ble_dtm/ble_dtm_hw_nrf51.c
10+
* ble_advertising/*
11+
* ble_db_discovery/*
12+
* ble_dtm/*
13+
* ble_racp/*
14+
* common/*
15+
* nrf_ble_gatt/*
16+
* nrf_ble_qwr/*
17+
* peer_manager/*
1018

1119
Renamed
1220
* #include "ble.h" -> #include "nrf_ble.h"

0 commit comments

Comments
 (0)