1/* 2 * Copyright (C) 2019 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17package [email protected]; 18 19import @2.0::GnssConstellationType; 20 21/** 22 * Represents a GNSS signal type. 23 */ 24struct GnssSignalType { 25 /** 26 * Constellation type of the SV that transmits the signal. 27 */ 28 GnssConstellationType constellation; 29 30 /** 31 * Carrier frequency in Hz of the signal. 32 */ 33 double carrierFrequencyHz; 34 35 /** 36 * The type of code of the GNSS signal. 37 * 38 * This is used to specify the observation descriptor defined in GNSS Observation Data File 39 * Header Section Description in the RINEX standard (Version 3.XX). In RINEX Version 3.03, 40 * in Appendix Table A2 Attributes are listed as uppercase letters (for instance, "A" for 41 * "A channel"). 42 * 43 * See the comment of @2.0::IGnssMeasurementCallback.GnssMeasurement.codeType for more details. 44 */ 45 string codeType; 46}; 47