I need to get notification success delivery. I read so many and tried. I have GSM modem ZTE K4510Z. I don\'t get any notification or save to sim card. In my tes
You are sending AT+CNMI=2,2,0,0,0
command, with the goal to have in SM either incoming SMS or the SMS delivery report, along with URCs notifications for them. I'll try to explain how to enable both of these features.
According to the spec, syntax the syntax of that command is:
AT+CNMI=[mode[,mt[,bm[,ds[,bfr]]]]]
mode=2
means that URCs are buffered in case of busy modem.mt=2
means that incoming messages are shown directly with a +CMT: ...
URC. No storing!!!ds=0
means that status report receiving is not reported and is not stored! That's not what you want!Instead, you probably want:
+CMTI: <mem>,<idx>
URC is shown, stating that is has been stored in memory=mem at index=idx.+CDSI: <mem>,<idx>
URC is shown, stating that is has been stored in memory=mem at index=idx.This might help you, but be aware that
+CDS: ...
.Note: be also aware that +CNMI settings are volatile, so if you reboot you lose them unless you save them in the default profile (by issuing AT&W&P
).