home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / me100.zip / ModemEngine.h < prev    next >
Text File  |  1996-06-22  |  3KB  |  67 lines

  1. //+----------------------------------------------------------------------------+
  2. //| MODEMENGINE.H                                                              |
  3. //|                                                                            |
  4. //| COPYRIGHT:                                                                 |
  5. //| ----------                                                                 |
  6. //|  Copyright (C) Sacha Prins, 1995, 1996.                                    |
  7. //|                                                                            |
  8. //| DISCLAIMER OF WARRANTIES:                                                  |
  9. //| -------------------------                                                  |
  10. //|  The following [enclosed] code is code created by Sacha Prins.             |
  11. //|  The code is provided "AS IS", without warranty of any kind. Sacha Prins   |
  12. //|  shall not be liable for any damages arising out of your use of the        |
  13. //|  [enclosed] code.                                                          |
  14. //|                                                                            |
  15. //| REVISION LEVEL: 1.0                                                        |
  16. //| ---------------                                                            |
  17. //|    22-jun-1996: Initial release to the public                              |
  18. //+----------------------------------------------------------------------------+
  19. #ifndef __MODEM_ENGINE_H__
  20. #define __MODEM_ENGINE_H__
  21.  
  22. #define INITIALIZE      "Z"
  23. #define HANGUP          "H"
  24. #define CUSTOMINIT      "&C1&D2EV&KL3"
  25. #define VERBAL          "E1V1"
  26.  
  27. #define NOCID           "#CID=0"
  28.  
  29. #define BEEP            "#VTS=[0,1000,5]"
  30.  
  31. #define DLE             16
  32. #define EXT             3
  33.  
  34. #define SETDEVICE                       "#CLS="
  35. #define SETBITS                         "#VBS="
  36. #define SETDEADMANTIMER                 "S30="
  37. #define SETSPEED                        "#BDR="
  38. #define SETSILENCEDETECTION             "#VSS="
  39. #define SETSILENCEDETECTIONVALUE        "#VSP="
  40. #define SETSILENCEDELETION              "#VSD="
  41. #define SETLINE                         "#VLS="
  42. #define TRANSMIT                        "#VTX"
  43. #define RECEIVE                         "#VRX"
  44. #define ANSWER                          "A"
  45. #define HANGUP                          "H"
  46. #define BEEP                            "#VTS=[0,1000,5]"
  47. #define QUERYDEVICE                     "#CLS=?"
  48. #define QUERYMODEL                      "#MDL?"
  49. #define QUERYMANUFACTURER               "#MFR?"
  50. #define QUERYREVISION                   "#REV?"
  51. #define QUERYCOMPRESSION                "#VCI?"
  52. #define QUERYDEVICES                    "#VLS=?"
  53.  
  54.  
  55. typedef unsigned short WORD;
  56.  
  57. #define OK              "OK\0"
  58. #define CONNECT         "CONNECT\0"
  59. #define RING            "RING\0"
  60. #define NO_CARRIER      "NO CARRIER\0"
  61. #define ERROR           "ERROR\0"
  62. #define NO_DIALTONE     "NO DIALTONE\0"
  63. #define BUSY            "BUSY\0"
  64. #define VCON            "VCON\0"
  65.  
  66. #endif
  67.