Solved

Modem answers ERROR after an ATZ request

Posted on 2000-03-10
3
887 Views
Last Modified: 2013-12-27
I am creating an application in C language and I faced with a problem of modem. When I need to init the modem (with "ATZ\r" string) while the application is running, I get an ERROR answer from the modem if it answered BUSY the last time. But, when I launch the application and send the "ATZ\r" the first time, all is well.
I'm a beginner with communications with modem, so the error may be quite simple.

Thank you.
0
Comment
Question by:tdehais
  • 2
3 Comments
 
LVL 12

Expert Comment

by:Faruk Onder Yerli
ID: 2604291
Check your application component speed,Databits (9600 N81)
Probably you are not sending only 'ATZ' & CR..
You check your code & port setting..
0
 

Author Comment

by:tdehais
ID: 2604470
I'm not only sending "ATZ\r" but "+++" before in order to obtain the command mode.
Maybe is the fact that when I'm already in command mode and sending "+++" that causes ERROR
How can I test that I'm in command mode ? Sending AT ?
I will check these points...


Thanks.
0
 
LVL 12

Accepted Solution

by:
Faruk Onder Yerli earned 50 total points
ID: 2604631
if the modem is not connected , You were in command mode.
Send port 'ATZ' + CR code(#13 - Enter char).Certainly you must get ok.

if you dont get ok, try this...
You can loop from com1 to com2 for check ports. send a char com1, listen a char com2.
if you get right chars, ports are ok.
(Please check hex char)
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Do you have a computer or other electronic gear that is attached to a rat nest of cables, or alternatively have your cables all bundled nice at neat?  If so then read this post to sidstep common pitfalls. When I was a student at DeVry University,…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

760 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

20 Experts available now in Live!

Get 1:1 Help Now