tdehais
asked on
Modem answers ERROR after an ATZ request
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.
I'm a beginner with communications with modem, so the error may be quite simple.
Thank you.
ASKER
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Probably you are not sending only 'ATZ' & CR..
You check your code & port setting..