Index: trunk/BNC/RTCM3/RTCM3Decoder.cpp
===================================================================
--- trunk/BNC/RTCM3/RTCM3Decoder.cpp	(revision 1021)
+++ trunk/BNC/RTCM3/RTCM3Decoder.cpp	(revision 1022)
@@ -65,5 +65,7 @@
   const int LEAPSECONDS = 14; /* only needed for approx. time */
 
-// Ensure, that the Decoder uses the "old" convention for the data structure for Rinex2. Perlt
+  _staID = staID;
+
+  // Ensure, that the Decoder uses the "old" convention for the data structure for Rinex2. Perlt
   _Parser.rinex3 = 0;
 
@@ -108,4 +110,5 @@
       if (_mode == unknown) {
         _mode = corrections;
+        emit(newMessage( (_staID + " : mode set to corrections").toAscii() ));
       }
     }
@@ -232,4 +235,5 @@
     if (_mode == unknown && decoded) {
       _mode = observations;
+      emit(newMessage( (_staID + " : mode set to observations").toAscii() ));
     }
   }
Index: trunk/BNC/RTCM3/RTCM3Decoder.h
===================================================================
--- trunk/BNC/RTCM3/RTCM3Decoder.h	(revision 1021)
+++ trunk/BNC/RTCM3/RTCM3Decoder.h	(revision 1022)
@@ -42,4 +42,5 @@
   virtual t_irc Decode(char* buffer = 0, int bufLen = 0);
  signals:
+  void newMessage(QByteArray msg);
   void newGPSEph(gpsephemeris* gpseph);
   void newGlonassEph(glonassephemeris* glonasseph);
@@ -47,4 +48,5 @@
   enum t_mode{unknown = 0, observations, corrections};
 
+  QString                _staID;
   struct RTCM3ParserData _Parser;
   RTCM3coDecoder*        _coDecoder; 
