stm32wb_hci/vendor/
mod.rs

1//! Vendor specific commands for STM32WB family
2
3pub mod command;
4pub mod event;
5pub mod opcode;
6
7/// specify vendor specifi extensions for STM32WB family
8pub use crate::host::uart::CommandHeader;
9pub use event::VendorError;
10
11/// master trait that encompasses all commands, and communicats over UART
12pub trait UartController:
13    command::gap::GapCommands
14    + command::gatt::GattCommands
15    + command::hal::HalCommands
16    + command::l2cap::L2capCommands
17    + crate::host::uart::UartHci
18{
19}
20
21impl<T> UartController for T where
22    T: command::gap::GapCommands
23        + command::gatt::GattCommands
24        + command::hal::HalCommands
25        + command::l2cap::L2capCommands
26        + crate::host::uart::UartHci
27{
28}