#include <stdlib.h>#include <stdio.h>#include <time.h>#include <ctype.h>#include <math.h>#include <errno.h>#include <unistd.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include "common.h"
Go to the source code of this file.
Functions | |
| void | CheckSoftwareRelease (void) |
| Check that the current version of rtitan2 is compatible with the data flow. | |
| void | UpdateTitan1ADCInfo (void) |
| update the LSB and impedance information for the current ADC | |
| unsigned char | ProcessInfoFrame (const unsigned char *frame) |
| Identify and process the frame. | |
Variables | |
| int | releaseWarned = 0 |
| should the release warning be issued | |
| struct DigitizerType | titan1Digit [4] |
| void CheckSoftwareRelease | ( | void | ) |
Check that the current version of rtitan2 is compatible with the data flow.
Definition at line 40 of file info.c.
References DigitizerType::adcDecimation, DigitizerType::adcDecimationLength, DigitizerType::adcDelay, DigitizerType::adcFrequency, DigitizerType::adcId, HWConfigType::digitizer, HWConfig, DigitizerType::ok, oldHWConfig, PrintWarning, releaseWarned, DigitizerType::secondDecimationLength, and HWConfigType::softwareRealease.
Referenced by ProcessInfoFrame().
| unsigned char ProcessInfoFrame | ( | const unsigned char * | frame | ) |
Identify and process the frame.
| frame | the frame to be analysed and processed |
Definition at line 157 of file info.c.
References info0_3_t::active, DigitizerType::adcDecimationLength, DigitizerType::adcDelay, DigitizerType::adcId, info20_t::ADCType, info20_t::auxPresent, HWConfigType::avgPos, info18_t::batteryVoltage, info0_3_t::ch, info20_t::channels, CheckSoftwareRelease(), info20_t::continuousGPS, info5_t::cycles, info18_t::detections, HWConfigType::digitizer, PositionType::elev, info5_t::endDuration, info5_t::endDurationMode, HWConfigType::fieldIdent, info19_t::flashBytes, info19_t::flashCycles, info20_t::flashSize, info19_t::flushRunning, info19_t::flushState, frame2i16, frame2i24, frame2i32, frame2i32_64, info5_t::gain, HWConfig, HWConfigType::info03, HWConfigType::info15, HWConfigType::info18, HWConfigType::info19, HWConfigType::info20, HWConfigType::info5, HWConfigType::infoFrame, info20_t::internalInfo1, PositionType::lat, PositionType::lon, info18_t::lostFlushLowBatt, info19_t::lostFlushMediumError, info0_3_t::lta, manualStationName, info18_t::mediaBytes, info19_t::mediumError, info20_t::mediumSize, MY_PI, info0_3_t::offset, DigitizerType::ok, info20_t::parallelLink, info5_t::postEvent, info15_t::PPM, info5_t::preEvent, info15_t::pulseLength, info15_t::pulseTest, info20_t::radioMode, info15_t::reboot, HWConfigType::rebootTime, info20_t::recordingMedium, info20_t::recordingMode, HWConfigType::resetTime, info20_t::samplingSet, HWConfigType::serialNumber, HWConfigType::softwareRealease, info0_3_t::srCode, info0_3_t::sta, info0_3_t::threshold, info15_t::time, info19_t::triggerInProcess, UpdateTitan1ADCInfo(), and Titan2TimeType::usecond.
| void UpdateTitan1ADCInfo | ( | void | ) |
update the LSB and impedance information for the current ADC
Definition at line 109 of file info.c.
References AD7710, DigitizerType::adcId, CS5321, CS5323, HWConfigType::digitizer, info5_t::gain, HWConfigType::gain, HI7190, HWConfig, HWConfigType::impedance, HWConfigType::info5, HWConfigType::LSB, MAX_OSIRIS_CHANNEL, and HWConfigType::selectedGain.
Referenced by ProcessInfoFrame().
| int releaseWarned = 0 |
should the release warning be issued
Definition at line 37 of file info.c.
Referenced by CheckSoftwareRelease().
| struct DigitizerType titan1Digit[4] |
1.5.6