DTMF_Detect_and_Dial
所属分类:通讯编程
开发工具:Visual C++
文件大小:8KB
下载次数:190
上传日期:2006-11-20 14:45:17
上 传 者:
Fishqq
说明: DTMF 解码器 , 简单易使用 , 用 C 写的
(DTMF decoder, simple and easy to use, write the C)
文件列表:
DTMF Detect and Dial.cpp (24746, 2002-11-18)
DTMF Detect and Dial.dsp (3730, 2002-11-18)
DTMF Detect and Dial.dsw (565, 2002-11-18)
"DTMF Detect and Dial" readme.txt
/*************************************************************************
ATTENTION
IF YOU DO NOT AGREE WITH THE FOLLOWING STATEMENT, YOU MUST
PROMPTLY RETURN THE SOFTWARE AND ANY ACCOMPANYING DOCUMENTATION
("PRODUCT") TO PIKA TECHNOLOGIES INC. ("PIKA").
LIMITATION OF WARRANTIES AND LIABILITY: The PRODUCT is provided
to you on an "as is" basis, without any warranties, or conditions,
express or implied, including but not limited to warranties of
merchantability or fitness for a particular purpose, or those arising
by law or statute. PIKA shall not be liable to you or any other
person or entity for any direct, indirect, incidental, special or
consequential damages whatsoever, including but not limited to loss
of revenue or profit, lost or damaged data or other commercial or
economic loss, arising out of your use of the PRODUCT.
*************************************************************************/
___ VERSION CONTROL _____________________________________
Works with MonteCarlo version: 6.0
Date Changes
==== =======
April 24,2002 Cleaned comments, added capability to dial
and detect DTMF. Added error checking.
Nov. 18, 2002 MOdified event queue and event handler to
use same as in other samples. Modified app's
state machine.
March 25,2004 Recompiled and tested with MC6.1
_________________________________________________________
___ DESCRIPTION _________________________________________
This application can dial and detect DTMF digits.
_________________________________________________________
__ REQUIREMENTS _________________________________________
Requirements: - 2 analog lines (or 1 line and one cell phone);
- 1 phone (if two lines are available - otherwise
use cell phone);
- MonteCarlo 6.0;
- Visual Studio 6.0;
- Daytona MM;
Setup: 1) Connect the phone to one of the lines or
continue with steps below if using cell phone.
2) Connect the other line to trunk 0 on the card.
3) Using MCSetup, detect and save the default
card settings. Disable all other cards if any.
4) Open the project file for this sample,
then compile it and run it.
5) Follow the on-screen menu.
_________________________________________________________
__ USAGE ________________________________________________
With this application, hit '1' to dial a DTMF string. If the
trunk is on-hook, the application takes it off-hook and
dials the DTMF string (this is where you can dial the number
for the cell phone in the case where only one line is available).
When the phone rings, answer it. At this point, you can either
hit '2' to hang-up or press DTMF digits on the phone's keypad
and they will be displayed on the screen along with the energy
level of the DTMF's that are detected.
If you go on-hook ('2'), dial-in with the phone into the line
connected on the card. After the first ring-off, the trunk
goes off-hook automatically. At this point, you can detect
DTMF's again.
_________________________________________________________
___ FILE DESCRIPTION ____________________________________
DTMF Detect and Dial.cpp Source code for the application.
DTMF Detect and Dial.dsp Project file require to run the application.
DTMF Detect and Dial.dsw Required by the project file.
ReadMe.txt The file you are currently reading.
_________________________________________________________
___ LIMITATIONS _________________________________________
This application uses only the DSP 0 and trunk 0 on BOARD 0.
This sample assumes that MonteCarlo was installed in the default
folder C:\PIKA. If this is not the installation folder, you
will need to remove the library files from the default workspace
and set the paths to match the location of the MonteCarlo .lib files
on your system. The paths for the header files located in the .cpp
file will also need to match the location of the MonteCarlo header
files.
__________________________________________________________
end.
近期下载者:
相关文件:
收藏者: