GPRS support for Ofono
Denis Kenzior
denkenz at gmail.com
Tue Sep 1 15:50:25 PDT 2009
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 understand for people new to
GSM. Whereas GPRSManager really doesn't tell them anything. Everywhere else
we tend to use more easily understood terminology than what is used in the
specifications.
- GPRS is not easily Carmel-cased. E.g. we'd have to name it GprsManager.
> > object RemoveContext()
> >
> > Removes a primary context. All secondary contexts, if
> > any, associated with the primary context are also
> > removed.
>
> I assume this is void RemoveContext(object context)
You're absolutely correct.
> > Properties array{object} PrimaryContexts [readonly]
> >
> > List of all primary contexts objects.
>
> Calling this just Contexts seems to more reasonable. See comment about
> interface name below.
That sounds fine to me.
> > Primary Data Context hierarchy
> > =================
> >
> > Service org.ofono
> > Interface org.ofono.PrimaryDataContext
>
> I would prefer if we just call this GRPSContext and explain that this is
> for the primary context. The confusion between primary context and
> secondary context is some GSM specific non-sense.
Should we just simply name this 'Context' and name the secondary pdp context
'SubContext'?
> > array{string} DomainNameServers [readonly, optional]
> >
> > Holds the list of domain name servers for this
> > context.
>
> What about the gateway value. In theory we can just route it to the
> interface, but if the device fakes a real Ethernet interface and the
> gateway is in a different subnet we need a proper host route first.
Yes, this one needs to be added. Good catch.
Regards,
-Denis
More information about the ofono
mailing list