I want to send a message from the M95 gsm module that I designed myself. I am sending the following AT commands in order.
AT+CMGF=1
AT+CSCA="+905XXXXXXXXX"
AT+CMGS="+905XXXXXXXXX"
hello
I get an Error response after these commands. I want to control the gravity of the antenna I use. How can I do this?
Ignoring your antenna question for the time being, how are you terminating your “hello” line?
You need to terminate the text with <ctrl-Z>
and not <ctrl-M>
(carriage return).
Then wait for the "+CMGS: <mr>"
response.
What could be causing the error?