cdc_acm_transfers_allocate() function
Allocate CDC transfers
Arguments
cdc_dev
Pointer to CDC device
notif_ep_desc
Pointer to notification EP descriptor
in_buf_len
Length of data IN buffer
out_ep_desc
Pointer to data OUT EP descriptor
out_buf_len
Length of data OUT buffer
Return value
- ESP_OK: Success - ESP_ERR_NO_MEM: Not enough memory for transfers and semaphores allocation - ESP_ERR_NOT_FOUND: IN or OUT endpoints were not found in the selected interface