You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e244b80
Browse filesBrowse the repository at this point in the historyBrowse files
[nrf fromtree] Bluetooth: Mesh: Decouple RPL store timeout from storage mode
Solve two issues:
* Other storage modes than CONFIG_BT_MESH_RPL_STORAGE_MODE_SETTINGS
could not reuse the pending store scheduler used by the settings
backend.
* The store timing of SRPL, which is always stored through the
Settings subsystem, would use CONFIG_BT_MESH_RPL_STORE_TIMEOUT if
RPL was also stored in settings via
CONFIG_BT_MESH_RPL_STORAGE_MODE_SETTINGS, but not if another storage
mode was used for RPL.
Decouple the store scheduler from the Settings subsystem and the
chosen RPL storage mode, so the scheduler code and the separate
CONFIG_BT_MESH_RPL_STORE_TIMEOUT option are
a) Available regardless of storage mode, and always used for SRPL when
set and
b) Available without CONFIG_BT_SETTINGS, in case an RPL storage mode
does not need Settings but would like the scheduling.
Also change the BT_MESH_SETTINGS_RPL_RESET_PENDING to always store
immediately. This was in practice already the case whenever settings was
used, since this was only ever scheduled right before a second NO_WAIT
configuration was scheduled (like net key, IV, etc.). Now this behavior
is consistent both with and without BT_SETTINGS enabled.
Assisted-by: Copilot:claude-sonnet-5.5
Signed-off-by: Ludvig Jordet <ludvig.jordet@nordicsemi.no>
(cherry picked from commit 3f878df514ad9ebe63d73b36a0ea50fa557517d7)
0 commit comments