Changeset 5553 in ntrip for trunk/rtcm3torinex/lib
- Timestamp:
- Nov 19, 2013, 3:41:34 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/rtcm3torinex/lib/rtcm3torinex.c
r5535 r5553 2588 2588 else if (r == 1 || r == 2) 2589 2589 { 2590 int i, j, o, nh=0 ;2590 int i, j, o, nh=0, hl=2; 2591 2591 char newheader[512]; 2592 2592 struct converttimeinfo cti; … … 2619 2619 { 2620 2620 nh = HandleObsHeader(Parser, newheader, sizeof(newheader), 0); 2621 for(i = 0; i < nh; ++i) 2622 { 2623 if(newheader[i] == '\n') 2624 ++hl; 2625 } 2621 2626 } 2622 2627 if(Parser->rinex3) 2623 2628 { 2629 if(nh) 2630 { 2631 RTCM3Text("> %04d %02d %02d %02d %02d%11.7f 4%3d\n", 2632 cti.year, cti.month, cti.day, cti.hour, cti.minute, cti.second 2633 + fmod(Parser->Data.timeofweek/1000.0,1.0), hl); 2634 RTCM3Text("%s\n " 2635 " END OF HEADER\n", newheader); 2636 } 2624 2637 RTCM3Text("> %04d %02d %02d %02d %02d%11.7f %d%3d\n", 2625 2638 cti.year, cti.month, cti.day, cti.hour, cti.minute, cti.second 2626 + fmod(Parser->Data.timeofweek/1000.0,1.0), nh ? 4 :0,2639 + fmod(Parser->Data.timeofweek/1000.0,1.0), 0, 2627 2640 Parser->Data.numsats); 2628 if(nh)2629 {2630 RTCM3Text("%s\n "2631 " END OF HEADER\n", newheader);2632 }2633 2641 for(i = 0; i < Parser->Data.numsats; ++i) 2634 2642 {
Note:
See TracChangeset
for help on using the changeset viewer.