Re: URGENT RXTX SERIAL PORT
Nanou wrote:
> Opening the port seems good, i send data to the machine but when i read
> th response i have a buffer with bytes null.
It sounds as if you may be ignoring the value returned from read(). (If not
then I have no suggestions, I know nothing about serial port comms)
-- chris
.
Relevant Pages
- Re: Highly responsive serial port
... My problem consists of reading from a serial COM port as fluent as possible. ... If my reader only reads the input buffer after 50ms I'm too late to reply but I don't know it. ... Would a driver(in kernel mode) have enough priority to process such requests in time? ... a general rule of thumb in thread synchronization is to stay away from depending on "sleep" and loop designs in a vain attempt to synchronize I/O. ... (microsoft.public.win32.programmer.kernel) - Serial Communication in C# Express
... ago and I really appreciated Nicholas Paldino's help, ... > I can only achieve to transmit '34', ... After the usual port initialization, ... // Obtain the number of bytes waiting in the port's buffer ... (microsoft.public.dotnet.languages.csharp) - [PATCH] cpm_uart: Fix dpram allocation and non-console uarts
... Makes non-console UART work on both 8xx and 82xx ... static unsigned int cpm_uart_tx_empty(struct uart_port *port) ... /* Write back buffer pointer */ ... * Allocate DP-Ram and memory buffers. ... (Linux-Kernel) - Re: Serial COM port communication problems
... serial port. ... The receiving buffer is read by setting the mask to rx flag being the ... sub-packages arrive in succession and some sub-packages are lost. ... But this should not cause a loss of data, assuming you are reading the actual number of characters retured by WaitCommEvent. ... (microsoft.public.win32.programmer.kernel) - Re: Serial Communications - Lost Event
... "Completion of write" is a moment when all data from the app buffer is ... The driver can keep the data in its internal buffer ... > serial port monitoring and test applications. ... > of a serial port means when all of the data has been transfered. ... (microsoft.public.win32.programmer.kernel) |
|