slorquet commented on issue #7138:
URL: 
https://github.com/apache/incubator-nuttx/issues/7138#issuecomment-1282190472

   Hi,
   
   using the latest nuttx the problem is there, but in a subtly different use 
case.
   It happens when exchanging several commands with my device.
   The dialog is a number of exchanges, I send a command and wait for answer. I 
observe that frame reception is called twice in rapid succession as if the 
write was instantaneous, and without effect.
   
   it seems that write() is NOT blocking waiting for the end of current data to 
send, and data is lost. This is similar to the original issue where the work 
done by write() was canceled at uart close.
   
   the write() definitely has a buffering problem and I have no idea where. I 
am using tcdrain in the command transmission and no flush, the uart is opened 
in blocking mode. 


-- 
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