mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-27 15:31:17 +01:00
pkg/nimble: auto initialize build-in services
This commit is contained in:
parent
f3257f0bfe
commit
8a849be118
@ -93,4 +93,12 @@ void nimble_riot_init(void)
|
||||
res = ble_hs_id_infer_auto(0, &nimble_riot_own_addr_type);
|
||||
assert(res == 0);
|
||||
(void)res;
|
||||
|
||||
/* initialize the configured, build-in services */
|
||||
#ifdef MODULE_NIMBLE_SVC_GAP
|
||||
ble_svc_gap_init();
|
||||
#endif
|
||||
#ifdef MODULE_NIMBLE_SVC_GATT
|
||||
ble_svc_gatt_init();
|
||||
#endif
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user