Changeset 55 in projects for punch-card/protocols/documation-m200/pc-uc-protocol.h
- Timestamp:
- Jan 1, 2010, 1:12:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
punch-card/protocols/documation-m200/pc-uc-protocol.h
r50 r55 52 52 #define M200_CLIENT_BINARY '5' 53 53 #define M200_CLIENT_RESET '6' 54 #define M200_CLIENT_VERBOSE '7' 54 55 55 56 /* Server response codes */ … … 64 65 #define M200_SERVER_ACK_BINARY "205" 65 66 #define M200_SERVER_ACK_RESET "206" 67 #define M200_SERVER_ACK_VERBOSE "207" 68 69 /* Signal codes */ 70 #define M200_SERVER_SIGNAL_PREFIX "3" 71 #define M200_SERVER_SIGNAL_ERROR "0" 72 #define M200_SERVER_SIGNAL_READY "1" 73 #define M200_SERVER_SIGNAL_BUSY "2" 74 #define M200_SERVER_SIGNAL_HCK "3" 75 #define M200_SERVER_SIGNAL_MOCK "4" 76 #define M200_SERVER_SIGNAL_RISE "1" 77 #define M200_SERVER_SIGNAL_FALL "0" 78 // can be composed by preprocessor, like in 79 // puts(M200_SERVER_SIGNAL_PREFIX M200_SERVER_SIGNAL_READY M200_SERVER_SIGNAL_RISE " Ready rising); 66 80 67 81 #define M200_SERVER_ILLEGAL_COMMAND "500" 68 82 #define M200_SERVER_ILLEGAL_FOOBAR "501" 69 83 #define M200_SERVER_ILLEGAL_FORMAT "502" 84 # 70 85 71 86 #define M200_SERVER_HEX_PREFIX "6" … … 73 88 #define M200_SERVER_BINARY_PREFIX "8" 74 89 #define M200_SERVER_BINARY "800" 90 91 #define M200_SERVER_FATAL_PREFIX "9" 92 #define M200_SERVER_FATAL_CARD "900" 93 #define M200_SERVER_FATAL_PRINT_BUFFER "905" 94 75 95 76 96
Note: See TracChangeset
for help on using the changeset viewer.