From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [RFCv2] doc: Assisted Satellite Navigation API and Agent API
Date: Tue, 30 Nov 2010 07:23:21 -0600 [thread overview]
Message-ID: <4CF4FAC9.5080200@gmail.com> (raw)
In-Reply-To: <1290438707-10896-1-git-send-email-sjurbren@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2823 bytes --]
Hi Sjur & Simon,
> diff --git a/doc/assisted-sattelite-navigation.txt b/doc/assisted-sattelite-navigation.txt
> new file mode 100755
> index 0000000..6c85a7f
> --- /dev/null
> +++ b/doc/assisted-sattelite-navigation.txt
> @@ -0,0 +1,56 @@
> +AssistedSatelliteNavigation hierarchy
> +=====================================
What do you think of naming this AssistedNavigation? I think the
current name might be a bit too long.
> +
> +Service org.ofono
> +Interface org.ofono.AssistedSatelliteNavigation
> +Object path [variable prefix]/{modem0,modem1,...}
> +
> +Methods void SendPositioningControl(string xml_element)
What do you think of SendPositioningElement?
> +
> + Send an XML element conforming to the XML DTD for <pos>
> + as defined in 3GPP 27.007 Table 8.55-2. This xml is
> + used for transferring data associated with positioning
> + requests received via control plane from the network.
> + This includes assistance data requests and the results
> + of positioning procedures. This method maps directly to
> + the 3GPP 27.007 AT+CPOS command.
> +
> + void RegisterPositioningRequestAgent(object path)
> +
> + Registers an agent which will be called whenever a
> + CPOSR AT response is received. The Agent must respond
> + to requests using SendPositioningControl.
> +
> + void UnregisterPositioningRequestAgent(object path)
> +
> + Unregisters the agent.
> +
> +PositioningRequestAgent hierarchy
> +==================================
> +
> +Service unique name
> +Interface org.ofono.PositioningRequestAgent
> +Object path freely definable
> +
> +Methods void PositioningRequest(string xml_element)
I think that 'Request' will be sufficient. Positioning is already part
of the agent name.
> +
> + Receive an XML element conforming to the XML DTD for
> + <pos> in 3GPP 27.007. This xml is used for transferring
> + data associated with positioning requests received, via
> + control plane, from the network. This includes
> + measurement requests and assistance data. This method
> + maps directly to the 3GPP defined +CPOSR unsolicited
> + result code.
> +
> + void AssistanceDataReset()
I suggest ResetAssistanceData here.
> +
> + A request has been received from the network that all
> + assistance data should be reset. This is used for 3gpp
> + performance tests.
> +
> + void Release()
> +
> + Agent is being released, possibly because of oFono
> + terminating, AssistedSatelliteNavigation interface
> + is being torn down or modem off.
> + No UnregisterAgent call is needed.
The only other change I'd make is to mark the entire interface
'experimental', but I can take care of that as well.
Otherwise the proposal looks good to me.
Regards,
-Denis
next prev parent reply other threads:[~2010-11-30 13:23 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
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 [this message]
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=4CF4FAC9.5080200@gmail.com \
--to=denkenz@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox