mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 22:08:28 +00:00 
			
		
		
		
	- usb host reads device's configuration on request
    - a control transfer is sent
    - memory is allocated for a new descriptor
    - user must manually free the memory
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			444 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			444 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier: Apache-2.0
 | 
						|
 */
 | 
						|
 | 
						|
#include <stdint.h>
 | 
						|
 | 
						|
typedef struct {
 | 
						|
    SemaphoreHandle_t dev_open_smp;
 | 
						|
    uint8_t bConfigurationValue;
 | 
						|
} multiconf_client_test_param_t;
 | 
						|
 | 
						|
/**
 | 
						|
 * @brief Multiconfiguration client task
 | 
						|
 */
 | 
						|
void multiconf_client_async_task(void *arg);
 | 
						|
 | 
						|
/**
 | 
						|
 * @brief Get configuration descriptor
 | 
						|
 */
 | 
						|
void multiconf_client_get_conf_desc(void);
 |