sinaku08 wrote:
it is showing an error "+cms error :518".
Error code 518 means
Invalid parameter. Check the command that you are using. You must have supplied some invalid parameters.
sinaku08 wrote:
here Iam changing the message format into text mode by giving the command AT+CMGF=1, It is giving OK response . but while reading the sms it is showing in number format.
You said you got an OK response. That should mean text mode is supported. Anyways I would suggest you to check which mode(s) are supported by your modem.
Check using this command:
AT+CMGF=?
If a response,
+CMGF: (0,1)
is received, means both
Text mode and
PDU mode is supported.
0 - PDU mode, 1 - Text mode
If Text mode is also supported, you are doing something wrong.
sinaku08 wrote:
please help me out,its my project work
I am providing you with a couple of links on CP which would help a lot in developing this project. I would suggest you to read the full article before using the code.
Send and Read SMS through GSM Modem using AT Commands[
^]
How To Send and Receive SMS using GSM Modem[
^]
Hope this helps!
Let me know if you have any queries.