Skip to content

Commit 28ea309

Browse files
committed
tests: bluetooth: custom LTK feature tests
Adding bsim tests for basic custom LTK feature functions, it's coexistence with SMP and some invalid scenarios. Signed-off-by: Dobrynin, Artur <[email protected]>
1 parent db4ff5e commit 28ea309

File tree

7 files changed

+552
-0
lines changed

7 files changed

+552
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
cmake_minimum_required(VERSION 3.20.0)
2+
3+
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
4+
project(bsim_test_custom_ltk)
5+
6+
add_subdirectory(${ZEPHYR_BASE}/tests/bsim/babblekit babblekit)
7+
target_link_libraries(app PRIVATE babblekit)
8+
9+
target_sources(app PRIVATE
10+
src/main.c
11+
)
12+
13+
zephyr_include_directories(
14+
${BSIM_COMPONENTS_PATH}/libUtilv1/src/
15+
${BSIM_COMPONENTS_PATH}/libPhyComv1/src/
16+
)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
CONFIG_BT=y
2+
CONFIG_BT_PERIPHERAL=y
3+
CONFIG_BT_CENTRAL=y
4+
CONFIG_BT_TESTING=y
5+
CONFIG_BT_SMP=y
6+
7+
CONFIG_BT_BONDABLE_PER_CONNECTION=y
8+
9+
CONFIG_BT_NRF_CONN_SET_LTK=y
10+
11+
CONFIG_ASSERT=y
12+
CONFIG_LOG=y

0 commit comments

Comments
 (0)