|
I tried to take away one modem while kannel was
running.
I had a keepalive command at+csq and keepalive =
60
I expected him to recognise it hadn't received an
OK
when sending the AT+CSQ command and a reconnect.
Instead in the log there was the AT+CSQ command
showed
and nothing else. When I reconnected the modem it was working
again.
So it seems that he never went out from this
loop:
in at2_write_line
while (1) { errno = 0; s = write(privdata->fd, octstr_get_cstr(linestr), count); if (s < 0 && errno == EAGAIN && write_count < RETRY_SEND) { gwthread_sleep(1); ++write_count; } else break; };
The only thing I can think about is that gwthread_sleep(1) has some problems under cygwin, but really I'm not sure about this. Any hint? Andrea |
