Solved

keypress

Posted on 1998-09-01
10
181 Views
Last Modified: 2013-12-27
How can I get the input key from a phone pad after connected ? Is it ASCII code ?

Andrew
0
Comment
Question by:andrewyu
  • 5
  • 2
  • 2
  • +1
10 Comments
 
LVL 12

Expert Comment

by:Otta
Comment Utility
This seems to be a popular question, i.e.,
http://www.experts-exchange.com/topics/comp/os2/programming/Q.10071985
asks a quite-similar question,
but nobody has (yet) answered that question.
0
 
LVL 12

Expert Comment

by:public
Comment Utility
Phone key pad generates touch tone electrical tones, or switch breaks in pulse mode. Neither is ascii code, or can be directly read by a computer. You need youch tone decoder box with a computer interface.
0
 

Author Comment

by:andrewyu
Comment Utility
But, are they ASCII code after decode by modem ?

Andrew
0
 
LVL 12

Expert Comment

by:Otta
Comment Utility
> Neither is ascii code, or can be directly read by a computer.

Huh?  I just checked my voice-mail, and
the computer asked me to use the keypad to enter my "password".

Obviously, that computer was(!) able to convert the tones
generated by the keypresses into some sort (ASCII?) of codes,
so that my password could be verified ?!?!
0
 

Author Comment

by:andrewyu
Comment Utility
If I read this from com port which is connect to modem, is it ascii code ?

Andew
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 10

Accepted Solution

by:
rbr earned 100 total points
Comment Utility
If your modem has a MFT-convertion, this could be read in from the serial port. I used such a modem long time ago and it returned the numerical value of the key (not ascii). It depends on your modem.
0
 

Author Comment

by:andrewyu
Comment Utility
What is MFT ?

Is the Hayes modem support this ?

Andrew
0
 

Author Comment

by:andrewyu
Comment Utility
What is MFT ?

Is the Hayes modem support this ?

Anyway, thank you very much !

Andrew
0
 
LVL 10

Expert Comment

by:rbr
Comment Utility
MFT=are the tone codes you telephone sends when a key is pressed. This has nothing to do with a Hayes modem. I had a PSI Comstation (sorry I don't know which model) which was able to convert this codes.
0
 

Author Comment

by:andrewyu
Comment Utility
So, after the Hayes modem decode the tone and send to the serial port, are they ASCII code ?

Andrew
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The following recovery method will work on All Cisco Switchs that run ISO software. You will need a good copy of the IOS version you want you use saved on your PC and a Com's Cable. The software for these switches comes as a .tar file. Tar is …
If you’re like me and you like peace and quiet, saving money, and pretty lights, then this article is for you. For financial reasons, I buy all the Cisco equipment for my home lab second-hand. The first thing to wear out is usually one of the coo…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now