Home
last modified time | relevance | path

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

/btstack/src/classic/
H A Davrcp_target.c235 connection->attribute_value_offset = 0; in avrcp_get_attribute_value_from_u32()
237 *num_bytes_to_copy = connection->attribute_value_len - connection->attribute_value_offset; in avrcp_get_attribute_value_from_u32()
238 return connection->attribute_value + connection->attribute_value_offset; in avrcp_get_attribute_value_from_u32()
255 connection->attribute_value_offset = 0; in avrcp_get_next_value_fragment_for_attribute_id()
257 …to_copy = connection->target_now_playing_info[attr_index].len - connection->attribute_value_offset; in avrcp_get_next_value_fragment_for_attribute_id()
258 …_t *) (connection->target_now_playing_info[attr_index].value + connection->attribute_value_offset); in avrcp_get_next_value_fragment_for_attribute_id()
280 if (connection->attribute_value_offset == 0){ in avrcp_store_avctp_now_playing_info_fragment()
302 … btstack_min(num_free_bytes, connection->attribute_value_len - connection->attribute_value_offset); in avrcp_store_avctp_now_playing_info_fragment()
306 connection->attribute_value_offset += num_attr_value_bytes_to_store; in avrcp_store_avctp_now_playing_info_fragment()
309 if (connection->attribute_value_offset == connection->attribute_value_len){ in avrcp_store_avctp_now_playing_info_fragment()
[all …]
H A Davrcp_controller.c510 connection->attribute_value[connection->attribute_value_offset++] = byte; in avrcp_parser_process_byte()
513 if (connection->attribute_value_offset < connection->attribute_value_len) return; in avrcp_parser_process_byte()
520 if (connection->attribute_value_offset < attribute_total_value_len){ in avrcp_parser_process_byte()
530 connection->attribute_value_offset++; in avrcp_parser_process_byte()
534 if (connection->attribute_value_offset < attribute_total_value_len) return; in avrcp_parser_process_byte()
548 connection->attribute_value_offset = 0; in avrcp_parser_process_byte()
H A Davrcp.h701 uint16_t attribute_value_offset; member