From 2d4f577b2d4dc98a084ddf0eb3fdc41a08ad3c40 Mon Sep 17 00:00:00 2001 From: Zhanghao Date: Tue, 8 Aug 2023 14:38:59 -0400 Subject: Update getCodeType() docs for RINEX4.0 Update the Javadocs based on doc:https://docs.google.com/document/d/1SliduwZ8TlV5kMDZpxM5CUg-Txsw3IxBe8JTnr_ZOl0/edit?resourcekey=0-HTfqV3iJLkQtaMp_lsy3Vg Test: change Javadoc only. Bug: 277260039 Change-Id: Ib42811a6490525df5a1072f79e78c01529bec1a6 --- .../java/android/location/GnssMeasurement.java | 47 +++++++++++++--------- 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/location/java/android/location/GnssMeasurement.java b/location/java/android/location/GnssMeasurement.java index b0769abce295..e28ad6757967 100644 --- a/location/java/android/location/GnssMeasurement.java +++ b/location/java/android/location/GnssMeasurement.java @@ -1525,50 +1525,61 @@ public final class GnssMeasurement implements Parcelable { /** * Gets the GNSS measurement's code type. * - *

Similar to the Attribute field described in RINEX 3.03, e.g., in Tables 4-10, and Table - * A2 at the RINEX 3.03 Update 1 Document. + *

Similar to the Attribute field described in RINEX 4.00, e.g., in Tables 9-16 (see + * https://igs.org/wg/rinex/#documents-formats). * - *

Returns "A" for GALILEO E1A, GALILEO E6A, IRNSS L5A, IRNSS SA. + *

Returns "A" for GALILEO E1A, GALILEO E6A, IRNSS L5A SPS, IRNSS SA SPS, GLONASS G1a L1OCd, + * GLONASS G2a L2CSI. * - *

Returns "B" for GALILEO E1B, GALILEO E6B, IRNSS L5B, IRNSS SB. + *

Returns "B" for GALILEO E1B, GALILEO E6B, IRNSS L5B RS (D), IRNSS SB RS (D), GLONASS G1a + * L1OCp, GLONASS G2a L2OCp, QZSS L1Sb. * - *

Returns "C" for GPS L1 C/A, GPS L2 C/A, GLONASS G1 C/A, GLONASS G2 C/A, GALILEO E1C, - * GALILEO E6C, SBAS L1 C/A, QZSS L1 C/A, IRNSS L5C. + *

Returns "C" for GPS L1 C/A, GPS L2 C/A, GLONASS G1 C/A, GLONASS G2 C/A, GALILEO E1C, + * GALILEO E6C, SBAS L1 C/A, QZSS L1 C/A, IRNSS L5C RS (P), IRNSS SC RS (P). * - *

Returns "D" for BDS B1C D. + *

Returns "D" for GPS L2 (L1(C/A) + (P2-P1) (semi-codeless)), QZSS L5S(I), BDS B1C Data, + * BDS B2a Data, BDS B2b Data, BDS B2 (B2a+B2b) Data, BDS B3a Data. + * + *

Returns ā€œEā€ for QZSS L1 C/B, QZSS L6E. * *

Returns "I" for GPS L5 I, GLONASS G3 I, GALILEO E5a I, GALILEO E5b I, GALILEO E5a+b I, * SBAS L5 I, QZSS L5 I, BDS B1 I, BDS B2 I, BDS B3 I. * - *

Returns "L" for GPS L1C (P), GPS L2C (L), QZSS L1C (P), QZSS L2C (L), LEX(6) L. + *

Returns "L" for GPS L1C (P), GPS L2C (L), QZSS L1C (P), QZSS L2C (L), QZSS L6P, BDS + * B1a Pilot. * *

Returns "M" for GPS L1M, GPS L2M. * *

Returns "N" for GPS L1 codeless, GPS L2 codeless. * - *

Returns "P" for GPS L1P, GPS L2P, GLONASS G1P, GLONASS G2P, BDS B1C P. + *

Returns "P" for GPS L1P, GPS L2P, GLONASS G1P, GLONASS G2P, BDS B1C Pilot, BDS B2a Pilot, + * BDS B2b Pilot, BDS B2 (B2a+B2b) Pilot, BDS B3a Pilot, QZSS L5S(Q). * *

Returns "Q" for GPS L5 Q, GLONASS G3 Q, GALILEO E5a Q, GALILEO E5b Q, GALILEO E5a+b Q, * SBAS L5 Q, QZSS L5 Q, BDS B1 Q, BDS B2 Q, BDS B3 Q. * - *

Returns "S" for GPS L1C (D), GPS L2C (M), QZSS L1C (D), QZSS L2C (M), LEX(6) S. + *

Returns "S" for GPS L1C (D), GPS L2C (M), QZSS L1C (D), QZSS L2C (M), QZSS L6D, BDS B1a + * Data. * *

Returns "W" for GPS L1 Z-tracking, GPS L2 Z-tracking. * - *

Returns "X" for GPS L1C (D+P), GPS L2C (M+L), GPS L5 (I+Q), GLONASS G3 (I+Q), GALILEO - * E1 (B+C), GALILEO E5a (I+Q), GALILEO E5b (I+Q), GALILEO E5a+b(I+Q), GALILEO E6 (B+C), SBAS - * L5 (I+Q), QZSS L1C (D+P), QZSS L2C (M+L), QZSS L5 (I+Q), LEX(6) (S+L), BDS B1 (I+Q), BDS - * B1C (D+P), BDS B2 (I+Q), BDS B3 (I+Q), IRNSS L5 (B+C). + *

Returns "X" for GPS L1C (D+P), GPS L2C (M+L), GPS L5 (I+Q), GLONASS G1a L1OCd+L1OCp, + * GLONASS G2a L2CSI+L2OCp, GLONASS G3 (I+Q), GALILEO E1 (B+C), GALILEO E5a (I+Q), GALILEO + * E5b (I+Q), GALILEO E5a+b (I+Q), GALILEO E6 (B+C), SBAS L5 (I+Q), QZSS L1C (D+P), QZSS L2C + * (M+L), QZSS L5 (I+Q), QZSS L6 (D+P), BDS B1 (I+Q), BDS B1C Data+Pilot, BDS B2a Data+Pilot, + * BDS B2 (I+Q), BDS B2 (B2a+B2b) Data+Pilot, BDS B3 (I+Q), IRNSS L5 (B+C), IRNSS S (B+C). * *

Returns "Y" for GPS L1Y, GPS L2Y. * - *

Returns "Z" for GALILEO E1 (A+B+C), GALILEO E6 (A+B+C), QZSS L1-SAIF. + *

Returns "Z" for GALILEO E1 (A+B+C), GALILEO E6 (A+B+C), QZSS L1S/L1-SAIF, QZSS L5S (I+Q), + * QZSS L6(D+E), BDS B1A Data+Pilot, BDS B2b Data+Pilot, BDS B3a Data+Pilot. * *

Returns "UNKNOWN" if the GNSS Measurement's code type is unknown. * - *

This is used to specify the observation descriptor defined in GNSS Observation Data File - * Header Section Description in the RINEX standard (Version 3.XX), in cases where the code type - * does not align with the above listed values. For example, if a code type "G" is added, this + *

The code type is used to specify the observation descriptor defined in GNSS Observation + * Data File Header Section Description in the RINEX standard (Version 4.00). In cases where + * the code type does not align with the above listed values, the code type from the most + * recent version of RINEX should be used. For example, if a code type "G" is added, this * string shall be set to "G". */ @NonNull -- cgit v1.2.3-59-g8ed1b