Changeset 529 in ntrip


Ignore:
Timestamp:
Oct 18, 2007, 3:43:24 PM (17 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

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

    r523 r529  
    11/*
    22  Converter for RTCM3 data to RINEX.
    3   $Id: rtcm3torinex.c,v 1.5 2007/10/17 06:12:00 mervart Exp $
     3  $Id: rtcm3torinex.c,v 1.6 2007/10/18 13:11:12 mervart Exp $
    44  Copyright (C) 2005-2006 by Dirk Stoecker <stoecker@alberding.eu>
    55
     
    5151
    5252/* CVS revision and version */
    53 static char revisionstr[] = "$Revision: 1.5 $";
     53static char revisionstr[] = "$Revision: 1.6 $";
    5454
    5555#ifndef COMPILEDATE
     
    814814}
    815815
    816 static int HandleRunBy(char *buffer, int buffersize, const char **u,
     816int HandleRunBy(char *buffer, int buffersize, const char **u,
    817817int rinex3)
    818818{
     
    15341534
    15351535#ifndef NO_RTCM3_MAIN
    1536 static char datestr[]     = "$Date: 2007/10/17 06:12:00 $";
     1536static char datestr[]     = "$Date: 2007/10/18 13:11:12 $";
    15371537
    15381538/* The string, which is send as agent in HTTP request */
  • trunk/BNC/bncapp.cpp

    r528 r529  
    4848
    4949using namespace std;
     50
     51const int RINEX_3 = 1;
    5052
    5153struct converttimeinfo {
     
    6163  void converttime(struct converttimeinfo *c, int week, int tow);
    6264  void updatetime(int *week, int *tow, int tk, int fixnumleap);
     65  int  HandleRunBy(char *buffer, int buffersize, const char **u, int rinex3);
    6366}
    6467
     
    198201    *_ephStream << line;
    199202
     203    char buffer[100];
     204    HandleRunBy(buffer, sizeof(buffer), 0, RINEX_3);
     205    line.sprintf("%s\n%60sEND OF HEADER\n", buffer, "");
     206    *_ephStream << line;
     207
    200208    line.sprintf("%s\n%60sEND OF HEADER\n", "bnc", "");
    201209    *_ephStream << line;
     
    205213}
    206214
    207 const int RINEX_3 = 1;
    208215
    209216//
Note: See TracChangeset for help on using the changeset viewer.