Home
last modified time | relevance | path

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

/btstack/test/gatt_client/
H A Dgatt_client_test.cpp231 int blob_length = value_length - offset; in copy_bytes() local
232 if (blob_length >= buffer_size) blob_length = buffer_size; in copy_bytes()
234 memcpy(buffer, &value[offset], blob_length); in copy_bytes()
235 return blob_length; in copy_bytes()
/btstack/src/ble/
H A Dgatt_client.c505 … uint16_t value_offset, uint16_t blob_length, uint8_t *value) { in att_prepare_write_request() argument
511 (void)memcpy(&request[5], &value[value_offset], blob_length); in att_prepare_write_request()
513 return gatt_client_send(gatt_client, 5u + blob_length); in att_prepare_write_request()
1234 …t_t * gatt_client, uint16_t attribute_handle, uint8_t * blob, uint16_t blob_length, int value_offs… in report_gatt_long_characteristic_value_blob() argument
1238 blob, blob_length); in report_gatt_long_characteristic_value_blob()
1239 …emit_event_new(gatt_client->callback, packet, blob_length + LONG_CHARACTERISTIC_VALUE_EVENT_HEADER… in report_gatt_long_characteristic_value_blob()
1250 …t_t * gatt_client, uint16_t descriptor_handle, uint8_t *blob, uint16_t blob_length, uint16_t value… in report_gatt_long_characteristic_descriptor() argument
1254 blob, blob_length); in report_gatt_long_characteristic_descriptor()
1255 …emit_event_new(gatt_client->callback, packet, blob_length + LONG_CHARACTERISTIC_VALUE_EVENT_HEADER… in report_gatt_long_characteristic_descriptor()