Skip to content

Commit b757906

Browse files
PavelVPVjhedberg
authored andcommitted
tests: bluetooth: tester: Move mesh-1.1 features to a separate conf
This allows to compile mesh tester for 1.0.1 and 1.1 specs sepately. Signed-off-by: Pavel Vasilyev <[email protected]>
1 parent a833421 commit b757906

File tree

3 files changed

+39
-28
lines changed

3 files changed

+39
-28
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
CONFIG_ENTROPY_GENERATOR=y
2+
3+
CONFIG_BT_MESH_V1d1=y
4+
CONFIG_BT_MESH_OP_AGG_CLI=y
5+
CONFIG_BT_MESH_OP_AGG_SRV=y
6+
# PTS requires more key slots.
7+
# First one is implicitly taken by Device Key.
8+
CONFIG_BT_MESH_MODEL_KEY_COUNT=3
9+
CONFIG_BT_MESH_LARGE_COMP_DATA_CLI=y
10+
CONFIG_BT_MESH_LARGE_COMP_DATA_SRV=y
11+
CONFIG_BT_MESH_SAR_CFG_SRV=y
12+
CONFIG_BT_MESH_SAR_CFG_CLI=y
13+
CONFIG_BT_MESH_TX_SEG_MSG_COUNT=10
14+
CONFIG_BT_MESH_RPR_SRV=y
15+
CONFIG_BT_MESH_RPR_CLI=y
16+
CONFIG_BT_MESH_RPR_AD_TYPES_MAX=2
17+
CONFIG_BT_MESH_BLOB_CLI=y
18+
CONFIG_BT_MESH_DFU_CLI=y
19+
CONFIG_BT_MESH_BLOB_SRV=y
20+
CONFIG_BT_MESH_DFU_SRV=y
21+
CONFIG_BT_MESH_DFD_SRV=y
22+
CONFIG_BT_MESH_DFU_SLOT_CNT=2
23+
CONFIG_BT_MESH_PRIV_BEACONS=y
24+
CONFIG_BT_MESH_PRIV_BEACON_SRV=y
25+
CONFIG_BT_MESH_PRIV_BEACON_CLI=y
26+
CONFIG_BT_MESH_MODEL_EXTENSIONS=y
27+
CONFIG_BT_MESH_COMP_PAGE_1=y
28+
29+
CONFIG_SETTINGS=y
Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
CONFIG_BT_MESH=y
2-
CONFIG_BT_MESH_V1d1=y
32
CONFIG_BT_MESH_RELAY=y
43
CONFIG_BT_MESH_PB_ADV=y
54
CONFIG_BT_MESH_PB_GATT=y
@@ -9,44 +8,18 @@ CONFIG_BT_MESH_GATT_PROXY=y
98
CONFIG_BT_MESH_LABEL_COUNT=2
109
CONFIG_BT_MESH_SUBNET_COUNT=2
1110
CONFIG_BT_MESH_MODEL_GROUP_COUNT=2
12-
CONFIG_BT_MESH_OP_AGG_CLI=y
13-
CONFIG_BT_MESH_OP_AGG_SRV=y
14-
# PTS requires more key slots.
15-
# First one is implicitly taken by Device Key.
16-
CONFIG_BT_MESH_MODEL_KEY_COUNT=3
1711
CONFIG_BT_MESH_APP_KEY_COUNT=4
1812
CONFIG_BT_MESH_IV_UPDATE_TEST=y
1913
CONFIG_BT_MESH_CFG_CLI=y
2014
CONFIG_BT_MESH_HEALTH_CLI=y
21-
CONFIG_BT_MESH_LARGE_COMP_DATA_CLI=y
22-
CONFIG_BT_MESH_LARGE_COMP_DATA_SRV=y
23-
CONFIG_BT_MESH_SAR_CFG_SRV=y
24-
CONFIG_BT_MESH_SAR_CFG_CLI=y
2515
CONFIG_BT_MESH_FRIEND=y
2616
CONFIG_BT_MESH_FRIEND_QUEUE_SIZE=32
2717
CONFIG_BT_MESH_RX_SEG_MAX=13
28-
CONFIG_BT_MESH_TX_SEG_MSG_COUNT=10
18+
CONFIG_BT_MESH_TX_SEG_MSG_COUNT=3
2919
CONFIG_BT_MESH_LPN_POLL_TIMEOUT=100
3020
CONFIG_BT_MESH_PROVISIONER=y
3121
CONFIG_BT_MESH_CDB=y
3222
CONFIG_BT_MESH_CDB_NODE_COUNT=3
3323
CONFIG_BT_MESH_PROV_OOB_PUBLIC_KEY=y
3424
CONFIG_BT_MESH_MSG_CACHE_SIZE=10
3525
CONFIG_BT_MESH_PROXY_CLIENT=y
36-
CONFIG_BT_MESH_PROVISIONER=y
37-
CONFIG_BT_MESH_RPR_SRV=y
38-
CONFIG_BT_MESH_RPR_CLI=y
39-
CONFIG_BT_MESH_RPR_AD_TYPES_MAX=2
40-
CONFIG_BT_MESH_BLOB_CLI=y
41-
CONFIG_BT_MESH_DFU_CLI=y
42-
CONFIG_BT_MESH_BLOB_SRV=y
43-
CONFIG_BT_MESH_DFU_SRV=y
44-
CONFIG_BT_MESH_DFD_SRV=y
45-
CONFIG_BT_MESH_DFU_SLOT_CNT=2
46-
CONFIG_BT_MESH_PRIV_BEACONS=y
47-
CONFIG_BT_MESH_PRIV_BEACON_SRV=y
48-
CONFIG_BT_MESH_PRIV_BEACON_CLI=y
49-
CONFIG_BT_MESH_MODEL_EXTENSIONS=y
50-
CONFIG_BT_MESH_COMP_PAGE_1=y
51-
52-
CONFIG_SETTINGS=y

tests/bluetooth/tester/testcase.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,12 @@ tests:
2525
extra_args: OVERLAY_CONFIG="overlay-mesh.conf"
2626
tags: bluetooth
2727
harness: bluetooth
28+
bluetooth.general.tester_mesh_v1d1:
29+
build_only: true
30+
platform_allow:
31+
- qemu_x86
32+
- native_posix
33+
- nrf52840dk_nrf52840
34+
extra_args: OVERLAY_CONFIG="overlay-mesh.conf;overlay-mesh-v1d1.conf"
35+
tags: bluetooth
36+
harness: bluetooth

0 commit comments

Comments
 (0)