Discussion in "Embedded GSM Development" started by    mangesh24    Sep 24, 2011.
Sat Sep 24 2011, 06:19 PM
#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, 08:17 AM
#2
@ mangesh24
ru using sim300dz modem or any other
ru checking it on hyper terminal or doing with controller
if using controller post code
Mon Sep 26 2011, 05:13 PM
#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.
Mon Sep 26 2011, 05:16 PM
#4
@majoka,
Sorry,forgot to answer your questions,
I am using Sierra wireless GSM modem SL8082 family with micro-controller.
Tue Sep 27 2011, 05:53 AM
#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, 06:44 AM
#6
Wed Sep 28 2011, 05:10 AM
#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, 05:23 AM
#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, 07:48 AM
#9
@ dspicmicro
follow kiran suggestion
also same logic is in controller as well as on hyper terminal
Wed Dec 14 2011, 10:00 PM
#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

Conversation

ajay_bhargav
Sat Aug 30 2014, 12:15 PM
@sufiyan, You can use solenoid lock in place of LED.
Fri Aug 29 2014, 12:17 AM
sufiyan
please can you tell me which type of lock activator should i connect in place of LED? can i use selenoid lock actuator
ajay_bhargav
Thu Aug 28 2014, 06:34 AM
Please post questions in forum
Thu Aug 28 2014, 01:44 AM
yednekachew
can you give a project made bay proteus software
Mon Aug 25 2014, 07:12 AM
Vinod Soni
Hi Sir, How can i make this RFID with ATMega16/32 controller
pavanjain
Sat Aug 23 2014, 05:10 AM
Sir i want to download the hex file in P89v51rd2 microcontroller using max232 IC but we not load the program in IC
Tue Aug 19 2014, 04:51 PM
allen ndumu
please i will like to know if the problem of speed control of dc motor using keypad and l298 was if yes can i have the complete project send it to the address i really need to see it
Tue Aug 19 2014, 10:47 AM
Amit Bisht
sir i want to have some trending projects on which i could work related to ATmega 16 microcontroller
ExperimenterUK
Sat Aug 16 2014, 04:16 PM
@diligent . create a thread
Sat Aug 16 2014, 03:17 PM
diligent
in assembly langauage programming..

Downloads

Comments

bobparihar
Mon Sep 01 2014, 06:19 AM
vijit
Sun Aug 31 2014, 08:33 AM
[email protected]
Sat Aug 30 2014, 04:45 PM
enisi
Wed Aug 27 2014, 06:08 AM
sadalakshmi
Wed Aug 27 2014, 12:39 AM
Paecake
Sun Aug 24 2014, 04:07 PM
pavanjain
Sat Aug 23 2014, 02:33 AM
samchovatiya
Thu Aug 21 2014, 02:30 PM

Online

Guests: 43, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 01:37 AM

Members: 37504
Newest member: bobparihar
Forum Activity
bobparihar Avatar
Posted By bobparihar
Mon Sep 01 2014, 06:33 AM
i am using a RFID module, i want to connect reader...
ajay_bhargav Avatar
Posted By ajay_bhargav
Sat Aug 30 2014, 12:03 PM
Forgot to attach files. This has source for both R...
ajay_bhargav Avatar
Posted By ajay_bhargav
Sat Aug 30 2014, 11:56 AM
I found a very good working source but its for PIC...
siddique Avatar
Posted By siddique
Sat Aug 30 2014, 03:34 AM
Have you tried using the TX setup to receive and v...
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Aug 28 2014, 03:31 PM
So, I don't think there is any need to load any da...
ajay_bhargav Avatar
Posted By ajay_bhargav
Thu Aug 28 2014, 06:33 AM
Did your professor ask this question to you? I sug...
siddique Avatar
Posted By siddique
Thu Aug 28 2014, 01:09 AM
hi,In the Tx code, I have disabled auto acknowledg...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Aug 27 2014, 04:59 PM
Your board has two serial ports, are you connectin...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Aug 27 2014, 04:45 PM
In your TX code I see where you set payload width ...