furi_hal_bt_change_app

Function furi_hal_bt_change_app 

Source
pub unsafe extern "C" fn furi_hal_bt_change_app(
    profile_template: *const FuriHalBleProfileTemplate,
    profile_params: FuriHalBleProfileParams,
    root_keys: *const GapRootSecurityKeys,
    event_cb: GapEventCallback,
    context: *mut c_void,
) -> *mut FuriHalBleProfileBase
Expand description

Change BLE app Restarts 2nd core

§Arguments

  • profile_template - FuriHalBleProfileTemplate instance
  • profile_params - Parameters to pass to the profile. Can be NULL
  • event_cb - GapEventCallback instance
  • root_keys - pointer to root keys
  • context - pointer to context

§Returns

instance of profile, NULL on failure