Have ZTE modems, all incoming SMS are stored in memory SM, and reports are stored in the memory of SR
memory modems. As modems got memory ME, MT.
AT+CMGD method only works for SM, ME, MT. SR only works for CPMS.
start = ATE+CPMS="SM","SR","ME"
check_memory_method = 1
check_memory_method = 1
'smsdconf' Syntax Highlight powered by GeSHi
To receive the reports for FREE you need to go through the memory of the SR method with CPMS. But the fact that +CPMS: "SM",0,20,"SR",0,100,"ME",0,100 in reality look like
SM has indexes 0-19
ME has indexes 0-49
SR has indexes 50-99
If you set
primary_memory = SR
secondary_memory = SM
secondary_memory = SM
'smsdconf' Syntax Highlight powered by GeSHi
When memory_start = 50 will not be able to read incoming SMS.
When memory_start = 0 delivery reports are checked for too long (about 6-8 seconds is too much non-existent cells).
Offer variant:
1)
primary_memory = SR
memory_start = 50
memory_end = 99
secondary_memory = SM
secondary_memory_start = 0
secondary_memory_end = 49
memory_start = 50
memory_end = 99
secondary_memory = SM
secondary_memory_start = 0
secondary_memory_end = 49
'smsdconf' Syntax Highlight powered by GeSHi
2)
primary_memory = SR
memory_start = 50
memory_end = 99
check_memory_method = 1
secondary_memory = SM
secondary_memory_start = 0
secondary_memory_end = 49
secondary_check_memory_method = 2
memory_start = 50
memory_end = 99
check_memory_method = 1
secondary_memory = SM
secondary_memory_start = 0
secondary_memory_end = 49
secondary_check_memory_method = 2
'smsdconf' Syntax Highlight powered by GeSHi
3)
memory = SR
memory_start = 50
memory_end = 99
check_memory_method = 1
memory = SM
memory_start = 0
memory_end = 50
check_memory_method = 1
memory = ME
check_memory_method = 2
memory_start = 50
memory_end = 99
check_memory_method = 1
memory = SM
memory_start = 0
memory_end = 50
check_memory_method = 1
memory = ME
check_memory_method = 2
'smsdconf' Syntax Highlight powered by GeSHi