Home
last modified time | relevance | path

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

/Zephyr-latest/tests/bsim/bluetooth/host/gatt/general/src/
Dgatt_client_test.c30 static uint16_t data_received_size; variable
272 if (data_received_size + length > sizeof(data_received)) { in gatt_read_cb()
273 FAIL("Invalid amount of data received: %u\n", data_received_size + length); in gatt_read_cb()
275 memcpy(&data_received[data_received_size], data, length); in gatt_read_cb()
276 data_received_size += length; in gatt_read_cb()
283 if (data_received_size != CHRC_SIZE || in gatt_read_cb()
284 memcmp(data_received, chrc_data, data_received_size) != 0) { in gatt_read_cb()
288 if (data_received_size != LONG_CHRC_SIZE || in gatt_read_cb()
289 memcmp(data_received, long_chrc_data, data_received_size) != 0) { in gatt_read_cb()
294 if (data_received_size != CHRC_SIZE || in gatt_read_cb()
[all …]