trouble-host

Crates

git

Versions

default

Flavors

Function new

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

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