Need help on DIRECT ADVERTISING (peripheral and Central auto reconnect)

This ticket concerns the expected behavior and recommended implementation for automatic reconnection between a bonded Central and Peripheral using Bluetooth LE Direct Advertising within the Zephyr RTOS framework.

The devices are already paired and bonded. The goal is to enable fast reconnection without user interaction when the devices are powered back on or move back within range.

We are looking for:

  • Clarification on Zephyr's handling of directed advertising with bonded devices.

  • Best practices for enabling auto reconnection (e.g., direct advertising intervals, whitelist usage, address resolution).

  • Any known limitations or required configurations related to direct advertising and bt_conn_le_create() in Central role.

We are currently using:

  • Zephyr SDK version: [2.9.1]

  • SoC: nRF52840

  • Both sides using Zephyr (Peripheral and Central)

Please let us know if there are recommended examples or configurations to follow for this behavior.

Here's my code for example and validation test's please checkout :< https://github.com/mkb-coding/nRF_BLE/ >

Related