* Re: GPRS re-connect problem
2012-06-21 10:51 GPRS re-connect problem August Mayer
@ 2012-06-19 8:30 ` Denis Kenzior
2012-06-25 8:17 ` August Mayer
0 siblings, 1 reply; 3+ messages in thread
From: Denis Kenzior @ 2012-06-19 8:30 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1156 bytes --]
Hi August,
On 06/21/2012 05:51 AM, August Mayer wrote:
> Hello,
>
> When connecting again to GPRS / PPP, after an Internet connection has
> been closed previously, the connection seems to fail. It looks like the
> ofono_modem serial data channel is completely closed when a PPP
> connection is shut down. I'm using a Telit Modem, which provides several
> serial ports, and am right now using separate serials for the AT chat
> and the data/PPP; for this reason, the AT chat continues working, but
> the data channel is dead.
>
Something similar was happening on Qualcomm based modems from Huawei,
ZTE, etc. The modem was sending a HUP on the PPP channel after PPP link
was dropped. I believe the preferred solution was to send AT&C0 when
initializing that port.
> My question is, is it somehow necessary to re-initialise the modem data
> serial channel after a PPP connection? Or could there be a conceptual
> problem that I have overlooked?
>
This can be possible as well. See commit
7ed56d6844f8131cbf981e482b7bded8b20db7ab for another possible solution
(prior to &C0) that can be used as well.
Regards,
-Denis
^ permalink raw reply [flat|nested] 3+ messages in thread
* GPRS re-connect problem
@ 2012-06-21 10:51 August Mayer
2012-06-19 8:30 ` Denis Kenzior
0 siblings, 1 reply; 3+ messages in thread
From: August Mayer @ 2012-06-21 10:51 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 724 bytes --]
Hello,
When connecting again to GPRS / PPP, after an Internet connection has
been closed previously, the connection seems to fail. It looks like the
ofono_modem serial data channel is completely closed when a PPP
connection is shut down. I'm using a Telit Modem, which provides several
serial ports, and am right now using separate serials for the AT chat
and the data/PPP; for this reason, the AT chat continues working, but
the data channel is dead.
My question is, is it somehow necessary to re-initialise the modem data
serial channel after a PPP connection? Or could there be a conceptual
problem that I have overlooked?
Many thanks & greetings August
--
Scanned by MailScanner.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GPRS re-connect problem
2012-06-19 8:30 ` Denis Kenzior
@ 2012-06-25 8:17 ` August Mayer
0 siblings, 0 replies; 3+ messages in thread
From: August Mayer @ 2012-06-25 8:17 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1561 bytes --]
Hello Denis,
Wow, that was it exactly! After initialising with AT&C0, the serial data
connection isn't closed anymore. Never thought that the close would
originate from the modem!
Many thanks for your help & greetings August
Am 2012-06-19 10:30, schrieb Denis Kenzior:
> Hi August,
>
> On 06/21/2012 05:51 AM, August Mayer wrote:
>> Hello,
>>
>> When connecting again to GPRS / PPP, after an Internet connection has
>> been closed previously, the connection seems to fail. It looks like the
>> ofono_modem serial data channel is completely closed when a PPP
>> connection is shut down. I'm using a Telit Modem, which provides several
>> serial ports, and am right now using separate serials for the AT chat
>> and the data/PPP; for this reason, the AT chat continues working, but
>> the data channel is dead.
>>
>
> Something similar was happening on Qualcomm based modems from Huawei,
> ZTE, etc. The modem was sending a HUP on the PPP channel after PPP
> link was dropped. I believe the preferred solution was to send AT&C0
> when initializing that port.
>
>> My question is, is it somehow necessary to re-initialise the modem data
>> serial channel after a PPP connection? Or could there be a conceptual
>> problem that I have overlooked?
>>
>
> This can be possible as well. See commit
> 7ed56d6844f8131cbf981e482b7bded8b20db7ab for another possible solution
> (prior to &C0) that can be used as well.
>
> Regards,
> -Denis
>
> --
> Scanned by MailScanner.
>
--
Scanned by MailScanner.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-25 8:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-21 10:51 GPRS re-connect problem August Mayer
2012-06-19 8:30 ` Denis Kenzior
2012-06-25 8:17 ` August Mayer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.