esp-idf/components/usb/test_apps/usb_host/main/multiconf_client.h
Peter Marcisovsky 5fc18ffc04 feat(usb/host): multiconfiguration support
- 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
2024-07-29 12:20:16 +02:00

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);