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

   ## Summary
   
   cdcacm exit wq after copy all received data
   
   ## Impact
   
   Fix issue: When the SIM CDCACM host receives data, the second packet data 
reception is incorrect.
   
   ## Testing
   
   1. Compile usbhost: `./build.sh sim:usbhost -j8`
   2. Start usbhost: `sudo nuttx/nuttx`
   3. Compile usbdev: `./build.sh sim:usbdev -j8`
   4. Start usbdev: `sudo nuttx/nuttx`
   5. Enable usbdev as cdcacm:  input `conn 1` 
   6. In usbhost, input `cat /dev/ttyACM0 &`
   7. In usbdev, input `echo hello > /dev/ttyACM0` multiple times. 
   Note that the second `hello` does not display correctly in usbhost.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to