Skip to content

Commit

Permalink
Bluetooth: tester: Enable Mesh Friend support
Browse files Browse the repository at this point in the history
Enable Mesh Friend support in tester application.

Fixes: zephyrproject-rtos#17600
Signed-off-by: Mariusz Skamra <[email protected]>
  • Loading branch information
MariuszSkamra authored and carlescufi committed Jul 18, 2019
1 parent 04f351a commit 35dcab9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/bluetooth/tester/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ CONFIG_BT_MESH_APP_KEY_COUNT=4
CONFIG_BT_MESH_IV_UPDATE_TEST=y
CONFIG_BT_MESH_CFG_CLI=y
CONFIG_BT_MESH_HEALTH_CLI=y
CONFIG_BT_MESH_FRIEND=y
CONFIG_BT_MESH_FRIEND_QUEUE_SIZE=32

CONFIG_BT_TINYCRYPT_ECC=y
CONFIG_BT_TESTING=y
Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/tester/qemu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ CONFIG_BT_MESH_IV_UPDATE_TEST=y
CONFIG_BT_MESH_CFG_CLI=y
CONFIG_BT_MESH_HEALTH_CLI=y
CONFIG_BT_MESH_RX_SDU_MAX=110
CONFIG_BT_MESH_FRIEND=y

CONFIG_BT_TINYCRYPT_ECC=y
CONFIG_BT_TESTING=y
Expand Down
2 changes: 1 addition & 1 deletion tests/bluetooth/tester/src/mesh.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static struct bt_mesh_cfg_srv cfg_srv = {
.relay = BT_MESH_RELAY_ENABLED,
.beacon = BT_MESH_BEACON_ENABLED,
#if defined(CONFIG_BT_MESH_FRIEND)
.frnd = BT_MESH_FRIEND_DISABLED,
.frnd = BT_MESH_FRIEND_ENABLED,
#else
.frnd = BT_MESH_FRIEND_NOT_SUPPORTED,
#endif
Expand Down

0 comments on commit 35dcab9

Please sign in to comment.