Function ble_stack
pub async fn ble_stack() -> &'static Stack<'static, DummyController, StaticPacketPool<CriticalSectionRawMutex, trouble_host::::packet_pool::DefaultPacketPool::{constant#0}, trouble_host::::packet_pool::DefaultPacketPool::{constant#1}>>Available on crate feature
ble only.Expand description
Returns the system BLE stack, trouble_host::Stack.
ยงPanics
For this function to succeed, it can only be called from the system executor, and only once:
- Panics if the stack was already taken.
- Panics when not called from the system executor.