Skip to content

Commit e1d4451

Browse files
LingaoMcarlescufi
authored andcommitted
bsim: bluetooth: mesh: Increase Net Transmit Count value on the node
This is to increase probability of reception of responses (Config Status messages) from the node when the provisioner sends a Set message and the node response with a Status message at the same time so that the message collide. Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
1 parent 1f4daca commit e1d4451

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/bsim/bluetooth/mesh/src/test_provision.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,6 +1572,9 @@ static void comp_data_get(uint16_t server_addr, uint8_t page, struct net_buf_sim
15721572
{
15731573
uint8_t page_rsp;
15741574

1575+
/* Let complete advertising of the transaction to prevent collisions. */
1576+
k_sleep(K_SECONDS(3));
1577+
15751578
net_buf_simple_reset(comp);
15761579
ASSERT_OK(bt_mesh_cfg_cli_comp_data_get(0, server_addr, page, &page_rsp, comp));
15771580
ASSERT_EQUAL(page, page_rsp);

0 commit comments

Comments
 (0)