Lines Matching full:received

108 	bool received;  in ZTEST()  local
141 /* For a short duration to see if response has been received */ in ZTEST()
142 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST()
143 zassert_true(received, "Expected to receive data but timed out"); in ZTEST()
149 /* Check that the received response matches the expected response */ in ZTEST()
150 zassert_equal(sizeof(response_old), nb->len, "Expected received data length mismatch"); in ZTEST()
151 zassert_mem_equal(response_old, nb->data, nb->len, "Expected received data mismatch"); in ZTEST()
153 /* Process received data by removing header */ in ZTEST()
195 bool received; in ZTEST() local
228 /* For a short duration to see if response has been received */ in ZTEST()
229 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST()
230 zassert_true(received, "Expected to receive data but timed out"); in ZTEST()
236 /* Check that the received response matches the expected response */ in ZTEST()
237 zassert_equal(sizeof(response_current), nb->len, "Expected received data length mismatch"); in ZTEST()
238 zassert_mem_equal(response_current, nb->data, nb->len, "Expected received data mismatch"); in ZTEST()
240 /* Process received data by removing header */ in ZTEST()
281 bool received; in ZTEST() local
314 /* For a short duration to see if response has been received */ in ZTEST()
315 received = smp_dummy_wait_for_data(SMP_RESPONSE_WAIT_TIME); in ZTEST()
316 zassert_true(received, "Expected to receive data but timed out"); in ZTEST()
322 /* Check that the received response matches the expected response */ in ZTEST()
323 zassert_equal(sizeof(response_new), nb->len, "Expected received data length mismatch"); in ZTEST()
324 zassert_mem_equal(response_new, nb->data, nb->len, "Expected received data mismatch"); in ZTEST()
326 /* Process received data by removing header */ in ZTEST()