trouble-host

Crates

git

Versions

default

Flavors

new

Function new 

Source
pub fn new<'resources, C: Controller, P: PacketPool, const CONNS: usize, const CHANNELS: usize, const ADV_SETS: usize, const BONDS: usize>(
    controller: C,
    resources: &'resources mut HostResources<C, P, CONNS, CHANNELS, ADV_SETS, BONDS>,
) -> StackBuilder<'resources, C, P>
Expand description

Create a new instance of the BLE host using the provided controller implementation and the resource configuration