mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
5fc18ffc04
- 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);
|