zephyr::raw

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.

This symbol is linkable if @kconfig{CONFIG_BT_DEVICE_APPEARANCE_DYNAMIC} is enabled.

@param new_appearance Appearance Value

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