Hi Sjur, 2010/11/22 Sjur Brændeland <[email protected]>: > +Methods void SendPositioningControl(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. ... > +PositioningRequestAgent hierarchy > +================================== > + > +Service unique name > +Interface org.ofono.PositioningRequestAgent > +Object path freely definable > + > +Methods void PositioningRequest(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.
Since (correct me if I'm wrong) SendPositioningControl can only be called in response to PositioningRequest(), it would seem more logical to skip SendPositioningControl and have the agent return the xml string from PositioningRequest(), e.g. string PositioningRequest(string xml_element) A D-bus call can take a couple of minutes to respond if needed. Best regards _______________________________________________ ofono mailing list [email protected] http://lists.ofono.org/listinfo/ofono
