From: "Timo Teräs" <ext-timo.teras@nokia.com>
To: linux-ppp@vger.kernel.org
Subject: Detecting end of GSM datacall
Date: Mon, 18 Apr 2005 09:58:16 +0000 [thread overview]
Message-ID: <426384B8.6050809@nokia.com> (raw)
Hi,
I'm currently using PPP with GSM datacalls (PC connected using Bluetooth
to mobile phone) and it works just fine. However, if I terminate the
phone call from my mobile phone the loss of link is not detected.
I tracked down the reason: since the PPP link is between PC and remote
computer, the mobile phone does not send any PPP packets that the link
is dead. Instead it just sends '\r\nNO CARRIER\r\n'. And leaves the
Bluetooth connection in AT command mode. Thus PPP stays happily up.
This AT info is received by the PPP async driver, but it stores it and
does not process it since PPP_FLAG is never received in ppp_async_input().
Now I'm wondering what would be the proper way to fix this?
Thanks,
Timo
next reply other threads:[~2005-04-18 9:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-18 9:58 Timo Teräs [this message]
2005-04-18 13:25 ` Detecting end of GSM datacall Steve Drew
2005-04-18 13:34 ` Timo Teräs
2005-04-18 14:38 ` Jar
2005-04-18 21:19 ` Clifford Kite
2005-04-18 21:40 ` Herbert Xu
2005-04-19 14:37 ` Clifford Kite
2005-04-20 0:28 ` Paul Mackerras
2005-04-20 11:11 ` Timo Teräs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=426384B8.6050809@nokia.com \
--to=ext-timo.teras@nokia.com \
--cc=linux-ppp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).