pub const fn from_category(category: u8, subcategory: u8) -> BluetoothUuid16
Expand description
Construct a new appearance value for the GAP Service.
Follow the pattern of the examples below to create new appearance values. Use UUIDs from the Bluetooth Assigned Numbers list.
§Example
ⓘ
const GAMEPAD: BluetoothUuid16 = appearance::from_category(0x00F, 0x040);
const GAMEPAD_BYTES: &[u8; 2] = &GAMEPAD.to_le_bytes();