Trait rubble::config::Config[][src]

pub trait Config {
    type Timer: Timer;
    type Transmitter: Transmitter;
    type ChannelMapper: ChannelMapper;
    type PacketQueue: PacketQueue;
}
Expand description

Trait for Rubble stack configurations.

This trait defines a number of types to be used throughout the layers of the BLE stack, which define capabilities, data structures, data, and hardware interface types to be used.

Every application must define a type implementing this trait and supply it to the stack.

Associated Types

A time source with microsecond resolution.

The BLE packet transmitter (radio).

The L2CAP channel mapper in use.

This type also provides access to the attributes hosted by the ATT server.

The packet queue to use for exchanging data between the real-time Link-Layer and non-realtime parts of the stack.

Implementors