Struct bluetooth_hci::host::uart::CommandHeader[][src]

pub struct CommandHeader { /* fields omitted */ }

Header for HCI Commands.

Trait Implementations

impl HciHeader for CommandHeader
[src]

HEADER_LENGTH: usize = 4

Defines the length of the packet header. With the packet byte, this is 4. Without it, the length shall be 3. Read more

Returns a new header with the given opcode and parameter length.

Serialize the header into the given buffer, in Bluetooth byte order (little-endian). Read more

Auto Trait Implementations