Changeset 1851 in ntrip


Ignore:
Timestamp:
Jun 29, 2009, 5:58:56 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC/RTCM3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM3/clock_orbit_rtcm.c

    r1842 r1851  
    33        Name:           clock_orbit_rtcm.c
    44        Project:        RTCM3
    5         Version:        $Id: clock_orbit_rtcm.c,v 1.14 2009/05/12 22:22:45 weber Exp $
     5        Version:        $Id: clock_orbit_rtcm.c,v 1.15 2009/05/14 13:24:13 stoecker Exp $
    66        Authors:        Dirk Stöcker
    77        Description:    state space approach for RTCM3
     
    600600  case COTYPE_GPSORBIT:
    601601    if(!co) return GCOBR_NOCLOCKORBITPARAMETER;
     602    co->messageType = COTYPE_GPSORBIT;
    602603    G_GPS_EPOCH_TIME(co->GPSEpochTime, co->NumberOfGPSSat)
    603604    co->epochGPS[co->epochSize] = co->GPSEpochTime;   /* Weber, for latency */
     
    650651  case COTYPE_GPSCLOCK:
    651652    if(!co) return GCOBR_NOCLOCKORBITPARAMETER;
     653    co->messageType = COTYPE_GPSCLOCK;
    652654    G_GPS_EPOCH_TIME(co->GPSEpochTime, co->NumberOfGPSSat)
    653655    co->epochGPS[co->epochSize] = co->GPSEpochTime;   /* Weber, for latency */
     
    683685  case COTYPE_GPSCOMBINED:
    684686    if(!co) return -5;
     687    co->messageType = COTYPE_GPSCOMBINED;
    685688    G_GPS_EPOCH_TIME(co->GPSEpochTime, co->NumberOfGPSSat)
    686689    co->epochGPS[co->epochSize] = co->GPSEpochTime;   /* Weber, for latency */
     
    720723  case COTYPE_GPSURA:
    721724    if(!co) return GCOBR_NOCLOCKORBITPARAMETER;
     725    co->messageType = COTYPE_GPSURA;
    722726    G_GPS_EPOCH_TIME(co->GPSEpochTime, co->NumberOfGPSSat)
    723727    co->epochGPS[co->epochSize] = co->GPSEpochTime;   /* Weber, for latency */
     
    741745  case COTYPE_GPSHR:
    742746    if(!co) return GCOBR_NOCLOCKORBITPARAMETER;
     747    co->messageType = COTYPE_GPSHR;
    743748    G_GPS_EPOCH_TIME(co->GPSEpochTime, co->NumberOfGPSSat)
    744749    co->epochGPS[co->epochSize] = co->GPSEpochTime;   /* Weber, for latency */
     
    763768  case COTYPE_GLONASSORBIT:
    764769    if(!co) return GCOBR_NOCLOCKORBITPARAMETER;
     770    co->messageType = COTYPE_GLONASSORBIT;
    765771    G_GLONASS_EPOCH_TIME(co->GLONASSEpochTime, co->NumberOfGLONASSSat)
    766772    G_SSR_UPDATE_INTERVAL(co->UpdateInterval)
     
    811817  case COTYPE_GLONASSCLOCK:
    812818    if(!co) return GCOBR_NOCLOCKORBITPARAMETER;
     819    co->messageType = COTYPE_GLONASSCLOCK;
    813820    G_GLONASS_EPOCH_TIME(co->GLONASSEpochTime, co->NumberOfGLONASSSat)
    814821    G_SSR_UPDATE_INTERVAL(co->UpdateInterval)
     
    842849  case COTYPE_GLONASSCOMBINED:
    843850    if(!co) return GCOBR_NOCLOCKORBITPARAMETER;
     851    co->messageType = COTYPE_GLONASSCOMBINED;
    844852    G_GLONASS_EPOCH_TIME(co->GLONASSEpochTime, co->NumberOfGLONASSSat)
    845853    G_SSR_UPDATE_INTERVAL(co->UpdateInterval)
     
    877885  case COTYPE_GLONASSURA:
    878886    if(!co) return GCOBR_NOCLOCKORBITPARAMETER;
     887    co->messageType = COTYPE_GLONASSURA;
    879888    G_GLONASS_EPOCH_TIME(co->GLONASSEpochTime, co->NumberOfGLONASSSat)
    880889    G_MULTIPLE_MESSAGE_INDICATOR(mmi)
     
    896905  case COTYPE_GLONASSHR:
    897906    if(!co) return GCOBR_NOCLOCKORBITPARAMETER;
     907    co->messageType = COTYPE_GLONASSHR;
    898908    G_GLONASS_EPOCH_TIME(co->GLONASSEpochTime, co->NumberOfGLONASSSat)
    899909    G_SSR_UPDATE_INTERVAL(co->UpdateInterval)
     
    916926  case BTYPE_GPS:
    917927    if(!b) return GCOBR_NOBIASPARAMETER;
     928    b->messageType = BTYPE_GPS;
    918929    G_GPS_EPOCH_TIME(b->GPSEpochTime, b->NumberOfGPSSat)
    919930    G_SSR_UPDATE_INTERVAL(b->UpdateInterval)
     
    940951  case BTYPE_GLONASS:
    941952    if(!b) return GCOBR_NOBIASPARAMETER;
     953    b->messageType = BTYPE_GLONASS;
    942954    G_GLONASS_EPOCH_TIME(b->GLONASSEpochTime, b->NumberOfGLONASSSat)
    943955    G_SSR_UPDATE_INTERVAL(b->UpdateInterval)
  • trunk/BNC/RTCM3/clock_orbit_rtcm.h

    r1842 r1851  
    66        Name:           clock_orbit_rtcm.h
    77        Project:        RTCM3
    8         Version:        $Id: clock_orbit_rtcm.h,v 1.10 2009/05/12 22:23:17 weber Exp $
     8        Version:        $Id: clock_orbit_rtcm.h,v 1.11 2009/05/14 13:24:13 stoecker Exp $
    99        Authors:        Dirk Stöcker
    1010        Description:    state space approach for RTCM3
     
    5050struct ClockOrbit
    5151{
     52  enum ClockOrbitType messageType;
    5253  int GPSEpochTime;                 /* 0 .. 604799 s */
    5354  int GLONASSEpochTime;             /* 0 .. 86399 s (86400 for leap second) */
     
    9192struct Bias
    9293{
     94  enum BiasType messageType;
    9395  int GPSEpochTime;                 /* 0 .. 604799 s */
    9496  int GLONASSEpochTime;             /* 0 .. 86399 s (86400 for leap second) */
Note: See TracChangeset for help on using the changeset viewer.