mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-10 15:44:32 +00:00
avrcp: add response timer
This commit is contained in:
parent
67e243742c
commit
7722acd245
@ -574,6 +574,7 @@ static avrcp_connection_t * avrcp_create_connection(avrcp_role_t role, bd_addr_t
|
||||
static void avrcp_finalize_connection(avrcp_connection_t * connection){
|
||||
btstack_run_loop_remove_timer(&connection->retry_timer);
|
||||
btstack_run_loop_remove_timer(&connection->controller_press_and_hold_cmd_timer);
|
||||
btstack_run_loop_remove_timer(&connection->controller_response_cmd_timer);
|
||||
btstack_linked_list_remove(&avrcp_connections, (btstack_linked_item_t*) connection);
|
||||
btstack_memory_avrcp_connection_free(connection);
|
||||
}
|
||||
|
@ -714,6 +714,8 @@ typedef struct {
|
||||
bool controller_press_and_hold_cmd_active;
|
||||
bool controller_press_and_hold_cmd_release;
|
||||
|
||||
btstack_timer_source_t controller_response_cmd_timer;
|
||||
|
||||
avrcp_remote_capabilities_state_t remote_capabilities_state;
|
||||
bool controller_notifications_supported_by_target_suppress_emit_result;
|
||||
uint16_t controller_initial_status_reported;
|
||||
|
Loading…
x
Reference in New Issue
Block a user