Index: trunk/MagicSoft/Cosy/candrv/network.h
===================================================================
--- trunk/MagicSoft/Cosy/candrv/network.h	(revision 1138)
+++ trunk/MagicSoft/Cosy/candrv/network.h	(revision 1139)
@@ -33,5 +33,5 @@
     bool HasError() const;
 
-    ClassDef(Network, 0)
+    ClassDef(Network, 0) // collection of nodes (nodedrv)
 };
 
Index: trunk/MagicSoft/Cosy/candrv/nodedrv.cc
===================================================================
--- trunk/MagicSoft/Cosy/candrv/nodedrv.cc	(revision 1138)
+++ trunk/MagicSoft/Cosy/candrv/nodedrv.cc	(revision 1139)
@@ -29,4 +29,15 @@
 // Base class for a class describing the interface for the CAN nodes.
 //
+// to be overloaded:
+//  virtual void InitDevice(Network *net)
+//  virtual void StopDevice()
+//  virtual void HandleSDO(WORD_t idx, BYTE_t subidx, LWORD_t val, struct timeval *tv)
+//  virtual void HandleSDOOK(WORD_t idx, BYTE_t subidx)
+//  virtual void HandleSDOError(LWORD_t data)
+//  virtual void HandlePDO1(BYTE_t *data, struct timeval *tv)
+//  virtual void HandlePDO2(BYTE_t *data, struct timeval *tv)
+//  virtual void HandlePDO3(BYTE_t *data, struct timeval *tv)
+//  virtual void HandlePDO4(BYTE_t *data, struct timeval *tv)
+//
 ///////////////////////////////////////////////////////////////////////
 #include "nodedrv.h"
@@ -47,5 +58,5 @@
 NodeDrv::NodeDrv(BYTE_t nodeid, const char *name, MLog &out) : Log(out), fNetwork(NULL), fId(32), fError(0)
 {
-    if (nodeid>31)
+    if (nodeid>0x1f)
     {
         cout << "SetNode - Error: Only node Numbers < 32 are allowed"<< endl;
@@ -60,5 +71,5 @@
     {
         fName = "Node#";
-        fName += nodeid;
+        fName += (int)nodeid;
     }
 }
Index: trunk/MagicSoft/Cosy/candrv/nodedrv.h
===================================================================
--- trunk/MagicSoft/Cosy/candrv/nodedrv.h	(revision 1138)
+++ trunk/MagicSoft/Cosy/candrv/nodedrv.h	(revision 1139)
@@ -1,4 +1,6 @@
 #ifndef NODEDRV_H
 #define NODEDRV_H
+
+#include <TString.h>
 
 #include "log.h"
@@ -36,7 +38,7 @@
     virtual ~NodeDrv();
 
-    BYTE_t   GetId() const       { return fId;   }
-    char    *GetNodeName() const { return fName; }
-    Network *GetNetwork()        { return fNetwork; }
+    BYTE_t      GetId() const       { return fId;   }
+    const char *GetNodeName() const { return fName; }
+    Network    *GetNetwork()        { return fNetwork; }
 
     virtual void InitDevice(Network *net);
@@ -83,5 +85,5 @@
     void EnableCanMsg(BYTE_t fcode);
 
-    ClassDef(NodeDrv, 0)
+    ClassDef(NodeDrv, 0) // base class for an object describing hardware
 };
 
Index: trunk/MagicSoft/Cosy/candrv/vmodican.h
===================================================================
--- trunk/MagicSoft/Cosy/candrv/vmodican.h	(revision 1138)
+++ trunk/MagicSoft/Cosy/candrv/vmodican.h	(revision 1139)
@@ -76,5 +76,5 @@
                       BYTE_t m4=0, BYTE_t m5=0, BYTE_t m6=0, BYTE_t m7=0);
 
-    ClassDef(VmodIcan, 0)
+    ClassDef(VmodIcan, 0) // hardware interface to the vmodican can module (Janz)
 };
 
