ohk budd...i will try somewhere else..thx fr ur suport..u enjoy ur bath at beach[:d]
Type: Posts; User: tejendra
ohk budd...i will try somewhere else..thx fr ur suport..u enjoy ur bath at beach[:d]
ya i know....but nobody has given me the answer yet...so what should i do..:mad:
I am doing serial port communication. And i know how to open and configure the port and how to read and write data on serial port.
Now i want to create two threads one is Writer thread and...
I have opened and configure a serial port in linux. Now i have to create two threads a WRITER THREAD which can write data into a buffer on serial port and a READER THREAD which can read data from...
boss your program is quite fascinating but i need a simple thing which is HOW A THREAD CAN READ A SERIAL PORT AND HOW A THREAD CAN WRITE A SERIAL PORT
please be specific because i only want to use...
where have you created the thread and how will it read the tty0 port??
I think the more suitable approach will be creating a thread with posix library as pthread_create and in the start_routine we...
ya i will return it but this code is running,i will return the value once it is completed after writing code for creating threads and reading and writing data from serial port. Now please help me out...
My code look like this after opening and configuring the baud rates of the ports
#include<stdio.h> // Standard Input/output definations
#include<unistd.h> // UNIX standard function definations ...
i have done it already...now all i have to do is create two threads one is reader thread and another writer thread, reader will read data on serial port written by the writer; actually i am not...
the operating sytem is linux(ubuntu). kernel version 2.6.38-rc4.i am reading and writing on tty0 port.
i think hardware shouldn't matter.
I am creating a simple application in which i will open a serial port and configure it and make two threads one is reader thread and second is writer thread. writer thread will write on serial port...