Index: trunk/BNC/GPSS/hassDecoder.cpp
===================================================================
--- trunk/BNC/GPSS/hassDecoder.cpp	(revision 3504)
+++ trunk/BNC/GPSS/hassDecoder.cpp	(revision 3504)
@@ -0,0 +1,43 @@
+
+/* -------------------------------------------------------------------------
+ * BKG NTRIP Client
+ * -------------------------------------------------------------------------
+ *
+ * Class:      hassDecoder
+ *
+ * Purpose:    Decode Data (PPP Corrections) in HASS Format
+ *
+ * Author:     L. Mervart
+ *
+ * Created:    19-Nov-2011
+ *
+ * Changes:    
+ *
+ * -----------------------------------------------------------------------*/
+
+#include "hassDecoder.h"
+#include "bncapp.h"
+
+using namespace std;
+
+// Constructor
+////////////////////////////////////////////////////////////////////////////
+hassDecoder::hassDecoder() : GPSDecoder() {
+}
+
+// Destructor
+////////////////////////////////////////////////////////////////////////////
+hassDecoder::~hassDecoder() {
+}
+
+// 
+////////////////////////////////////////////////////////////////////////////
+t_irc hassDecoder::Decode(char* data, int dataLen, vector<string>& errmsg) {
+
+  errmsg.clear();
+
+  _buffer += QByteArray(data, dataLen);
+
+
+  return success;
+}
Index: trunk/BNC/GPSS/hassDecoder.h
===================================================================
--- trunk/BNC/GPSS/hassDecoder.h	(revision 3504)
+++ trunk/BNC/GPSS/hassDecoder.h	(revision 3504)
@@ -0,0 +1,26 @@
+
+#ifndef HASSDECODER_H
+#define HASSDECODER_H
+
+#include <QtCore>
+
+#include "RTCM/GPSDecoder.h"
+#include "rtcm3torinex.h"
+
+class hassDecoder : public QObject, public GPSDecoder {
+Q_OBJECT
+
+ public:
+  hassDecoder();
+  virtual ~hassDecoder();
+  virtual t_irc Decode(char* data, int dataLen, std::vector<std::string>& errmsg);
+
+ signals:
+  void newMessage(QByteArray msg, bool showOnScreen);
+
+ private:
+  QByteArray _buffer;
+} ;
+
+#endif
+
Index: trunk/BNC/bnc.pro
===================================================================
--- trunk/BNC/bnc.pro	(revision 3503)
+++ trunk/BNC/bnc.pro	(revision 3504)
@@ -56,5 +56,5 @@
           RTCM3/clock_and_orbit/clock_orbit_rtcm.h                    \
           RTCM3/ephemeris.h RTCM3/timeutils.h                         \
-          GPSS/gpssDecoder.h
+          GPSS/gpssDecoder.h GPSS/hassDecoder.h
 
 HEADERS       += serial/qextserialbase.h serial/qextserialport.h
@@ -88,5 +88,5 @@
           RTCM3/clock_and_orbit/clock_orbit_rtcm.c                    \
           RTCM3/ephemeris.cpp RTCM3/timeutils.cpp                     \
-          GPSS/gpssDecoder.cpp
+          GPSS/gpssDecoder.cpp GPSS/hassDecoder.cpp
 
 SOURCES       += serial/qextserialbase.cpp serial/qextserialport.cpp
Index: trunk/BNC/bncgetthread.cpp
===================================================================
--- trunk/BNC/bncgetthread.cpp	(revision 3503)
+++ trunk/BNC/bncgetthread.cpp	(revision 3504)
@@ -68,4 +68,5 @@
 #include "RTCM3/RTCM3Decoder.h"
 #include "GPSS/gpssDecoder.h"
+#include "GPSS/hassDecoder.h"
 #include "serial/qextserialport.h"
 
@@ -318,4 +319,8 @@
     _decoder = new bncRtnetDecoder();
   }
+  else if (_format.indexOf("HASS") != -1) {
+    emit(newMessage(_staID + ": Get data in HASS format", true));
+    _decoder = new hassDecoder();
+  }
   else {
     emit(newMessage(_staID + ": Unknown data format " + _format, true));
