Lines Matching refs:gctx

23 static struct bt_mesh_msg_ctx gctx = {.net_idx = 0,  variable
55 gctx.rnd_delay = false; in bt_mesh_access_send()
57 gctx.rnd_delay = true; in bt_mesh_access_send()
96 ztest_expect_data(bt_mesh_access_send, ctx, &gctx); in set_expectation()
119 zassert_equal(gctx.net_idx, 0); in tc_teardown()
120 zassert_equal(gctx.app_idx, 0); in tc_teardown()
121 zassert_equal(gctx.addr, 0); in tc_teardown()
122 zassert_equal(gctx.recv_dst, RX_ADDR); in tc_teardown()
123 zassert_is_null(gctx.uuid); in tc_teardown()
124 zassert_equal(gctx.recv_rssi, 0); in tc_teardown()
125 zassert_equal(gctx.recv_ttl, 0x05); in tc_teardown()
126 zassert_false(gctx.send_rel); in tc_teardown()
127 zassert_true(gctx.rnd_delay); in tc_teardown()
128 zassert_equal(gctx.send_ttl, 0x06); in tc_teardown()
148 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf, SRC_ADDR, &send_cb, &buf_id)); in ZTEST()
181 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf1, SRC_ADDR, &send_cb, &buf1_id)); in ZTEST()
183 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf2, SRC_ADDR, &send_cb, &buf2_id)); in ZTEST()
185 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf3, SRC_ADDR, &send_cb, &buf3_id)); in ZTEST()
187 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf4, SRC_ADDR, &send_cb, &buf4_id)); in ZTEST()
224 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf, SRC_ADDR, &send_cb, &buf_id1)); in ZTEST()
226 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf, SRC_ADDR, &send_cb, &buf_id2)); in ZTEST()
228 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf, SRC_ADDR, &send_cb, &buf_id3)); in ZTEST()
230 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf, SRC_ADDR, &send_cb, &buf_id4)); in ZTEST()
232 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf, SRC_ADDR, &send_cb, &buf_id5)); in ZTEST()
257 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf1, SRC_ADDR, &send_cb, &buf_id1)); in ZTEST()
258 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf1, SRC_ADDR, &send_cb, &buf_id2)); in ZTEST()
259 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf1, SRC_ADDR, &send_cb, &buf_id3)); in ZTEST()
260 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf2, SRC_ADDR, &send_cb, &buf_id4)); in ZTEST()
286 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf1, SRC_ADDR, &send_cb, &buf_id)); in ZTEST()
294 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf2, SRC_ADDR, &send_cb, &buf_id)); in ZTEST()
303 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf3, SRC_ADDR, &send_cb, &buf_id)); in ZTEST()
330 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf, SRC_ADDR, &send_cb, &buf_id1)); in ZTEST()
331 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf, SRC_ADDR, &send_cb, &buf_id2)); in ZTEST()
332 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf, SRC_ADDR, &send_cb, &buf_id3)); in ZTEST()
333 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf, SRC_ADDR, &send_cb, &buf_id4)); in ZTEST()