Lines Matching refs:expected_response

206 	const uint8_t expected_response[] = { ATT_EXCHANGE_MTU_RESPONSE, att_connection.max_mtu, 0};  in TEST()  local
207 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
222 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, ATT_READ_MULTIPLE_REQUEST, 0, 0, ATT_ERRO… in TEST() local
223 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
224 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
233 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, ATT_READ_MULTIPLE_REQUEST, 0, 0, ATT_ERRO… in TEST() local
234 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
235 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
245 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, ATT_READ_MULTIPLE_REQUEST, 0, 0, ATT_ERRO… in TEST() local
246 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
247 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
257 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, ATT_READ_MULTIPLE_REQUEST, value_handles[… in TEST() local
258 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
259 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
270 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, ATT_READ_MULTIPLE_REQUEST, value_handles[… in TEST() local
271 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
272 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
283 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, ATT_READ_MULTIPLE_REQUEST, value_handles[… in TEST() local
284 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
285 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
299 …const uint8_t expected_response[] = {ATT_READ_MULTIPLE_RESPONSE, 0x64, 0x10, 0x06, 0x00, 0x1B, 0x2… in TEST() local
300 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
301 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
317 const uint8_t expected_response[] = {ATT_READ_MULTIPLE_RESPONSE, 0x64}; in TEST() local
318 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
319 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
334 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, att_request[0], 0x00, 0x00, ATT_ERROR_INV… in TEST() local
335 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
336 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
344 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, att_request[0], 0x00, 0x00, ATT_ERROR_INV… in TEST() local
345 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
346 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
356 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, att_request[0], att_request[1], att_reque… in TEST() local
357 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
358 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
369 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, att_request[0], att_request[1], att_reque… in TEST() local
370 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
371 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
383 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, att_request[0], att_request[1], att_reque… in TEST() local
384 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
385 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
395 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, att_request[0], att_request[1], att_reque… in TEST() local
396 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
397 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
407 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, att_request[0], att_request[1], att_reque… in TEST() local
408 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
409 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
424 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, att_request[0], att_request[1], att_reque… in TEST() local
425 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
426 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
454 const uint8_t expected_response[] = {ATT_WRITE_RESPONSE}; in TEST() local
455 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
456 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
469 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, att_request[0], 0x00, 0x00, ATT_ERROR_INV… in TEST() local
470 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
471 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
481 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, att_request[0], att_request[1], att_reque… in TEST() local
482 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
483 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
493 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, att_request[0], att_request[1], att_reque… in TEST() local
494 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
495 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
505 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, att_request[0], att_request[1], att_reque… in TEST() local
506 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
507 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
517 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, att_request[0], att_request[1], att_reque… in TEST() local
518 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
519 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
528 …const uint8_t expected_response[] = {ATT_ERROR_RESPONSE, att_request[0], att_request[1], att_reque… in TEST() local
529 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
530 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
583 const uint8_t expected_response[] = {ATT_PREPARE_WRITE_RESPONSE, 0x11, 0x00, 0x10, 0x00}; in TEST() local
584 MEMCMP_EQUAL(expected_response, att_response, att_response_len); in TEST()
585 CHECK_EQUAL(sizeof(expected_response), att_response_len); in TEST()
592 uint16_t expected_response = 0x2A38; in TEST() local
593 CHECK_EQUAL(expected_response, uuid); in TEST()
597 expected_response = 0; in TEST()
598 CHECK_EQUAL(expected_response, uuid); in TEST()
602 expected_response = 0; in TEST()
603 CHECK_EQUAL(expected_response, uuid); in TEST()