mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-11 12:37:58 +00:00
porting: Remove services from NimBLE port initialization
We should only initialize basic NimBLE packages in common init. Extra services should be better initialized by application since we do not know which ones it may want to include.
This commit is contained in:
@@ -24,12 +24,6 @@
|
||||
#if NIMBLE_CFG_CONTROLLER
|
||||
#include "controller/ble_ll.h"
|
||||
#endif
|
||||
#include "services/gap/ble_svc_gap.h"
|
||||
#include "services/gatt/ble_svc_gatt.h"
|
||||
#include "services/ans/ble_svc_ans.h"
|
||||
#include "services/ias/ble_svc_ias.h"
|
||||
#include "services/lls/ble_svc_lls.h"
|
||||
#include "services/tps/ble_svc_tps.h"
|
||||
|
||||
void
|
||||
nimble_port_init(void)
|
||||
@@ -44,14 +38,6 @@ nimble_port_init(void)
|
||||
|
||||
ble_hs_init();
|
||||
|
||||
/* XXX These should be configurable somehow */
|
||||
ble_svc_gap_init();
|
||||
ble_svc_gatt_init();
|
||||
ble_svc_ans_init();
|
||||
ble_svc_ias_init();
|
||||
ble_svc_lls_init();
|
||||
ble_svc_tps_init();
|
||||
|
||||
/* XXX Need to have template for store */
|
||||
ble_store_ram_init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user