Home
last modified time | relevance | path

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

/btstack/test/sdp_client/
H A Dgeneral_sdp_query.cpp102 uint8_t * attribute_value = NULL; variable
108 uint8_t * new_attribute = (uint8_t *) realloc(attribute_value, attribute_value_buffer_size); in assertBuffer()
110 attribute_value = new_attribute; in assertBuffer()
158attribute_value[sdp_event_query_attribute_byte_get_data_offset(packet)] = sdp_event_query_attribut… in handle_sdp_parser_event()
171 attribute_value = (uint8_t*) malloc(attribute_value_buffer_size); in TEST_GROUP()
190 CHECK_EQUAL(expected_attribute_value[i], attribute_value[i]); in TEST()
H A Dservice_attribute_search_query.cpp46 uint8_t * attribute_value = NULL; variable
52 uint8_t * new_attribute = (uint8_t *) realloc(attribute_value, attribute_value_buffer_size); in assertBuffer()
54 attribute_value = new_attribute; in assertBuffer()
104attribute_value[sdp_event_query_attribute_byte_get_data_offset(packet)] = sdp_event_query_attribut… in handle_sdp_parser_event()
117 attribute_value = (uint8_t*) malloc(attribute_value_buffer_size); in TEST_GROUP()
137 CHECK_EQUAL(expected_attribute_value[i], attribute_value[i]); in TEST()
/btstack/example/
H A Dsdp_bnep_query.c61 static uint8_t attribute_value[1000]; variable
62 static const int attribute_value_buffer_size = sizeof(attribute_value);
177attribute_value[sdp_event_query_attribute_byte_get_data_offset(packet)] = sdp_event_query_attribut… in handle_sdp_client_query_result()
188 if (de_get_element_type(attribute_value) != DE_DES) break; in handle_sdp_client_query_result()
189 …for (des_iterator_init(&des_list_it, attribute_value); des_iterator_has_more(&des_list_it); des_it… in handle_sdp_client_query_result()
209 get_string_from_data_element(attribute_value, sizeof(str), str); in handle_sdp_client_query_result()
224 …for (des_iterator_init(&des_list_it, attribute_value); des_iterator_has_more(&des_list_it); des_it… in handle_sdp_client_query_result()
H A Dpanu_demo.c84 static uint8_t attribute_value[1000]; variable
85 static const unsigned int attribute_value_buffer_size = sizeof(attribute_value);
215attribute_value[sdp_event_query_attribute_byte_get_data_offset(packet)] = sdp_event_query_attribut… in handle_sdp_client_query_result()
221 if (de_get_element_type(attribute_value) != DE_DES) break; in handle_sdp_client_query_result()
222 …for (des_iterator_init(&des_list_it, attribute_value); des_iterator_has_more(&des_list_it); des_it… in handle_sdp_client_query_result()
240 get_string_from_data_element(attribute_value, sizeof(str), str); in handle_sdp_client_query_result()
246 …for (des_iterator_init(&des_list_it, attribute_value); des_iterator_has_more(&des_list_it); des_it… in handle_sdp_client_query_result()
H A Dsdp_general_query.c69 static uint8_t attribute_value[1000]; variable
70 static const int attribute_value_buffer_size = sizeof(attribute_value);
163attribute_value[sdp_event_query_attribute_byte_get_data_offset(packet)] = sdp_event_query_attribut… in handle_sdp_client_query_result()
166 de_dump_data_element(attribute_value); in handle_sdp_client_query_result()
/btstack/src/ble/
H A Datt_db.c546 const uint8_t *attribute_value = &request_buffer[7]; in handle_find_by_type_value_request() local
550 log_info_hexdump(attribute_value, attribute_len); in handle_find_by_type_value_request()
592 …6(&it, attribute_type) && (attribute_len == it.value_len) && (memcmp(attribute_value, it.value, it… in handle_find_by_type_value_request()
1423 uint8_t attribute_value[2]; in gatt_server_get_handle_range_for_service_with_uuid16() local
1424 const uint16_t attribute_len = sizeof(attribute_value); in gatt_server_get_handle_range_for_service_with_uuid16()
1425 little_endian_store_16(attribute_value, 0, uuid16); in gatt_server_get_handle_range_for_service_with_uuid16()
1449 …&& new_service_started && (attribute_len == it.value_len) && (memcmp(attribute_value, it.value, it… in gatt_server_get_handle_range_for_service_with_uuid16()
1528 uint8_t attribute_value[16]; in gatt_server_get_handle_range_for_service_with_uuid128() local
1529 uint16_t attribute_len = (uint16_t)sizeof(attribute_value); in gatt_server_get_handle_range_for_service_with_uuid128()
1530 reverse_128(uuid128, attribute_value); in gatt_server_get_handle_range_for_service_with_uuid128()
[all …]
H A Dgatt_client.c620 gatt_client->attribute_value); in send_gatt_write_attribute_value_request()
631 gatt_client->attribute_value); in send_gatt_prepare_write_request()
657 … gatt_client->attribute_length, gatt_client->attribute_value, sign_counter, in send_gatt_signed_write_request()
1385 …return memcmp(&gatt_client->attribute_value[gatt_client->attribute_offset], &packet[5], size - 5u)… in is_value_valid()
1394 …lient->attribute_handle, gatt_client->attribute_length, gatt_client->attribute_value, sign_counter… in gatt_client_run_for_client_start_signed_write()
2539 gatt_client->attribute_value = message; in gatt_client_signed_write_without_response()
2900 gatt_client->attribute_value = value; in gatt_client_write_value_of_characteristic_with_context()
2920 gatt_client->attribute_value = value; in gatt_client_write_long_value_of_characteristic_with_offset()
2953 gatt_client->attribute_value = value; in gatt_client_reliable_write_long_value_of_characteristic()
3054 gatt_client->attribute_value = value; in gatt_client_write_characteristic_descriptor_using_descriptor_handle()
[all …]
H A Dgatt_client.h251 uint8_t* attribute_value; member
/btstack/platform/daemon/src/
H A Ddaemon.c238 static uint8_t attribute_value[1000]; variable
239 static const int attribute_value_buffer_size = sizeof(attribute_value);
1721attribute_value[sdp_event_query_attribute_byte_get_data_offset(packet)] = sdp_event_query_attribut… in handle_sdp_client_query_result()
1723 … log_info_hexdump(attribute_value, sdp_event_query_attribute_byte_get_attribute_length(packet)); in handle_sdp_client_query_result()
1731 … memcpy(&event[7], attribute_value, sdp_event_query_attribute_byte_get_attribute_length(packet)); in handle_sdp_client_query_result()
/btstack/src/classic/
H A Davrcp.h699 uint8_t attribute_value[AVRCP_MAX_ATTRIBUTE_SIZE]; member
H A Davrcp_controller.c504 …p_cid, ctype, (avrcp_media_attribute_id_t) attribute_id, connection->attribute_value, connection->… in avrcp_parser_process_byte()
510 connection->attribute_value[connection->attribute_value_offset++] = byte; in avrcp_parser_process_byte()
517 …p_cid, ctype, (avrcp_media_attribute_id_t) attribute_id, connection->attribute_value, connection->… in avrcp_parser_process_byte()
H A Davrcp_target.c234 …ute_value_len = btstack_snprintf_assert_complete((char *)connection->attribute_value, 11, "%" PRIu… in avrcp_get_attribute_value_from_u32()
238 return connection->attribute_value + connection->attribute_value_offset; in avrcp_get_attribute_value_from_u32()