home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
me100.zip
/
ModemEngine.h
< prev
next >
Wrap
Text File
|
1996-06-22
|
3KB
|
67 lines
//+----------------------------------------------------------------------------+
//| MODEMENGINE.H |
//| |
//| COPYRIGHT: |
//| ---------- |
//| Copyright (C) Sacha Prins, 1995, 1996. |
//| |
//| DISCLAIMER OF WARRANTIES: |
//| ------------------------- |
//| The following [enclosed] code is code created by Sacha Prins. |
//| The code is provided "AS IS", without warranty of any kind. Sacha Prins |
//| shall not be liable for any damages arising out of your use of the |
//| [enclosed] code. |
//| |
//| REVISION LEVEL: 1.0 |
//| --------------- |
//| 22-jun-1996: Initial release to the public |
//+----------------------------------------------------------------------------+
#ifndef __MODEM_ENGINE_H__
#define __MODEM_ENGINE_H__
#define INITIALIZE "Z"
#define HANGUP "H"
#define CUSTOMINIT "&C1&D2EV&KL3"
#define VERBAL "E1V1"
#define NOCID "#CID=0"
#define BEEP "#VTS=[0,1000,5]"
#define DLE 16
#define EXT 3
#define SETDEVICE "#CLS="
#define SETBITS "#VBS="
#define SETDEADMANTIMER "S30="
#define SETSPEED "#BDR="
#define SETSILENCEDETECTION "#VSS="
#define SETSILENCEDETECTIONVALUE "#VSP="
#define SETSILENCEDELETION "#VSD="
#define SETLINE "#VLS="
#define TRANSMIT "#VTX"
#define RECEIVE "#VRX"
#define ANSWER "A"
#define HANGUP "H"
#define BEEP "#VTS=[0,1000,5]"
#define QUERYDEVICE "#CLS=?"
#define QUERYMODEL "#MDL?"
#define QUERYMANUFACTURER "#MFR?"
#define QUERYREVISION "#REV?"
#define QUERYCOMPRESSION "#VCI?"
#define QUERYDEVICES "#VLS=?"
typedef unsigned short WORD;
#define OK "OK\0"
#define CONNECT "CONNECT\0"
#define RING "RING\0"
#define NO_CARRIER "NO CARRIER\0"
#define ERROR "ERROR\0"
#define NO_DIALTONE "NO DIALTONE\0"
#define BUSY "BUSY\0"
#define VCON "VCON\0"
#endif