How to check Serial Write is complete in Raspberry Pi Python
Hi In my Project my raspberry pi act as a server and whenever the data came from the tcp client it is writing the same data in Serial Uart but when doing write operation in Serial Uart some character is missing If i insert some delay after the serial write it is working fine but i want to be working without giving any delay after the Serial Uart write operation so i need to find whether the write process for Serial Uart is complete or not please guide me to achieve the solution below is my code