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;0xFF00and above are private use.
Structs§
- Advertisement
Data - Pairing
Deadline - A deadline survives stack recreation; only an explicit open extends it.
- Restart
Backoff - 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