send_cdc_request() function
Send CDC specific request Helper function that will send CDC specific request to default endpoint. Both IN and OUT requests are sent through this API, depending on the in_transfer parameter. @see Chapter 6.2, USB CDC specification rev. 1.2
Arguments
cdc_dev
Pointer to CDC device
in_transfer
Direction of data phase. true: IN, false: OUT
data
Pointer to data buffer. Input for OUT transfers, output for IN transfers.
data_len
Length of data buffer
value
Value to be set in bValue of Setup packet
Return value
esp_err_t
Notes
CDC specific requests are only supported by devices that have dedicated management element.