Index: trunk/BNC/bncmodel.cpp
===================================================================
--- trunk/BNC/bncmodel.cpp	(revision 2060)
+++ trunk/BNC/bncmodel.cpp	(revision 2061)
@@ -157,5 +157,5 @@
   double tropDelay = 0.0;
 
-  return satData->rho + _xcBanc(4) + tropDelay;
+  return satData->rho + _xcBanc(4) - satData->clk + tropDelay;
 }
 
@@ -166,6 +166,4 @@
   unsigned nPar = _params.size();
   unsigned nObs = epoData->size();
-
-  cout << "update " << nPar << " " << nObs << endl;
 
   _AA.ReSize(nObs, nPar);  // variance-covariance matrix
@@ -179,5 +177,5 @@
     QString    prn     = itObs.key();
     t_satData* satData = itObs.value();
-    _ll(iObs) = cmpValueP3(satData);
+    _ll(iObs) = satData->P3 - cmpValueP3(satData);
 
     unsigned iPar = 0;
@@ -190,7 +188,4 @@
   }
 
-  cout << _AA << endl;
-  cout.flush();
-
   _QQ.ReSize(nPar);
   _QQ << _AA.t() * _AA;
Index: trunk/BNC/bncpppclient.cpp
===================================================================
--- trunk/BNC/bncpppclient.cpp	(revision 2060)
+++ trunk/BNC/bncpppclient.cpp	(revision 2061)
@@ -319,9 +319,15 @@
   ostringstream str;
   str.setf(ios::fixed);
-  str << "    PPP " << _staID.data() << " " 
+  str << "    BANC " << _staID.data() << " " 
       << _epoData->tt.timestr(1) << " " << _epoData->size() << " " 
       << setw(14) << setprecision(3) << _model->xcBanc()(1) << "  "
       << setw(14) << setprecision(3) << _model->xcBanc()(2) << "  "
-      << setw(14) << setprecision(3) << _model->xcBanc()(3);
+      << setw(14) << setprecision(3) << _model->xcBanc()(3) << endl;
+
+  str << "    PPP " << _staID.data() << " " 
+      << _epoData->tt.timestr(1) << " " << _epoData->size() << " " 
+      << setw(14) << setprecision(3) << _model->xx()(1) << "  "
+      << setw(14) << setprecision(3) << _model->xx()(2) << "  "
+      << setw(14) << setprecision(3) << _model->xx()(3);
 
   emit newMessage(QString(str.str().c_str()).toAscii(), true);
