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.

AT Commands Driver in embedded C

Status
Not open for further replies.

misnomerfrenzy

Junior Member level 1
Joined
May 15, 2012
Messages
15
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,417
Hello,

I am interfacing SIM900A with LPC2148.
I could successfully give the power on sequence to SIM900A and it blinks the NStatus LED.
Now, I have to implement the driver to send the AT commands to SIM900.
Please provide me with any code snippet/Flow chart to understand how to write driver for SIM900A. Like which functions to implement, how should be their argument list and so on. Simultaneously I am searching for the same on google. If at all I find one, I will post here for others as well. :|
 

anirudha3

Newbie level 5
Joined
May 18, 2007
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,335
There is no as such standard procedure that u have to follow the particular sequence to send the AT commands for modem.

but while doing the establishment connection with server you will have to follow the some sequence refer AT command sheet of SIM300
 

alexxx

Advanced Member level 4
Joined
Apr 17, 2011
Messages
1,013
Helped
273
Reputation
552
Reaction score
270
Trophy points
1,383
Location
Greece
Activity points
7,938
You should first send an 'AT' command and wait for modem's responce ('OK'). In this way you are sure that modem gets your commands succesfully. If modem does not respond in a period of time you should send this command again. I think this is also described inside SIM900's datashet. All the documentation could be downloaded by simcom's web page.

https://wm.sim.com/producten.aspx?id=1019
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top