Added some includes
[h316.git] / pc-tools / ldc2 / src / hw_constants.hh
index 2ec1c87312f52bf844a3be07586e3c36c5187149..6c85e56f24d04ea0a9f2f33a3f5db6541365798a 100644 (file)
@@ -1,15 +1,29 @@
+/******************************************************************************
+ * 
+ * LDC2 source code
+ *
+ * $Date: 2007/03/26 01:00:40 $
+ * $Author: hachti $
+ *
+ * $Log: hw_constants.hh,v $
+ * Revision 2.0  2007/03/26 01:00:40  hachti
+ * *** empty log message ***
+ *
+ *
+ ******************************************************************************/
 #ifndef HW_CONSTANTS_H
 #define HW_CONSTANTS_H
 
 /* Block start delimiter */
-#define BLOCK_START_DELIMITER 0x81
+#define BLOCK_START_DELIMITER 0x81  //0201 (SOM:Start of Message)
 
 #define MINIMUM_DATA_BLOCK_WORDSIZE 1
 
 /* Block end delimiters */
-#define EOB_LENGTH 1
-#define BLOCK_END_DELIMITER_1 0223 
-#define BLOCK_END_DELIMITER_2 0223
+#define EOB_LENGTH 2
+#define BLOCK_END_DELIMITER_1 0223 // XOFF 0x93
+#define BLOCK_END_DELIMITER_2 0xFF
 
 /* End of Tape sequence
  * If EOT_LENGTH is set to 2, EOT_1 becomes insignificant and so on
@@ -19,5 +33,4 @@
 #define EOT_SEQ_2  0x93
 #define EOT_SEQ_3  0xff
 
-
 #endif