Is it possible to limit the connection duration on BLE peripheral (nrf52832)? For example, if central is in connection for more than X seconds, then peripheral terminates the connection.
Is it possible to limit the connection duration on BLE peripheral (nrf52832)? For example, if central is in connection for more than X seconds, then peripheral terminates the connection.
Hi,
You can start a timer (use app_timer or RTC for low power) when a device connect, and disconnect the device in the timer callback handler. Make sure you stop the timer if the device disconnects manually before the timer have timed out. Check out the application timer tutorial for more details on how to create timers.
Best regards,
Jørgen