Index: trunk/BNS/RTCM/rtcm3torinex.c
===================================================================
--- trunk/BNS/RTCM/rtcm3torinex.c	(revision 1865)
+++ trunk/BNS/RTCM/rtcm3torinex.c	(revision 2013)
@@ -1,5 +1,5 @@
 /*
   Converter for RTCM3 data to RINEX.
-  $Id: rtcm3torinex.c,v 1.25 2009/05/07 09:27:19 mervart Exp $
+  $Id: rtcm3torinex.c,v 1.27 2009/11/04 16:40:16 zdenek 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.25 $";
+static char revisionstr[] = "$Revision: 1.27 $";
 
 #ifndef COMPILEDATE
@@ -675,4 +675,7 @@
           GETBITS(code, 1)
           GETBITS(freq, 5)
+
+          gnss->channels[num] = freq - 7;
+
           if(code)
           {
@@ -1689,5 +1692,5 @@
 
 #ifndef NO_RTCM3_MAIN
-static char datestr[]     = "$Date: 2009/05/07 09:27:19 $";
+static char datestr[]     = "$Date: 2009/11/04 16:40:16 $";
 
 /* The string, which is send as agent in HTTP request */
Index: trunk/BNS/RTCM/rtcm3torinex.h
===================================================================
--- trunk/BNS/RTCM/rtcm3torinex.h	(revision 1865)
+++ trunk/BNS/RTCM/rtcm3torinex.h	(revision 2013)
@@ -4,5 +4,5 @@
 /*
   Converter for RTCM3 data to RINEX.
-  $Id: rtcm3torinex.h,v 1.17 2009/05/07 09:27:19 mervart Exp $
+  $Id: rtcm3torinex.h,v 1.18 2009/11/04 16:19:40 zdenek 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 */
