Home
last modified time | relevance | path

Searched refs:recvd_msgs (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_brg.c57 static uint8_t recvd_msgs[10]; variable
68 BUILD_ASSERT((2 /* opcode */ + 1 /* type */ + 1 /* msgs cnt */ + sizeof(recvd_msgs) +
71 BUILD_ASSERT((2 /* opcode */ + 1 /* type */ + 1 /* msgs cnt */ + sizeof(recvd_msgs) +
317 ASSERT_EQUAL(recvd_msgs_cnt * sizeof(recvd_msgs[0]), length - 2); in tester_data_cb()
318 memcpy(recvd_msgs, &data[2], recvd_msgs_cnt * sizeof(recvd_msgs[0])); in tester_data_cb()
392 ASSERT_TRUE_MSG(recvd_msgs_cnt < ARRAY_SIZE(recvd_msgs), "Too many messages"); in device_data_cb()
394 recvd_msgs[recvd_msgs_cnt] = data[1]; in device_data_cb()
400 uint8_t test_data[1 /*type */ + 1 /* msgs cnt */ + sizeof(recvd_msgs)] = { in device_data_cb()
403 memcpy(&test_data[2], recvd_msgs, recvd_msgs_cnt * sizeof(recvd_msgs[0])); in device_data_cb()
406 2 + recvd_msgs_cnt * sizeof(recvd_msgs[0]), NULL, in device_data_cb()
[all …]