Home
last modified time | relevance | path

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

/btstack/src/ble/
H A Dgatt_client.c528 if (gatt_client->attribute_offset >= gatt_client->attribute_length) { in write_blob_length()
531 uint16_t rest_length = gatt_client->attribute_length - gatt_client->attribute_offset; in write_blob_length()
600 if (gatt_client->attribute_offset == 0){ in send_gatt_read_blob_request()
604 gatt_client->attribute_offset); in send_gatt_read_blob_request()
630 gatt_client->attribute_offset, write_blob_length(gatt_client), in send_gatt_prepare_write_request()
1318 gatt_client->attribute_offset += write_blob_length(gatt_client); in trigger_next_prepare_write_query()
1336 gatt_client->attribute_offset += received_blob_length; in trigger_next_blob_query()
1384 if (gatt_client->attribute_offset != value_offset) return false; in is_value_valid()
1385 …return memcmp(&gatt_client->attribute_value[gatt_client->attribute_offset], &packet[5], size - 5u)… in is_value_valid()
1915 size - 1u, gatt_client->attribute_offset); in gatt_client_handle_att_read_response()
[all …]
H A Dgatt_client.h249 uint16_t attribute_offset; member
/btstack/src/classic/
H A Dhid_host.c392 …dp_hid_descriptor_list(hid_host_connection_t * connection, uint16_t attribute_offset, uint8_t data… in hid_host_handle_sdp_hid_descriptor_list() argument
411 if (attribute_offset == 0){ in hid_host_handle_sdp_hid_descriptor_list()
544 uint16_t attribute_offset; in hid_host_handle_sdp_client_query_result() local
550 attribute_offset = sdp_event_query_attribute_byte_get_data_offset(packet); in hid_host_handle_sdp_client_query_result()
564 … hid_host_handle_sdp_hid_descriptor_list(connection, attribute_offset, attribute_data); in hid_host_handle_sdp_client_query_result()
575 hid_host_sdp_attribute_value[attribute_offset] = attribute_data; in hid_host_handle_sdp_client_query_result()
577 …if ((uint16_t)(attribute_offset + 1) == sdp_event_query_attribute_byte_get_attribute_length(packet… in hid_host_handle_sdp_client_query_result()