Skip to contentSkip to conversation

doc: Assisted Satellite Navigation API and Agent API

PATCH In review Sjur Brændeland 5 participants 6 messages Jan 28, 2011 – Feb 9, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: Assisted Satellite Navigation API and Agent API

From: Simon Lethbridge <[email protected]>

This patch introduces support for Global Satellite Navigation System (GNSS), using the AT commands AT+CPOS and +CPOSR as specified 3GPP 27.007.
---
Hi Denis,

2010/11/30 Denis Kenzior <[email protected]>:

Quoted 3 lines
Quoted 1 line

+AssistedSatelliteNavigation hierarchy

What do you think of naming this AssistedNavigation? I think the current name might be a bit too long.

See mail previous mail on this topic, I think we'd like to keep it as is for now.

Quoted 2 lines
Quoted 1 line

+Methods void SendPositioningControl(string xml_element)

What do you think of SendPositioningElement?

Fixed,

Quoted 3 lines
Quoted 1 line

+Methods void PositioningRequest(string xml_element)

I think that 'Request' will be sufficient. Positioning is already part of the agent name.

Fixed,

Quoted 2 lines
Quoted 1 line

+ void AssistanceDataReset()

I suggest ResetAssistanceData here.

Fixed,

Quoted 2 lines

The only other change I'd make is to mark the entire interface 'experimental', but I can take care of that as well.

Fixed,

Quoted 1 line

Otherwise the proposal looks good to me.

Sorry for taking so long before responding on this. Let us know if you have any issues with this patch.

Regards,
Sjur and Simon.

 doc/assisted-sattelite-navigation.txt |   56 +++++++++++++++++++++++++++++++++
 1 files changed, 56 insertions(+), 0 deletions(-)
 create mode 100644 doc/assisted-sattelite-navigation.txt
doc/assisted-sattelite-navigation.txt new file +56 -0
new file mode 100644
index 0000000..abacf54
@@ -0,0 +1,56 @@
+Assisted Satellite Navigation hierarchy [experimental]
+==========================================================
+
+Service		org.ofono
+Interface	org.ofono.AssistedSatelliteNavigation
+Object path	[variable prefix]/{modem0,modem1,...}
+
+Methods		void SendPositioningElement(string xml_element)
+
+			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)
+
+			Un-registers the agent.
+
+PositioningRequestAgent hierarchy
+==================================
+
+Service		unique name
+Interface	org.ofono.PositioningRequestAgent
+Object path	freely definable
+
+Methods	void Request(string xml_element)
+
+			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 ResetAssistanceData()
+
+			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.
Signature · 1 line
1.7.0.4
#1 lore raw

doc/assisted-sattelite-navigation.txt line 22

Quoted 5 lines · you
doc/assisted-sattelite-navigation.txt new file +5 -0
+		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.

Spelling is inconsistent ;)

Signature · 2 lines
Rémi Denis-Courmont
Nokia Devices R&D, Maemo Software, Helsinki
#2 lore raw

PATCH v2 1/1 doc: Assisted Satellite Navigation API and Agent API

From: Simon Lethbridge <[email protected]>

This patch introduces support for Global Satellite Navigation System (GNSS), using the AT commands AT+CPOS and +CPOSR as specified 3GPP 27.007.
---

Changes from v1 (28 Jan):
s/SendPositioningControl/SendPositioningElement/

Thanks Rémi, for spotting this one,

Changes from RFCv2 (Nov 22):

Quoted 28 lines

Hi Denis,

2010/11/30 Denis Kenzior <[email protected]>:

Quoted 3 lines
Quoted 1 line

+AssistedSatelliteNavigation hierarchy

What do you think of naming this AssistedNavigation? I think the current name might be a bit too long.

See mail previous mail on this topic, I think we'd like to keep it as is for now.

Quoted 2 lines
Quoted 1 line

+Methods void SendPositioningControl(string xml_element)

What do you think of SendPositioningElement?

Fixed,

Quoted 3 lines
Quoted 1 line

+Methods void PositioningRequest(string xml_element)

