?
Solved

Modem answers ERROR after an ATZ request

Posted on 2000-03-10
3
Medium Priority
?
967 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 150 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

Bringing Advanced Authentication to the SMB Market

WatchGuard announces the acquisition of advanced authentication provider, Datablink, with one mission – to bring secure authentication to SMB, mid-market, and distributed enterprises with a cloud-based solution, ideal for resale via their established channel & MSSP community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

764 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