Ble sleep duration timer will not fire in my device's scenario?

Hello,
My device based on a sleep mode (wake up from ram).
If my device do adc every 10 seconds by kernel timer regardless ble connected or not,
The ble sleep duration timer (which can be set from BLE_Sleep_MaxDuration_Set) will not fire because the default ble sleep duration is 30 seconds and my device will wake-up every 10 seconds. Is it right?

Thanks,
Calvin

@Calvin
Your understanding is correct.

If there is any wakeup event before the time of BLE_Sleep_MaxDuration_Set, the count for BLE_Sleep_MaxDuration_Set will be reset. So, 10s is less 30s (BLE_Sleep_MaxDuration_Set). The 30s will no fire.

Thank you for using our community forum!

1 Like