• Home
  • Raw
  • Download

Lines Matching refs:in

45 static void convertGnssData(GnssMeasurementsNotification& in,
47 static void convertGnssMeasurement(GnssMeasurementsData& in,
49 static void convertGnssClock(GnssMeasurementsClock& in, IGnssMeasurementCallback::GnssClock& out);
160 static void convertGnssMeasurement(GnssMeasurementsData& in, in convertGnssMeasurement() argument
164 if (in.flags & GNSS_MEASUREMENTS_DATA_SIGNAL_TO_NOISE_RATIO_BIT) in convertGnssMeasurement()
166 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_FREQUENCY_BIT) in convertGnssMeasurement()
168 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_CYCLES_BIT) in convertGnssMeasurement()
170 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_PHASE_BIT) in convertGnssMeasurement()
172 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_PHASE_UNCERTAINTY_BIT) in convertGnssMeasurement()
174 if (in.flags & GNSS_MEASUREMENTS_DATA_AUTOMATIC_GAIN_CONTROL_BIT) in convertGnssMeasurement()
176 out.svid = in.svId; in convertGnssMeasurement()
177 convertGnssConstellationType(in.svType, out.constellation); in convertGnssMeasurement()
178 out.timeOffsetNs = in.timeOffsetNs; in convertGnssMeasurement()
179 if (in.stateMask & GNSS_MEASUREMENTS_STATE_CODE_LOCK_BIT) in convertGnssMeasurement()
181 if (in.stateMask & GNSS_MEASUREMENTS_STATE_BIT_SYNC_BIT) in convertGnssMeasurement()
183 if (in.stateMask & GNSS_MEASUREMENTS_STATE_SUBFRAME_SYNC_BIT) in convertGnssMeasurement()
185 if (in.stateMask & GNSS_MEASUREMENTS_STATE_TOW_DECODED_BIT) in convertGnssMeasurement()
187 if (in.stateMask & GNSS_MEASUREMENTS_STATE_MSEC_AMBIGUOUS_BIT) in convertGnssMeasurement()
189 if (in.stateMask & GNSS_MEASUREMENTS_STATE_SYMBOL_SYNC_BIT) in convertGnssMeasurement()
191 if (in.stateMask & GNSS_MEASUREMENTS_STATE_GLO_STRING_SYNC_BIT) in convertGnssMeasurement()
193 if (in.stateMask & GNSS_MEASUREMENTS_STATE_GLO_TOD_DECODED_BIT) in convertGnssMeasurement()
195 if (in.stateMask & GNSS_MEASUREMENTS_STATE_BDS_D2_BIT_SYNC_BIT) in convertGnssMeasurement()
197 if (in.stateMask & GNSS_MEASUREMENTS_STATE_BDS_D2_SUBFRAME_SYNC_BIT) in convertGnssMeasurement()
199 if (in.stateMask & GNSS_MEASUREMENTS_STATE_GAL_E1BC_CODE_LOCK_BIT) in convertGnssMeasurement()
201 if (in.stateMask & GNSS_MEASUREMENTS_STATE_GAL_E1C_2ND_CODE_LOCK_BIT) in convertGnssMeasurement()
203 if (in.stateMask & GNSS_MEASUREMENTS_STATE_GAL_E1B_PAGE_SYNC_BIT) in convertGnssMeasurement()
205 if (in.stateMask & GNSS_MEASUREMENTS_STATE_SBAS_SYNC_BIT) in convertGnssMeasurement()
207 out.receivedSvTimeInNs = in.receivedSvTimeNs; in convertGnssMeasurement()
208 out.receivedSvTimeUncertaintyInNs = in.receivedSvTimeUncertaintyNs; in convertGnssMeasurement()
209 out.cN0DbHz = in.carrierToNoiseDbHz; in convertGnssMeasurement()
210 out.pseudorangeRateMps = in.pseudorangeRateMps; in convertGnssMeasurement()
211 out.pseudorangeRateUncertaintyMps = in.pseudorangeRateUncertaintyMps; in convertGnssMeasurement()
212 if (in.adrStateMask & GNSS_MEASUREMENTS_ACCUMULATED_DELTA_RANGE_STATE_VALID_BIT) in convertGnssMeasurement()
215 if (in.adrStateMask & GNSS_MEASUREMENTS_ACCUMULATED_DELTA_RANGE_STATE_RESET_BIT) in convertGnssMeasurement()
218 if (in.adrStateMask & GNSS_MEASUREMENTS_ACCUMULATED_DELTA_RANGE_STATE_CYCLE_SLIP_BIT) in convertGnssMeasurement()
221 out.accumulatedDeltaRangeM = in.adrMeters; in convertGnssMeasurement()
222 out.accumulatedDeltaRangeUncertaintyM = in.adrUncertaintyMeters; in convertGnssMeasurement()
223 out.carrierFrequencyHz = in.carrierFrequencyHz; in convertGnssMeasurement()
224 out.carrierCycles = in.carrierCycles; in convertGnssMeasurement()
225 out.carrierPhase = in.carrierPhase; in convertGnssMeasurement()
226 out.carrierPhaseUncertainty = in.carrierPhaseUncertainty; in convertGnssMeasurement()
229 if (in.multipathIndicator & GNSS_MEASUREMENTS_MULTIPATH_INDICATOR_PRESENT) in convertGnssMeasurement()
231 if (in.multipathIndicator & GNSS_MEASUREMENTS_MULTIPATH_INDICATOR_NOT_PRESENT) in convertGnssMeasurement()
235 out.snrDb = in.signalToNoiseRatioDb; in convertGnssMeasurement()
236 out.agcLevelDb = in.agcLevelDb; in convertGnssMeasurement()
239 static void convertGnssClock(GnssMeasurementsClock& in, IGnssMeasurementCallback::GnssClock& out) in convertGnssClock() argument
242 if (in.flags & GNSS_MEASUREMENTS_CLOCK_FLAGS_LEAP_SECOND_BIT) in convertGnssClock()
244 if (in.flags & GNSS_MEASUREMENTS_CLOCK_FLAGS_TIME_UNCERTAINTY_BIT) in convertGnssClock()
246 if (in.flags & GNSS_MEASUREMENTS_CLOCK_FLAGS_FULL_BIAS_BIT) in convertGnssClock()
248 if (in.flags & GNSS_MEASUREMENTS_CLOCK_FLAGS_BIAS_BIT) in convertGnssClock()
250 if (in.flags & GNSS_MEASUREMENTS_CLOCK_FLAGS_BIAS_UNCERTAINTY_BIT) in convertGnssClock()
252 if (in.flags & GNSS_MEASUREMENTS_CLOCK_FLAGS_DRIFT_BIT) in convertGnssClock()
254 if (in.flags & GNSS_MEASUREMENTS_CLOCK_FLAGS_DRIFT_UNCERTAINTY_BIT) in convertGnssClock()
256 out.leapSecond = in.leapSecond; in convertGnssClock()
257 out.timeNs = in.timeNs; in convertGnssClock()
258 out.timeUncertaintyNs = in.timeUncertaintyNs; in convertGnssClock()
259 out.fullBiasNs = in.fullBiasNs; in convertGnssClock()
260 out.biasNs = in.biasNs; in convertGnssClock()
261 out.biasUncertaintyNs = in.biasUncertaintyNs; in convertGnssClock()
262 out.driftNsps = in.driftNsps; in convertGnssClock()
263 out.driftUncertaintyNsps = in.driftUncertaintyNsps; in convertGnssClock()
264 out.hwClockDiscontinuityCount = in.hwClockDiscontinuityCount; in convertGnssClock()
267 static void convertGnssData(GnssMeasurementsNotification& in, in convertGnssData() argument
270 out.measurementCount = in.count; in convertGnssData()
277 convertGnssMeasurement(in.measurements[i], out.measurements[i]); in convertGnssData()
279 convertGnssClock(in.clock, out.clock); in convertGnssData()