diff --git a/rtcm.cc b/rtcm.cc index 1e92073..f19fd05 100644 --- a/rtcm.cc +++ b/rtcm.cc @@ -262,7 +262,56 @@ DF 385: Full seconds since the beginning of the GPS week setbitu(rtcm->buff,i, 1,osdvs2 ); i+= 1; /* E1 DVS */ #endif - + } + else if(type == 1059 || type == 1242) { // GPS/Galileo bias + int off = 0; + int msgnum = gbum(off, 12); + int gpstime = gbum(off, 20); + int uinterval = gbum(off, 4); + int mmi = gbum(off, 1); + int iodssr = gbum(off, 4); + int ssrprov = gbum(off, 16); + int ssrsol = gbum(off, 4); + int numsats = gbum(off, 6); + + // cout <<"msgnum "<15 - Reserved. + */ + } + } } } diff --git a/rtcm.hh b/rtcm.hh index eaced78..e7eefa0 100644 --- a/rtcm.hh +++ b/rtcm.hh @@ -4,6 +4,7 @@ #include "navmon.hh" #include #include "galileo.hh" +#include struct RTCMFrame { @@ -52,6 +53,7 @@ struct RTCMMessage std::vector d_ephs; std::vector d_clocks; + std::map d_dcbs; GalileoMessage d_gm; int d_sv; };