zephyr::raw

Type Alias bt_ready_cb_t

source
pub type bt_ready_cb_t = Option<unsafe extern "C" fn(_: i32)>;
Expand description

@typedef bt_ready_cb_t @brief Callback for notifying that Bluetooth has been enabled.

@param err zero on success or (negative) error code otherwise.

Aliased Type§

enum bt_ready_cb_t {
    None,
    Some(unsafe extern "C" fn(_: i32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: i32))

Some value of type T.