Function nrfxlib_sys::bsd_init[][src]

pub unsafe extern "C" fn bsd_init(
    p_init_params: *const bsd_init_params_t
) -> c_int

Initialize the library.

Once initialized, the library uses the resources defined in bsd_platform.h.

  • p_init_params - Parameters to initialize bsd library. Cannot be NULL.

Returns Zero on success. Returns A positive value from @ref bsd_modem_dfu when executing Modem firmware updates.

Returns -1 on error.