Received SMS messages are not deleted by Message Control because the modem does not respond to the AT+CMGD command

Received SMS messages are not deleted by Message Control because the modem does not respond to the AT+CMGD command

Summary

SMS messages are not deleted properly by Message Control because the runtime uses the AT+CMGD=[SMS Index],[Flag] syntax to delete SMS messages. Instead, the GSM modem expects an AT command with the following syntax: AT+CMGD=[SMS Index]

Description

SMS messages are not deleted properly by Message Control because the runtime uses the AT+CMGD=[SMS Index],[Flag] syntax to delete SMS messages. Instead, the GSM modem expects an AT command with the following syntax: AT+CMGD=[SMS Index]

Solution

Additionally to the existing method, the AT+CMGD=[SMS Index] syntax was implemented.

Information

In the zenon6.ini, a new entry in the [MESSAGECONTROL] node can be added:

;all entries deleted with AT+CMGD=[SMS Index],[Flag] syntax

GSM_BULK_DELETE = 1

;all entries deleted with AT+CMGD=[SMS Index] syntax

GSM_BULK_DELETE = 0

Using the flag syntax results in better performance but is not supported by all modems.



Issue Number: 28300
Fixed on Date: 29.11.2012
Versions: 7.00 0 BUILD 5