PDS6 - Sending PDU using AT+CMGC | Telit Cinterion IoT Developer Community
April 7, 2016 - 2:33pm, 4704 views
Hello
I'm in the process of upgrading from the EGS3 to the PDS6 and I've come across this problem.
I wish to use the AT+CMGC to send PDUs but it fails every time (the SMS doesn't get sent) with CMS ERROR 303 (operation not supported). If I use AT+CMGS it works fine, but I want the functionality that +CMGC provides of advising if the SMS fails to send.
The PDU attempt is as follows (I've edited the phone number for privacy)
AT+CMGC=29
0011000C914412121212120000AD1154747A0E22BFCB73F7890EBABFE56B
+CMS ERROR: 303
If I send this same PDU with AT+CMGS is works fine.
AT+CMGS=29
0011000C914412121212120000AD1154747A0E22BFCB73F7890EBABFE56B
+CMGS: 13
OK
ATI returns:
Cinterion
PDS6
REVISION 03.001
OK
Any advice will be gratefully received.
Regards
Steve
Hello,
As far as I know EGS3 should not be updated to PDS6.
CMGS command is intended for sending messages. CMGC command is for sending command messages to the network. Please see more in the referred 3GPP TS 27.005 document.
Regards,
Bartłomiej
Hi Bartlomiej
Thanks for the response. I've been using the AT+CMGC command on the EGS3 successfully, it sends an SMS and reports an error if the SMS fails. If this doesn't work on the PDS6 that's fine, but can you advise how I can catch a failure (via a CMS error, for example) when sending an SMS using AT+CMGS, please?
Regards
Steve
Hello,
Generally "AT+CMEE=2" command enables verbose error results including "CMS ERROR" results.
Regards,
Bartłomiej
I've been using AT+CMEE=1 for numeric error codes; I tried AT+CMEE=2, just in case that was different, and it's not. I just get an OK regardless of whether the SMS succeeds or fails. In fairness it says this in the AT command document under AT+CMGS - that AT+CMGS only returns "OK".
This seems kind of fundamental, to me - knowing whether an SMS was succesfully sent or not. I'm sure there must be a way of finding out.
I know delivery notifications are a possibility, but these aren't supported by all networks and so are not suitable; not to mention them being asynchronous.
If you have any more advice or ideas, I'd be most grateful.
Thanks
Steve
Hello,
While sending with CMGS you should also be getting "CMS ERROR" in case of error. Besides that you get "+CMGS:" with the message reference number on successful message delivery to the message center.
Do you have any experience and example when you got "+CMGS: XX" followed by "OK" when the SMS was not sent?
Please also note that delivery to your network's message cenetr is only a half way and it does not guarantee that the message will be delivered to the recipient number. That's why there is a delivery notification.
Regards,
Bartłomiej
Hi Bartlomiej
Thanks for your help. I think I'm being a little over-zealous here; the feedback I was getting on the EGS3 with the +CMGC command is better than the feedback on the +CMGS but realistically the CMGS feedback is adequate for my purposes.
Thanks again
Regards
Steve