Function bt_set_appearance

Source
pub unsafe extern "C" fn bt_set_appearance(new_appearance: u16) -> i32
Expand description

@brief Set local Bluetooth appearance

Automatically preserves the new appearance across reboots if @kconfig{CONFIG_BT_SETTINGS} is enabled.

@kconfig_dep{CONFIG_BT_DEVICE_APPEARANCE_DYNAMIC}

@param new_appearance Appearance Value

@retval 0 Success. @retval other Persistent storage failed. Appearance was not updated.