yangsong8-a1 opened a new pull request, #16029:
URL: https://github.com/apache/nuttx/pull/16029

   ## Summary
   
   fix issue https://github.com/apache/nuttx/issues/16004.
   In cdcacm, USB req buf is directly used as serial buf, so the operation
   about buf status in ioctl is different from the original serial.
   1. Get the number of bytes that may be read from the RX buffer
   2. Get the number of bytes that have been written to the TX buffer
   3. Get the number of free bytes in the TX buffer
   4. Empty the tx/rx buffers
   
   ## Impact
   
   CDC/ACM
   
   ## Testing
   
   Follow the step in https://github.com/apache/nuttx/issues/16004. 
   Have tested on esp32s3-devkit board.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to