Function ensure_agent

Source
pub fn ensure_agent()
Expand description

Ensure a BlueZ agent is registered for this process.

This is safe to call multiple times — the agent is only registered once. If registration fails, subsequent calls will retry. The agent runs in a background tokio task for the lifetime of the process.