Discussion in "Embedded GSM Development" started by    mangesh24    Sep 25, 2011.
Sun Sep 25 2011, 03:49 am
#1
Hi friends,
I am trying to send SMS using GSM modem, after i send destination mobile number I am receiving "\r\n> " as a response from modem , after i enter text to message, i terminated it with "0x1A" character, further i am getting response as "\r\n" from the modem but not \r\nOK\r\n. Can anyone tell me the possible error?
for what time i should wait for receiving the ok response?
Please help
Sun Sep 25 2011, 05:47 pm
#2
@ mangesh24
ru using sim300dz modem or any other
ru checking it on hyper terminal or doing with controller
if using controller post code
Tue Sep 27 2011, 02:43 am
#3
@majoka, Thanks for the reply.
While debugging this problem, i found one another problem with getting connected to wireless network,
If i send the AT+CRQ command to ask signal strength, i got the response as "error: operation not allowed", currently i am trying to solve this issue, also i get CREG response as 0,0 so might be i need to do more for establishing the connection with GSM network(The setting is Auto connect by-default).
Please help me more on this.
Thanks for the reply.
Tue Sep 27 2011, 02:46 am
#4
@majoka,
Sorry,forgot to answer your questions,
I am using Sierra wireless GSM modem SL8082 family with micro-controller.
Tue Sep 27 2011, 03:23 pm
#5


@majoka,
Sorry,forgot to answer your questions,
I am using Sierra wireless GSM modem SL8082 family with micro-controller.

mangesh24



All GSM modems are wireless.
Do you have datasheet/brochure of SL8082. i am not finding it.
Before connecting to controller did you checked response on hyper terminal?
Tue Sep 27 2011, 04:14 pm
#6
Wed Sep 28 2011, 02:40 pm
#7
hello sir;
sir i have completed receiving SMS through GSM module(sim300) .now i want to send SMS to any other mobile from my GSM module .plz help me in the sense at command to send sms (any data) to any other mobile.


Thankyou!
Wed Sep 28 2011, 02:53 pm
#8
Hi,
Which controller are you using?
Test this in your hyper terminal first.
AT+CMGS="9845XXXXX"(ENTER)
>Type your msg here and press ctrl+z to send the msg.

The same thing you implement in your design.
Share your code for more understanding.
Wed Sep 28 2011, 05:18 pm
#9
@ dspicmicro
follow kiran suggestion
also same logic is in controller as well as on hyper terminal
Thu Dec 15 2011, 08:30 am
#10
try this code,hope it helps
void send_sms(char phonE[15],char *m)
{

fprintf(SIM300,"AT+CMGS=");
putc(34);//char "

fprintf(SIM300,phonE);
putc(34);//char "

putc(13);//enter CR
delay_ms(1000);//waiting for char ">"
fprintf(SIM300,m);
delay_ms(1000);
putc(26);//CTRL+Z => start send message

}

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Lewisuhakeply
Thu Apr 18 2024, 06:00 pm
Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am
utaletxcyw
Wed Apr 17 2024, 10:21 am
Anthonyvab
Wed Apr 17 2024, 08:48 am
RobertCix
Wed Apr 17 2024, 06:46 am