CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

send SMS by AT command

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
carlosma



Joined: 24 Mar 2004
Posts: 53
Location: Portugal

View user's profile Send private message Send e-mail MSN Messenger

send SMS by AT command
PostPosted: Mon Apr 26, 2004 8:41 am     Reply with quote

Hello

I need to send a SMS by some code like:

Code:
printf("AT+CMGS="+351965579268" <cr> Hello...?  ^Z");


but "nš phone" need ""

How can use the AT comand?
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Mon Apr 26, 2004 11:03 am     Reply with quote

Your format string contains a few error. Try something like:
Code:

printf("AT+CMGS=\"+351965579268\"\nHello...?");
putc(26);


Sorry, haven't tried this.
carlosma



Joined: 24 Mar 2004
Posts: 53
Location: Portugal

View user's profile Send private message Send e-mail MSN Messenger

PostPosted: Mon Apr 26, 2004 3:09 pm     Reply with quote

Ok

Thank you
Obrigado Very Happy
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group