bt_profile_start

Function bt_profile_start 

Source
pub unsafe extern "C" fn bt_profile_start(
    bt: *mut Bt,
    profile_template: *const FuriHalBleProfileTemplate,
    params: FuriHalBleProfileParams,
) -> *mut FuriHalBleProfileBase
Expand description

Change BLE Profile

Note: Call of this function leads to 2nd core restart

§Arguments

  • bt - Bt instance
  • profile_template - Profile template to change to
  • params - Profile parameters. Can be NULL

§Returns

true on success