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::Stack;
pub use crate::packet_pool::PacketPool;
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::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
$name
AttributeServer
A GATT server capable of processing the GATT protocol using the provided table of attributes.
BdAddr
$name
BluetoothUuid16
Bluetooth UUID.
ControlRunner
The control part of the host runner.
HeaplessString
A fixed capacity String
HostMetrics
Host metrics
PhyMask
$name.
Runner
Runs the host with the given controller.
RxRunner
The receiver part of the host runner.
TxRunner
The transmit part of the host runner.

Enums§

PhyKind
$name.
Role
$name.

Constants§

BLUETOOTH_BASE_UUID
0000xxxx-0000-1000-8000-00805F9B34FB;

Traits§

DynamicAttributeServer
Type erased attribute server
EventHandler
Event handler.

Attribute Macros§

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