Support forum

Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

"The GSM Modem returned ERROR after the AT +GMGL=4r command."
sp_NewPost Add Reply sp_NewTopic Add Topic
June 8, 2012
10:47 am
Henk Helmantel

If this is a one-time error and if there are no other issues, you can ignore it safely. 3G modems sometimes generate error messages when they are busy doing something else. This does not have to mean that there is something wrong.

If this error is persistent and you notice that the modem receives no new messages then there is a good chance that the modem has an internal error. This internal error can only be resolved by rebooting the modem. In the Advanced options of the GSM Modem Gateway are a couple of settings to automatically reboot the modem when an error occurs. In this case you should set the RebootAfterReceiveError option to True (version, in older versions the options have different names).

Not all USB modems can handle a reboot without problems, it is best to keep an eye out to see if the modem recovers well after a reboot.

Regards, Henk

June 8, 2012
5:58 am


I use Huawei E173 Rev,
I found the same error "The GSM Modem returned ERROR after the AT +GMGL=4\r command." also. but i happen once a week.

Please help me to find out because the hardware is complatible already

Thank you

March 15, 2012
7:50 pm
Henk Helmantel

Hi Luis,

The next version of Diafaan SMS Server will ignore this error but for the current version you can try if setting the CompatibilityMode property in the Advanced settings of the GSM Modem Gateway to BasicPDUMode or BasicTextMode helps.

If you have a valid license for Diafaan SMS Server I can send you an update for the GSM Modem Gateway if you send your serial number to dmsATdiafaanDOTcom.

Regards, Henk

March 15, 2012
3:50 pm

I'm getting this error when using a Motorola A1200 Modem; The GSM Modem returned ERROR after the AT+COPS=3,0\r command. Please help me to fix this issue.

September 21, 2010
2:11 pm
Henk Helmantel

This error means that the Nokia X6-00 does not support the reception of SMS messages with external software. You can disable the error messages if you double click on the GSM Modem Gateway and select Send only. After that you can still send SMS messages but Diafaan SMS Server will not try to get the received SMS messages.

Most modern (smart)phones do not support receiving SMS messages anymore. If you need this, your only option is to get a GSM or 3G modem or an older model GSM phone.

See also:

September 21, 2010
1:35 pm

Hi there,


I've just dowloaded and installed (trial version) Diafaan server and I'm trying to use my Nokia X6-00 phone as a modem, but with no success due to following error message:

"The GSM Modem returned ERROR after the AT +GMGL=4\r command."

Please note that I get the same message using either USB cable and bluethooth.


Please help

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 677

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1149

Posts: 3928

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1502