Index: trunk/BNC/RTCM3/RTCM3Decoder.cpp
===================================================================
--- trunk/BNC/RTCM3/RTCM3Decoder.cpp	(revision 1908)
+++ trunk/BNC/RTCM3/RTCM3Decoder.cpp	(revision 1909)
@@ -212,4 +212,5 @@
                 obs->_o.satSys = 'R';
                 obs->_o.satNum = _Parser.Data.satellites[ii] - PRN_GLONASS_START + 1;
+		obs->_o.slot   = _Parser.Data.channels[ii];
               }
               else {
Index: trunk/BNC/RTCM3/rtcm3torinex.c
===================================================================
--- trunk/BNC/RTCM3/rtcm3torinex.c	(revision 1908)
+++ trunk/BNC/RTCM3/rtcm3torinex.c	(revision 1909)
@@ -1,5 +1,5 @@
 /*
   Converter for RTCM3 data to RINEX.
-  $Id: rtcm3torinex.c,v 1.24 2009/05/04 10:38:37 mervart Exp $
+  $Id: rtcm3torinex.c,v 1.25 2009/05/07 09:27:19 mervart Exp $
   Copyright (C) 2005-2008 by Dirk Stöcker <stoecker@alberding.eu>
 
@@ -55,5 +55,5 @@
 
 /* CVS revision and version */
-static char revisionstr[] = "$Revision: 1.24 $";
+static char revisionstr[] = "$Revision: 1.25 $";
 
 #ifndef COMPILEDATE
@@ -669,6 +669,9 @@
             ;
 
-          if(num == gnss->numsats)
-            gnss->satellites[gnss->numsats++] = fullsat;
+          if(num == gnss->numsats) {
+            gnss->satellites[gnss->numsats] = fullsat;
+            gnss->channels  [gnss->numsats] = freq;
+            gnss->numsats++;
+          }
 
           /* L1 */
@@ -1689,5 +1692,5 @@
 
 #ifndef NO_RTCM3_MAIN
-static char datestr[]     = "$Date: 2009/05/04 10:38:37 $";
+static char datestr[]     = "$Date: 2009/05/07 09:27:19 $";
 
 /* The string, which is send as agent in HTTP request */
Index: trunk/BNC/RTCM3/rtcm3torinex.h
===================================================================
--- trunk/BNC/RTCM3/rtcm3torinex.h	(revision 1908)
+++ trunk/BNC/RTCM3/rtcm3torinex.h	(revision 1909)
@@ -4,5 +4,5 @@
 /*
   Converter for RTCM3 data to RINEX.
-  $Id: rtcm3torinex.h,v 1.16 2008/12/08 10:50:42 mervart Exp $
+  $Id: rtcm3torinex.h,v 1.17 2009/05/07 09:27:19 mervart Exp $
   Copyright (C) 2005-2006 by Dirk Stöcker <stoecker@alberding.eu>
 
@@ -108,4 +108,5 @@
   int    dataflags[24];      /* GPSDF_xxx */
   int    satellites[24];     /* SV - IDs */
+  int    channels[24];       /* Glonass channels - valid of Glonass SV only */
   int    snrL1[24];          /* Important: all the 5 SV-specific fields must */
   int    snrL2[24];          /* have the same SV-order */
