linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Detecting end of GSM datacall
@ 2005-04-18  9:58 Timo Teräs
  2005-04-18 13:25 ` Steve Drew
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Timo Teräs @ 2005-04-18  9:58 UTC (permalink / raw)
  To: linux-ppp

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-04-20 11:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-18  9:58 Detecting end of GSM datacall Timo Teräs
2005-04-18 13:25 ` 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

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).