trouble-host

Crates

git

Versions

default

Flavors

Module prelude

Source
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§

AddrKind
AddrKind
AttributeServer
A GATT server capable of processing the GATT protocol using the provided table of attributes.
BdAddr
BdAddr
BluetoothUuid16
A 16-bit Bluetooth UUID
BluetoothUuid32
A 32-bit Bluetooth UUID
BluetoothUuid128
A 128-bit Bluetooth UUID
CccdTable
A table of CCCD values.
ControlRunner
The control part of the host runner.
ExternalController
An external Bluetooth controller with communication via Transport type T.
HostMetrics
Host metrics
InvalidLengthError
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
SerialTransport
HCI transport layer for a split serial bus using the UART transport layer protocol 📖
TxRunner
The transmit part of the host runner.

Enums§

BluetoothUuid
A Bluetooth UUID of any valid length (16, 32, or 128 bits).
IoCapabilities
Device I/O capabilities
PhyKind
PhyKind
Role
LeConnRole

Traits§

DynamicAttributeServer
Type erased attribute server
EventHandler
Event handler.

Type Aliases§

DefaultPacketPool
Global default packet pool.
HeaplessString
A fixed capacity String.

Attribute Macros§

gatt_server
Gatt Service attribute macro.
gatt_service
Gatt Service attribute macro.