[PATCH 1/2] gprs: Support probing provision data from device.

2012-12-05 Thread Forest Bond
From: Forest Bond forest.b...@rapidrollout.com Many devices retain previously defined PDP context parameters. Now drivers can retrieve and store this information during probe and it is used as a fallback if normal provisioning fails. --- include/gprs.h |3 +++ src/gprs.c | 12

[PATCH 2/2] atmodem: Probe device for previous APN.

2012-12-05 Thread Forest Bond
From: Forest Bond forest.b...@rapidrollout.com If the device has retained parameters for a previously defined IP context, is is probed via AT+CGDCONT?. --- drivers/atmodem/gprs.c | 55 ++- 1 files changed, 53 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 2/2] atmodem: Probe device for previous APN.

2012-12-05 Thread Marcel Holtmann
Hi Forest, If the device has retained parameters for a previously defined IP context, is is probed via AT+CGDCONT?. this is really not a good idea. The AT+CGDCONT? settings are on a per device basis. That is not how oFono actually works. It operates on a per SIM card basis. And since you do

Re: [PATCH 2/2] atmodem: Probe device for previous APN.

2012-12-05 Thread Denis Kenzior
Hi Forest, On 12/05/2012 08:54 PM, Forest Bond wrote: Hi Marcel, Thanks for your message. On Thu, Dec 06, 2012 at 12:12:26AM +0100, Marcel Holtmann wrote: Hi Forest, If the device has retained parameters for a previously defined IP context, is is probed via AT+CGDCONT?. this is really