From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: [RFC] AGPS Support
Date: Wed, 03 Nov 2010 11:39:55 +0100 [thread overview]
Message-ID: <1288780795.9615.44.camel@aeonflux> (raw)
In-Reply-To: <AANLkTinyJ8AMTOp1+rObyxfn6BK+yJVRgm26SQFEH4b=@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3224 bytes --]
Hi Sjur,
> >> > On positioning framework side, XML containers encoding/decoding does not seem to be yet widely used, while the support of RRC and RRLP framing is common, thanks to the support of SUPL.
> >> >
> >> > Using XML and 27.007 format would be great as long as long as ofono is not obliged to interpret the XML containers.
> >>
> >> Denis, is this something you would consider as an option, to transport
> >> both ASN.1 coded RRC / RRLP frames
> >> and XML transparently over the oFono API ?
> >
> > can some just quickly summarize for me what kind of different data type
> > representation we actually have here. And what the different modems and
> > standard suggest on how to encode them.
>
> The RRLP, RRC and LPP standards all use ASN.1 to specify the data that
> is transferred,
> this encoded using packed en coding rules. The data is represented as
> SEQUENCES of
> INTEGER and ENUMERATED data types. A lot of items are subject to
> interesting scaling
> algorithms to get them into an integral format. A handful of items
> (locations and required
> assistance data) are effectively octet strings from other 3gpp standards.
>
> Most of the data is assistance data describing reference location,
> reference time, satellite orbits,
> expected doppler and code phase. The UE calculates the location and
> returns this as a GAD shape
> which is basically an ellipse with uncertainty, the coordinates scaled
> to be integral values.
>
> > And then really who needs to "transcode" what in to what standard if we
> > would be going for XML as format?
>
> The STE-Ericsson modem is doing the transcoding to XML on the modem side,
> using the 27.007 AT commands defined for AGPS.
>
> For other modems sending the raw RRC/RRLP frames I guess the transcoding to XML
> would need to happen in the ofono driver or in ofono core if you want
> to expose an
> oFono XML API.
so here is my take on XML. If we have to parse it, then in general that
is a bad idea. Creating XML is just fine. It is not something totally
horrible, but nevertheless it is something that I would like to avoid.
If we can assume that we can use GMarkup (and its restrictions) for it,
then it mitigates this a little bit.
That said, I am with Denis here. If XML is defined in 27.007, then it
does make sense to do it. And as long as the core just sees it as a
stream of bytes, I am fine with this.
This of course means that the modems that don't use XML native for this
have to do some transcoding here. That is then up to the modem driver.
No on the other hand ASN.1 description of packets is also fine to me.
However same rule applies that oFono core should not need to look into
the data. It should just hand them off.
Or do we expect oFono core to do something with this data? I am under
the impression that oFono core is just a pipe here.
And in conclusion we have XML and ASN.1 adding some overhead to the
actual data that is encoded. None of them is coming for free.
If we wanna look at this not from the 27.007 standard angle, then we
have to look at what the users of this D-Bus are talking and what would
be easiest for them.
Regards
Marcel
next prev parent reply other threads:[~2010-11-03 10:39 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <B4268AAFAFA3E244B5B0641D5914917048B5476159@EXDCVYMBSTM006.EQ1STM.local>
2010-10-22 10:09 ` [RFC] AGPS Support Sjur BRENDELAND
2010-10-22 15:57 ` Denis Kenzior
2010-10-27 9:39 ` Joly, Frederic
2010-11-02 20:36 ` Sjur =?unknown-8bit?q?Br=C3=A6ndeland?=
2010-11-02 20:44 ` Marcel Holtmann
2010-11-03 10:27 ` Sjur =?unknown-8bit?q?Br=C3=A6ndeland?=
2010-11-03 10:39 ` Marcel Holtmann [this message]
2010-11-03 18:59 ` Bastian, Waldo
2010-11-03 19:04 ` Marcel Holtmann
2010-11-22 22:52 ` Joly, Frederic
2010-11-30 17:17 ` Marko.Ovaska
2010-11-02 20:50 ` Denis Kenzior
2010-11-03 11:27 ` Sjur =?unknown-8bit?q?Br=C3=A6ndeland?=
2010-11-03 17:40 ` Aki Niemi
2010-11-03 17:55 ` Denis Kenzior
2010-10-13 7:59 Bastian, Waldo
-- strict thread matches above, loose matches on Subject: below --
2010-05-14 23:56 [RFC] AGPS support Bastian, Waldo
2010-05-17 17:01 ` Joly, Frederic
2010-05-19 16:32 ` Joly, Frederic
2010-05-19 21:18 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1288780795.9615.44.camel@aeonflux \
--to=marcel@holtmann.org \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.