tests: bluetooth: mesh: Check bt_mesh_rpl_reset with unit test
Check RPL when rescheduling happens during the reset operation started by bt_mesh_rpl_reset. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit is contained in:
parent
1fdf283531
commit
da7e555a99
4 changed files with 501 additions and 0 deletions
21
tests/bluetooth/mesh/rpl/CMakeLists.txt
Normal file
21
tests/bluetooth/mesh/rpl/CMakeLists.txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
cmake_minimum_required(VERSION 3.20.0)
|
||||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||
project(bluetooth_mesh_rpl)
|
||||
|
||||
FILE(GLOB app_sources src/*.c)
|
||||
target_sources(app
|
||||
PRIVATE
|
||||
${app_sources}
|
||||
${ZEPHYR_BASE}/subsys/bluetooth/mesh/rpl.c)
|
||||
|
||||
target_include_directories(app
|
||||
PRIVATE
|
||||
${ZEPHYR_BASE}/subsys/bluetooth/mesh)
|
||||
|
||||
target_compile_options(app
|
||||
PRIVATE
|
||||
-DCONFIG_BT_MESH_CRPL=10
|
||||
-DCONFIG_BT_MESH_RPL_STORE_TIMEOUT=1
|
||||
-DCONFIG_BT_SETTINGS)
|
Loading…
Add table
Add a link
Reference in a new issue