Index: /trunk/BNC/RTCM3/RTCM3Decoder.cpp
===================================================================
--- /trunk/BNC/RTCM3/RTCM3Decoder.cpp	(revision 1032)
+++ /trunk/BNC/RTCM3/RTCM3Decoder.cpp	(revision 1033)
@@ -65,4 +65,6 @@
   const int LEAPSECONDS = 14; /* only needed for approx. time */
 
+  QSettings settings;
+  _checkMountPoint = settings.value("messTypes").toString();
   _staID = staID;
 
@@ -106,9 +108,10 @@
   // -----------------------------------------
   if (_mode == unknown || _mode == corrections) {
+    printf("corrections\n");
     if ( _coDecoder->Decode(buffer, bufLen) == success ) {
       decoded = true;
       if (_mode == unknown) {
         _mode = corrections;
-        emit(newMessage( (_staID + " : mode set to corrections").toAscii() ));
+//      emit(newMessage( (_staID + " : mode set to corrections").toAscii() ));
       }
     }
@@ -117,5 +120,6 @@
   // Remaining part decodes the Observations
   // ---------------------------------------
-  if (_mode == unknown || _mode == observations) {
+  if (_mode == unknown || _mode == observations || _checkMountPoint == _staID || _checkMountPoint == "ALL") {
+    printf("observations\n");
     for (int ii = 0; ii < bufLen; ii++) {
     
@@ -123,6 +127,4 @@
       if (_Parser.MessageSize >= _Parser.NeedBytes) {
     
-        while(int rr = RTCM3Parser(&_Parser)) {
-
         // RTCM message types
         // ------------------
@@ -132,4 +134,6 @@
           _Parser.typeSize = 0;
     
+        while(int rr = RTCM3Parser(&_Parser)) {
+
           // GNSS Observations
           // -----------------
@@ -143,5 +147,6 @@
             
             if (rr == 2) {
-              std::cerr << "No valid RINEX! All values are modulo 299792.458!\n";
+//            std::cerr << "No valid RINEX! All values are modulo 299792.458!\n";
+              emit(newMessage( (_staID + ": No valid RINEX! All values are modulo 299792.458!").toAscii() ));
             }
             
@@ -242,5 +247,5 @@
     if (_mode == unknown && decoded) {
       _mode = observations;
-      emit(newMessage( (_staID + " : mode set to observations").toAscii() ));
+//    emit(newMessage( (_staID + " : mode set to observations").toAscii() ));
     }
   }
