home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / windows / winterm / xycodes.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-20  |  1.1 KB  |  39 lines

  1. /* xycodes.h */
  2.  
  3. #define XY_IDLE             101
  4.  
  5. #define TX_START            201
  6. #define TX_NEWFILE          202
  7. #define TX_WAIT4_NCG        203
  8. #define TX_COMPUTE_PACKETS  204
  9. #define TX_READ_DISK        205
  10. #define TX_SEND_EOT         206
  11. #define TX_WAIT4_EOT_ACK    207
  12. #define TX_PREPARE_PACKET   208
  13. #define TX_SEND_PACKET      209
  14. #define TX_SEND_DATA        210
  15. #define TX_SEND_CHECKSUM    211
  16. #define TX_WAIT4_PACKET_ACK 212
  17. #define TX_CHECK4_RESTART   213
  18. #define TX_NEXT_PACKET      214
  19.  
  20. #define RX_START            300
  21. #define RX_SEND_NCG         301
  22. #define RX_WAIT4_INCOMING   302
  23. #define RX_OPEN_FILE        303
  24. #define RX_READY4_PACKETS   304
  25. #define RX_GET_PACKET       305
  26. #define RX_PACKET_OK        306
  27. #define RX_WAIT4_SOH_STX    307
  28. #define RX_GET_DATA         308
  29. #define RX_GET_PACKET_NBR   309
  30. #define RX_GET_COMPLIMENT   310
  31. #define RX_GET_CRC          311
  32. #define RX_GET_2ND_CRC      312
  33. #define RX_TEST_CRC         313
  34.  
  35. #define ONE_SEC    1000L
  36. #define THREE_SECS 3000L
  37. #define SIX_SECS   6000L
  38. #define TEN_SECS  10000L
  39.