Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] The +++ command problem

Status
Not open for further replies.

ponnus

Full Member level 2
Joined
Mar 17, 2011
Messages
142
Helped
8
Reputation
16
Reaction score
8
Trophy points
1,298
Location
Cochin, INDIA
Activity points
2,226
Hi,
am using sim 300 at commands to connect to gprs via gsm modem. I've entered data mode by ATO command. But after sending data, I cannot switch to command mode using +++ command. I've given 2 sec delay before and after the command. Also, I haven't added 'carriage return" at the end. I just typed it as a string. ie,
send2gsm("+++");
(tat's my own function to send through gsm).
Can anyone help me? plz.....:cry:
 

many modems require a carriage return character \r as well as \n, try
Code:
send2gsm("+++\r\n");

however, reading the SIM300 manual

it states
To prevent the +++ escape sequence from being misinterpreted as data, it should comply to following sequence:
1. No characters entered for T1 time (0.5 seconds)
2. “+++” characters entered with no characters in between
3. No characters entered for T1 timer (0.5 seconds)
4. Switch to Command mode, otherwise go to step 1.

so if you wait a second, send +++ and wait 0.5 second it should go into command mode
 

Ok.I've given more delay and it worked. thank u for ur response
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top