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/sms.c

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: [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 out).

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 use

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

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 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 implementation

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 GPRS

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

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 to

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