Re: GPRS support for Ofono

2009-09-01 Thread Rémi Denis-Courmont
On Tue, 01 Sep 2009 15:42:40 -0700, Marcel Holtmann wrote: > Our current assumption is that the basic setup of IP address, netmask > and broadcast are done by oFono. Only routing and DNS are up to other > programs like ConnMan for example. WHAAT? No way. There is just no way. We need t

Re: GPRS support for Ofono

2009-09-01 Thread Denis Kenzior
Hi Marcel, > > Service org.ofono > > Interface org.ofono.DataConnectionManager > > I think this should be GPRSManager or something to clearly separate > between GRPS connections and actual data connection, Two reasons for this: - Purpose of DataConnectionManager is easier to

Re: GPRS support for Ofono

2009-09-01 Thread Marcel Holtmann
Hi Denis, > So as it happens I had also been brainstorming a GPRS API for the last > several > days. And somewhat spontaneously a GPRS api discussion happened on IRC > between myself, Marcel and Ismo. The following GPRS API proposal is a result > of this discussion. I'd like all interested

Re: GPRS support for Ofono

2009-09-01 Thread Denis Kenzior
Everyone, So as it happens I had also been brainstorming a GPRS API for the last several days. And somewhat spontaneously a GPRS api discussion happened on IRC between myself, Marcel and Ismo. The following GPRS API proposal is a result of this discussion. I'd like all interested to comment.

RE: GPRS support for Ofono

2009-09-01 Thread Christensen, Mikkel
On Tue, Sep 01, 2009 at 15:17:36, Jean-Christian de Rivaz wrote: > Thanks for the explanation. I will start learning how phonet works. > But I expect there exists a PPP stack somewhere in phonet because the > modem I use don't have one. And I don't think it's possible to have a > IP link over GP

Re: GPRS support for Ofono

2009-09-01 Thread Rémi Denis-Courmont
Le mardi 1 septembre 2009 23:17:36 Jean-Christian de Rivaz, vous avez écrit : > Thanks for the explanation. I will start learning how phonet works. But > I expect there exists a PPP stack somewhere in phonet because the modem > I use don't have one. ISI modems have a PPP "server-side" implementati

Re: GPRS support for Ofono

2009-09-01 Thread Jean-Christian de Rivaz
Rémi Denis-Courmont a écrit : Le mardi 1 septembre 2009 22:02:43 Jean-Christian de Rivaz, vous avez écrit : With GPRS support, Ofono become very interesting! I failed to understand how the "isi_gprs" code in your patch communicate with a PPP stack. That would be because it does NOT use a PPP

RE: GPRS support for Ofono

2009-09-01 Thread Christensen, Mikkel
On Tue, Sep 01, 2009 at 14:02:43, Jean-Christian de Rivaz wrote: > I failed to understand how the "isi_gprs" code in your patch > communicate with a PPP stack. For example, I currently use a project > where the APN is configured and a connection open with it. Then a pppd > process is started to

Re: GPRS support for Ofono

2009-09-01 Thread Rémi Denis-Courmont
Le mardi 1 septembre 2009 22:02:43 Jean-Christian de Rivaz, vous avez écrit : > With GPRS support, Ofono become very interesting! > > I failed to understand how the "isi_gprs" code in your patch communicate > with a PPP stack. That would be because it does NOT use a PPP stack. ISI modems have the

Re: GPRS support for Ofono

2009-09-01 Thread Jean-Christian de Rivaz
Ismo Puustinen a écrit : I started working on Ofono GPRS support. Hello, With GPRS support, Ofono become very interesting! I failed to understand how the "isi_gprs" code in your patch communicate with a PPP stack. For example, I currently use a project where the APN is configured and a connec

Re: [PATCH 3/3] G1: Add G1-specific SMS support

2009-09-01 Thread Denis Kenzior
Hi Andres, > This is based on the atmodem SMS code, with lots of stuff dropped. > > The G1's modem advertises support for CNMI mode 2, but attempting to > set that actually fails. Instead, we _need_ to use mode 1. Along > those lines, CNMA doesn't appear to work properly, so we disable it > and

Re: [PATCH 2/3] G1: Add a G1 syntax for parsing

2009-09-01 Thread Denis Kenzior
Hi Andres, > This is based on the generic_at parser, with unnecessary stuff removed. > > The G1 routinely screws up CRLFs, so the parser needs to account for > that. This parser ignores leading CRLFs (which is what reference-ril > does as well), as well as trailing LFs (which are sometimes left o

Re: [PATCH 1/3] G1: Add initial HTC G1 modem support

2009-09-01 Thread Denis Kenzior
Hi Andres, > This series adds support for the HTC G1 phone (that is, the Google > phone). > > G1 plugin is based on generic_at, with a bunch of stuff dropped > and simplified. We use AT+CFUN=1 for powering on rather than having > a configurable init string. We also manually set the default state

Re: Write state of SMS assembly to disk and restore on startup.

2009-09-01 Thread Denis Kenzior
Hi Andrew, On Fri, Aug 21, 2009 at 9:40 PM, Andrzej Zaborowski < andrew.zaborow...@intel.com> wrote: > This way we can continue receiving segmented messages over a reset or > crash. > --- > src/common.c | 29 +++ > src/common.h | 10 +++ > src/sim.c| 34 > src/