Skip to main content

ensure_addr

Function ensure_addr 

Source
pub fn ensure_addr(prefer_random: bool) -> Result<(), BleError>
Expand description

Attempt to configure at least one BLE address; how this is done is hardware-specific. If prefer_random is true, prefer using a random address even if a public address is configured.