Hi, I am running the module sa1100_ir on assabet.
I am wrtting a program to dial to another assabet to transfer data. But after connection, I can only write to the ir port but not receive from the remote end. In my program: I open the ir port: fd_ir = open(IR_PORT_NAME, O_RDWR|ONOCTTY); Write to the ir port: rtn_val = write(fd_ir, "AT\n\r", 4); To read from the ir port: nbytes = read(fd_ir, bufptr, 255); All these work find before I get connected. But once I dial and the connection is up, I am only able to send data but not receive data. After the call drop, I will be able to retrive all the data from the ir port that the remote party was sending. Could someone enlighten me on what is the problem. Cheers Vincent ______________________________________________________________ For the latest news, go to http://www.asia1.com _______________________________________________ http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm Please visit the above address for information on this list.
