Content-Type: multipart/mixed; boundary="===============8595724607189807039==" MIME-Version: 1.0 From: Robertino Benis Subject: [RFC 1/3] doc: addidng documentation for basic assisted gps Date: Fri, 05 Nov 2010 10:55:25 -0700 Message-ID: <1288979728-3369-2-git-send-email-robertino.benis@intel.com> In-Reply-To: <1288979728-3369-1-git-send-email-robertino.benis@intel.com> List-Id: To: ofono@ofono.org --===============8595724607189807039== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --- doc/assistedgps-manager-api.txt | 114 +++++++++++++++++++++++++++++++++++= ++++ 1 files changed, 114 insertions(+), 0 deletions(-) create mode 100644 doc/assistedgps-manager-api.txt diff --git a/doc/assistedgps-manager-api.txt b/doc/assistedgps-manager-api.= txt new file mode 100644 index 0000000..b09c8b1 --- /dev/null +++ b/doc/assistedgps-manager-api.txt @@ -0,0 +1,114 @@ +AgpsManager hierarchy +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +Service org.ofono +Interface org.ofono.AgpsManager +Object path [variable prefix]/{modem0,modem1,...} + +Methods dict GetProperties() + + Returns properties for the modem object. See + the properties section for available properties. + + Possible Errors: [service].Error.InvalidArguments + + void SetProperty(string name, variant value) + + Changes the value of the specified property. Only + properties that are listed as read-write are + changeable. On success a PropertyChanged signal + will be emitted. + + Possible Errors: [service].Error.InvalidArguments + [service].Error.DoesNotExist + + void SendLCSFrame(string frametype, string framedata) + + Send a LCS position protocol frame to the Mobile + Network. The LCS frame typically represents a + Position Response. + + Valid frametypes are: + rrlp_measure_position_response + rrc_measurement_report + + The raw frame data is formatted as the concatenated + sequence of the two digit hexadecimal representation + of each of its octets. Example: "00FC2345" + + void RequestFineTimeInjection(string rat, uint16 pulselength) + + Request modem to generate a fine time injection + pulse. pulselength is the duration of the pulse + expressed in radio frames. + + rat specifies the access technology used to derive + the pulse from and can be "gsm" or "umts". + If the requested access technology is not currently + in use an error is returned. + +Signals PropertyChanged(string name, variant value) + + This signal indicates a changed value of the given + property. + + IncomingLCSFrame(string frametypes, string framedata) + + LCS positioning protocol frame received from the + Mobile Network. + + Valid frametypes for the LCS frame are: + rrlp_assistance_data + rrlp_measure_position_request + rrc_assistance_data_delivery + rrc_measurement_control + + Note that position/measurement requests can include + assistance data as well. + + The raw frame data is formatted as the concatenated + sequence of the two digit hexadecimal representation + of each of its octets. Example: "00FC2345" + + FineTimeInjectionNotification(dict radioframenumber) + + Notification about fine time injection pulse + generated by modem. The radioframenumber dict + is defined as follow: + + string AccessTechnology + "gsm" or "umts" + = + uint32 TdmaFrameNumber (gsm only) + range 0 - 2715647 (2048*26*51) + + uint16 TdmaTimeslot (gsm only) + range 0 - 7 + + uint16 TimeslotBit (gsm only) + range 0 - 156 + + uint16 TimingAdvance (gsm only) + range 0 - 63 + + uint16 BcchArfcn (gsm only) + range 0 - 1023 + + uint16 Bsic (gsm only) + range 0 - 64 + + uint16 Sfn (umts only) + range 0 - 4095 + + string RrcState (umts only) + "cell_dch", "cell_fach", "cell_pch" or + "ura_pch" + = + uint16 RoundTripTime (umts only) + range 0 - 32766 + + +Properties boolean LcsEnabled [readwrite] + + If LcsEnabled is False, then no LCS positioning + protocol frames are received. -- = 1.7.0.4 --===============8595724607189807039==--