All of lore.kernel.org
 help / color / mirror / Atom feed
From: =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont <remi.denis-courmont@nokia.com>
To: ofono@ofono.org
Subject: Re: [PATCH] doc: Add Location Services API
Date: Fri, 26 Nov 2010 18:20:39 +0200	[thread overview]
Message-ID: <201011261820.39167.remi.denis-courmont@nokia.com> (raw)
In-Reply-To: <129600E5E5FB004392DDC3FB599660D70104DAF2A3@irsmsx504.ger.corp.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1592 bytes --]

On Tuesday 23 November 2010 01:16:00 ext Joly, Frederic, you wrote:
> I just recheck the 23.032 (Universal GeoGraphical Area Description), and the
> number of ways to express a position with velocity and uncertainty may not
> make the API simple. Just have a look for instance the +CMOLR's XML DTD
> location_parameters. :) Moreover, GPS vendors and other positioning
> professionals would find more logical to propose to use the WGS 84 datum
> for instance which is widely used and leave the burden to map the position
> to 3GPP style...

I am afraid with enough time and products, we will find all possible 
combinations:
- modems that only talk 27.007 XML,
- modems that only talk raw binary,
- modems that support both,
- hopeless modems that do none.

Furthermore, the data flow can go in both directions:
AT+CPOS is engine->oFono->modem, AT+CPOSR is modem->oFono->engine.

I would think that oFono needs to hide the differences between modems, which 
mean it will need to convert in some cases. Thus oFono would need to be able 
to convert both ways in any case, right? This is going to be painful. The 
alternative consists of providing a *leaky* abstraction where oFono only 
returns and accepts the format(s) that the modem understands.

With that in mind, I tend to agree that binary seems like a nicer abstraction 
for the positioning engine to use than XML. But if oFono has to implement 
conversion in both direction, it might be that we can provide both formats 
over D-Bus?

-- 
Rémi Denis-Courmont
Nokia Devices R&D, Maemo Software, Helsinki

  parent reply	other threads:[~2010-11-26 16:20 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11 19:44 [PATCH] doc: Add Location Services API Sjur =?unknown-8bit?q?Br=C3=A6ndeland?=
2010-11-11 21:49 ` Denis Kenzior
2010-11-11 23:03   ` Marcel Holtmann
2010-11-17  6:34     ` Sjur =?unknown-8bit?q?Br=C3=A6ndeland?=
2010-11-15 11:19   ` Simon LETHBRIDGE
2010-11-18  9:50   ` [PATCH] doc: Add Location Services API (resending now that I am on ofono mailing list) Simon LETHBRIDGE
2010-11-22 21:50     ` Joly, Frederic
2010-11-18 10:57   ` [PATCH] doc: Add Location Services API Simon LETHBRIDGE
2010-11-20  1:01 ` Bastian, Waldo
2010-11-20  2:04   ` Bastian, Waldo
2010-11-22  9:01     ` Marko.Ovaska
2010-11-22 23:16       ` Joly, Frederic
2010-11-23 17:16         ` Simon LETHBRIDGE
2010-11-26 15:29         ` Marko.Ovaska
2010-11-26 16:20         ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont [this message]
2010-11-22 14:04     ` Simon LETHBRIDGE
2010-11-26 16:11   ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2010-12-01 13:35     ` Simon LETHBRIDGE
2010-11-22 15:11 ` [RFCv2] doc: Assisted Satellite Navigation API and Agent API Sjur =?unknown-8bit?q?Br=C3=A6ndeland?=
2010-11-23 13:28   ` andrzej zaborowski
2010-11-23 15:07     ` Simon LETHBRIDGE
2010-11-23 17:15       ` andrzej zaborowski
2010-11-23 17:24         ` Simon LETHBRIDGE
2010-11-30 13:23   ` Denis Kenzior
2011-01-26 14:52     ` Simon LETHBRIDGE

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=201011261820.39167.remi.denis-courmont@nokia.com \
    --to=remi.denis-courmont@nokia.com \
    --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.