Hi, Yes, those are Mynewt "init" functions (note that those are not called explicitly in Mynewt code). If you call those (I'd assume on non-Mynewt NimBLE port?) and need error checking than I think we would have to split those into BLE API calls and wrappers for Mynewt init calls.
On Wed, 8 Feb 2023 at 04:27, Harish Kalla (MS/EDL1-SDS) <kalla.har...@in.bosch.com.invalid> wrote: > Hi, > > We are implemented NimBLE stack protocol for mobile communication. > > > > While diagnostic checking faced issue with GAP and GATT initialization > functions. > > > > ble_svc_gap_init() and ble_svc_gatt_init() api functions doesn’t return > the error state, internally assert function is being called on failure. How > to check the status of BLE stack for any system errors? > > > > > > Best regards, > > Harish Kalla > > -- pozdrawiam Szymon K. Janc