cdc_acm_host_close() function
Close CDC device and release its resources
Arguments
cdc_hdl
CDC handle obtained from cdc_acm_host_open()
Return value
- ESP_OK: Success - device closed - ESP_ERR_INVALID_STATE: cdc_hdl is NULL or the CDC driver is not installed
Notes
All in-flight transfers will be prematurely canceled.