Module ble_privacy

Module ble_privacy 

Source
Expand description

Public BLE discovery policy. No hardware or host-stack dependencies.

Modules§

model
Hardware models named in pairing advertisements, as assigned in docs/hardware/boards.json. Zero is unspecified; 0xFF00 and above are private use.

Structs§

AdvertisementData
PairingDeadline
A deadline survives stack recreation; only an explicit open extends it.
RestartBackoff
Avoid a tight controller rebuild loop while keeping retries short enough for background reconnection. A stable run resets consecutive-failure delay.

Constants§

ADVERTISING_INTERVAL_US
COMPANY_ID
Bluetooth company identifier for devices without an assigned one.
FAST_ADVERTISING_INTERVAL_US
RPA_TIMEOUT_SECS
STARTUP_FAST_ADVERTISING_MS

Functions§

advertisement
Service discovery remains public; the model and name are disclosed only during pairing.
name_visible
pairing_window_ms
Choose the window duration from the retained bond count when it opens.
utf8_prefix_len