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

Serial Communication- sending a AT<cr> command?

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



Joined: 17 May 2005
Posts: 213

View user's profile Send private message

Serial Communication- sending a AT<cr> command?
PostPosted: Mon May 08, 2006 1:54 am     Reply with quote

Hi

I am trying to send an

Code:
AT<cr>

into my serial device with no success.

I have managed to send a

Code:
#-


and a
Code:
$*

into the serial port, but for some reason the AT<cr> does not want to be sent.

Can someone please tell me how to send the AT<cr>?

I have tried "AT\n", "AT\r", "AT\r\n", "AT\n\r" none worked.

Thank you in advance.
a.
smxabi



Joined: 29 Apr 2006
Posts: 14
Location: Spain

View user's profile Send private message

PostPosted: Mon May 08, 2006 7:59 am     Reply with quote

If you have well building your hardware send:
Printf("AT/n");
It has to work
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

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

PostPosted: Mon May 08, 2006 8:01 am     Reply with quote

For AT<CR> the proper string would be

"AT\r"
Guest








PostPosted: Mon May 08, 2006 8:55 am     Reply with quote

Thank you Mark - it works!

a.
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