/Zephyr-latest/tests/bsim/bluetooth/host/misc/disable/src/ |
D | gatt_server_test.c | 47 static uint8_t chrc_data[CHRC_SIZE]; variable 55 (void *)chrc_data, sizeof(chrc_data)); in read_test_chrc() 65 if (len > sizeof(chrc_data)) { in write_test_chrc() 68 } else if (offset + len > sizeof(chrc_data)) { in write_test_chrc() 78 (void)memcpy(chrc_data + offset, buf, len); in write_test_chrc()
|
D | gatt_client_test.c | 25 static uint8_t chrc_data[] = { LISTIFY(CHRC_SIZE, ARRAY_ITEM, (,)) }; /* 1, 2, 3 ... */ variable 190 write_params.data = chrc_data; in gatt_write() 191 write_params.length = sizeof(chrc_data); in gatt_write() 222 memcmp(data, chrc_data, length) != 0) { in gatt_read_cb()
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/general/src/ |
D | gatt_server_test.c | 55 static uint8_t chrc_data[CHRC_SIZE]; variable 63 (void *)chrc_data, sizeof(chrc_data)); in read_test_chrc() 73 if (len > sizeof(chrc_data)) { in write_test_chrc() 76 } else if (offset + len > sizeof(chrc_data)) { in write_test_chrc() 86 (void)memcpy(chrc_data + offset, buf, len); in write_test_chrc()
|
D | gatt_client_test.c | 27 static uint8_t chrc_data[] = { LISTIFY(CHRC_SIZE, ARRAY_ITEM, (,)) }; /* 1, 2, 3 ... */ variable 221 write_params.data = chrc_data; in gatt_write() 222 write_params.length = sizeof(chrc_data); in gatt_write() 229 write_params.data = chrc_data; in gatt_write() 230 write_params.length = sizeof(chrc_data); in gatt_write() 233 write_params.data = chrc_data; in gatt_write() 234 write_params.length = sizeof(chrc_data); in gatt_write() 284 memcmp(data_received, chrc_data, data_received_size) != 0) { in gatt_read_cb() 295 memcmp(data_received, chrc_data, data_received_size) != 0) { in gatt_read_cb() 300 memcmp(data_received, chrc_data, data_received_size) != 0) { in gatt_read_cb()
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify/src/ |
D | gatt_server_test.c | 18 const uint8_t chrc_data[] = { LISTIFY(CHRC_SIZE, ARRAY_ITEM, (,)) }; /* 1, 2, 3 ... */ variable 65 return bt_gatt_attr_read(conn, attr, buf, len, offset, (void *)chrc_data, in read_test_chrc() 66 sizeof(chrc_data)); in read_test_chrc() 124 .data = chrc_data, in short_notify()
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/authorization/src/ |
D | gatt_client_test.c | 25 static uint8_t chrc_data[] = { LISTIFY(CHRC_SIZE, ARRAY_ITEM, (,)) }; /* 1, 2, 3 ... */ variable 201 write_params.data = chrc_data; in gatt_write() 202 write_params.length = sizeof(chrc_data); in gatt_write() 249 if ((length != CHRC_SIZE) || (memcmp(data, chrc_data, length) != 0)) { in gatt_read_cb()
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/caching/src/ |
D | gatt_server_test.c | 67 static const uint8_t chrc_data[] = { LISTIFY(CHRC_SIZE, ARRAY_ITEM, (,)) }; /* 1, 2, 3 ... */ variable 74 return bt_gatt_attr_read(conn, attr, buf, len, offset, (const void *)chrc_data, CHRC_SIZE); in read_test_chrc()
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify_multiple/src/ |
D | gatt_server_test.c | 18 const uint8_t chrc_data[] = { LISTIFY(CHRC_SIZE, ARRAY_ITEM, (,)) }; /* 1, 2, 3 ... */ variable 112 .data = chrc_data, in multiple_notify()
|
/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_gatt.c | 435 struct bt_gatt_chrc *chrc_data; in alloc_characteristic() local 444 sizeof(*chrc_data)); in alloc_characteristic() 479 server_buf_pull(sizeof(*chrc_data)); in alloc_characteristic() 485 chrc_data = attr_chrc->user_data; in alloc_characteristic() 486 chrc_data->properties = ch->properties; in alloc_characteristic() 487 chrc_data->uuid = attr_value->uuid; in alloc_characteristic()
|