I think that 'Request' will be sufficient. Positioning is already part of the agent name.

Fixed,

Quoted 2 lines
Quoted 1 line

+ void AssistanceDataReset()

I suggest ResetAssistanceData here.

Fixed,

Quoted 2 lines

The only other change I'd make is to mark the entire interface 'experimental', but I can take care of that as well.

Quoted 6 lines

Fixed,

Quoted 1 line

Otherwise the proposal looks good to me.

Sorry for taking so long before responding on this. Let us know if you have any issues with this patch.

Regards,
Sjur and Simon.

 doc/assisted-sattelite-navigation.txt |   56 +++++++++++++++++++++++++++++++++
 1 files changed, 56 insertions(+), 0 deletions(-)
 create mode 100644 doc/assisted-sattelite-navigation.txt
doc/assisted-sattelite-navigation.txt new file +56 -0
new file mode 100644
index 0000000..c5a8c10
@@ -0,0 +1,56 @@
+Assisted Satellite Navigation hierarchy [experimental]
+==========================================================
+
+Service		org.ofono
+Interface	org.ofono.AssistedSatelliteNavigation
+Object path	[variable prefix]/{modem0,modem1,...}
+
+Methods		void SendPositioningElement(string xml_element)
+
+			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 SendPositioningElement.
+
+		void UnregisterPositioningRequestAgent(object path)
+
+			Un-registers the agent.
+
+PositioningRequestAgent hierarchy
+==================================
+
+Service		unique name
+Interface	org.ofono.PositioningRequestAgent
+Object path	freely definable
+
+Methods		void Request(string xml_element)
+
+			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 ResetAssistanceData()
+
+			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 UnregisterPositioningRequestAgent call is needed.
Signature · 1 line
1.7.0.4
#3 lore raw

Hi Sjur and Simon,

2011/1/30 Sjur Brændeland <[email protected]>:

Quoted 19 lines
doc/assisted-sattelite-navigation.txt new file +19 -0
+PositioningRequestAgent hierarchy
+==================================
+
+Service                unique name
+Interface      org.ofono.PositioningRequestAgent
+Object path    freely definable
+
+Methods                void Request(string xml_element)
+
+                       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 ResetAssistanceData()
+

doc/assisted-sattelite-navigation.txt line 56

Quoted 10 lines
doc/assisted-sattelite-navigation.txt new file +10 -0
+                       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 UnregisterPositioningRequestAgent call is needed.

In addition to these, I think there has been discussion of at least having the fine time injection API, and in addition our positioning guys would like to have a way of getting reference clock uncertainty information from the modem. Of course, these can be added in separate patches.

Overall, looks good to me.

Cheers,
Aki

#4 lore raw
In reply to Sjur Brændeland

Hi Sjur / Simon,

Quoted 6 lines · Sjur Brændeland

From: Simon Lethbridge <[email protected]>

This patch introduces support for Global Satellite Navigation System (GNSS), using the AT commands AT+CPOS and +CPOSR as specified 3GPP 27.007.
---

Patch has been applied, thanks.

Regards,
-Denis

#5 lore raw
In reply to Sjur Brændeland

Hi Sjur,

-----Original Message-----
From: ofono-bounces(a)ofono.org [mailto:ofono-bounces(a)ofono.org] On Behalf Of Sjur Brændeland
Sent: Sunday, January 30, 2011 12:45 AM
To: remi.denis-courmont(a)nokia.com; Denis Kenzior; ofono(a)ofono.org
Cc: Simon Lethbridge
Subject: [PATCHv2] doc: Assisted Satellite Navigation API and Agent API

+ void ResetAssistanceData()
+
+ A request has been received from the network that all
+ assistance data should be reset. This is used for 3gpp
+ performance tests.
+

Sorry to come back so late of this. By assistance data reset, you meant a reset of all positioning stored information? Like used in 3GPP conformance testing (44.014 § 8.15 for instance)? The knowledge of positioning information is somehow "Assistance" information, but this is not the wording I'm used to.

Thanks,

Fred

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.