Expand description
Convenience include of most commonly used types.
Re-exports§
pub use super::att::AttErrorCode;
pub use super::BleHostError;
pub use super::Controller;
pub use super::Error;
pub use super::Host;
pub use super::HostResources;
pub use super::Packet;
pub use super::PacketPool;
pub use super::Stack;
pub use crate::types::gatt_traits::AsGatt;
pub use crate::types::gatt_traits::FixedGattValue;
pub use crate::types::gatt_traits::FromGatt;
pub use crate::Address;
pub use crate::Identity;
pub use crate::advertise::*;
pub use crate::attribute::*;
pub use crate::central::*;
pub use crate::connection::*;
pub use crate::gap::*;
pub use crate::gatt::*;
pub use crate::l2cap::*;
pub use crate::peripheral::*;
pub use crate::scan::*;
Modules§
- appearance
- The representation of the external appearance of the device.
- browse_
group_ identifiers - UUIDs for the browse group identifiers module.
- characteristic
- UUIDs for the characteristic module.
- declarations
- UUIDs for the declarations module.
- descriptors
- UUIDs for the descriptors module.
- mesh_
profile - UUIDs for the mesh profile module.
- object_
types - UUIDs for the object types module.
- protocol_
identifiers - UUIDs for the protocol identifiers module.
- service
- UUIDs for the service module.
- service_
class - UUIDs for the service class module.
- units
- UUIDs for the units module.
Structs§
- Addr
Kind - AddrKind
- Attribute
Server - A GATT server capable of processing the GATT protocol using the provided table of attributes.
- BdAddr
- BdAddr
- Bluetooth
Uuid16 - A 16-bit Bluetooth UUID
- Bluetooth
Uuid32 - A 32-bit Bluetooth UUID
- Bluetooth
Uuid128 - A 128-bit Bluetooth UUID
- Cccd
Table - A table of CCCD values.
- Control
Runner - The control part of the host runner.
- External
Controller - An external Bluetooth controller with communication via
Transport
typeT
. - Host
Metrics - Host metrics
- Invalid
Length Error - An error returned when a byte slice has an invalid length for a Bluetooth UUID.
- PhyMask
- PhyMask
- Runner
- Runs the host with the given controller.
- RxRunner
- The receiver part of the host runner.
- Sdu
- Service Data Unit
- Serial
Transport - HCI transport layer for a split serial bus using the UART transport layer protocol 📖
- TxRunner
- The transmit part of the host runner.
Enums§
- Bluetooth
Uuid - A Bluetooth UUID of any valid length (16, 32, or 128 bits).
- IoCapabilities
- Device I/O capabilities
- PhyKind
- PhyKind
- Role
- LeConnRole
Traits§
- Dynamic
Attribute Server - Type erased attribute server
- Event
Handler - Event handler.
Type Aliases§
- Default
Packet Pool - Global default packet pool.
- Heapless
String - A fixed capacity
String
.
Attribute Macros§
- gatt_
server - Gatt Service attribute macro.
- gatt_
service - Gatt Service attribute macro.