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.

Executing AT commands through C Program

Status
Not open for further replies.

Pandian M

Newbie level 5
Joined
Jan 27, 2012
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,319
Hi Guys, I want to know how to execute AT commands through C program. I am Using CentOS and Eclipse platform for C program. I am using SIm300 Module. i want sent message from that module using C coding..
Anybody can help to me ?

Pls help..................!

Advance Thanks for Ur Reply
 

Its very easy. The command used to send sms is AT+CMGS="phone no" and before that you have to send AT+CMGF=1 to select text mode. After each at commands you have to add \r\n to jump to the next line. If you send AT+CMGS then you can send the message. After that send hex value for CTRL+Z which is 0AH i think. Before this you have to configure serial port properly.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top