You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mynewt.apache.org by Szymon Janc <sz...@codecoup.pl> on 2023/03/02 08:20:35 UTC

Re: Problem with Return Code

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)
<Ka...@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