Hi Russell,
Thank you for all the help. I have finally got
the call through.
The problem was my configuration of the irport.
After changing it to the following, it work:
int config_modem()
{
struct termios options;
int fd_ir;
if((fd_ir = open(IR_PORT_NAME, O_RDWR|O_NOCTTY)) < 0)
{
perror("error opening port");
return -1;
}
fcntl(fd_ir, F_SETFL, FNDELAY);
tcgetattr(fd_ir, &options);
options.c_cflag |= BAUDRATE | CRTSCTS | CLOCAL |
CS8 | CREAD;
options.c_lflag &= ~(ICANON | ECHO | ECHOE | ISIG);
options.c_oflag &= ~OPOST;
options.c_cc[VMIN] = 0;
options.c_cc[VTIME] = 5;
tcsetattr(fd_ir, TCSANOW, &options);
return fd_ir;
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Wed, 21 Nov 2001 16:58:55 +0000
Russell King - ARM Linux wrote :
It's quite possible that the transmission from
the phone is corrupting
data being read from the IrDA transceiver on the
Assabet. You might
like to check to see if 'ifconfig irda0' reports
any errors. You
should also check that the case of the assabet
IrDA transciever is
grounded.
______________________________________________________________
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.