Solved

Modem answers ERROR after an ATZ request

Posted on 2000-03-10
3
915 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Broadband over Power Lines Broadband over Power Lines is the technology of transmitting computer data through power lines. This method of connectivity allows the user to have access to the internet without having to rely on additional cables, suc…
 One of the main issues with network wires is that you never have enough.  You run plenty and plan for the worst case but you still end up needing more.  What many people do not realize is with 10BaseT and 100BaseT (but not 1000BaseT) networks you …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

840 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