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 support@ccsinfo.com

hardware flow control on modem

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



Joined: 11 Jun 2008
Posts: 4

View user's profile Send private message

hardware flow control on modem
PostPosted: Thu Jun 12, 2008 4:47 pm     Reply with quote

Hi

How do I set hw flow control. I have:
#USE RS232(BAUD=19200,XMIT=PIN_C6,RCV=PIN_C7,PARITY=E,STOP=1)
Which matches my hyperterminal settings.

I'm using a Teltonika G10 and spent about 3 hours trying to get the settings for baud=19200 to stick after power down/up. I can see they are "apparently" saved in nvram using AT&V and AT&Y1 is supposed to make that profile the default on reset. AT+CSAS=0 used to save but it seems to forget after poweroff which is pretty hopeless.

So for a bodge I go to hyperterminal with AT+IPR=19200 and switch dsubs from my pc to my picdem 2 (not sure this is helping).

I know the thing is freezing at
ch = getc();
in my routine (I know the code works if I pretend to be the modem using hyperterminal). All I've done is printf'd "AT" and am waiting for an "OK".

So if anyone has any clues I will be very grateful.... it's all a bit depressing really!

Many thanks

Kevin
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jun 12, 2008 6:19 pm     Reply with quote

Use the board's search engine to search for this:
Quote:
modem flow control

Set it for "Search for all terms".

There are several threads on the topic. Here's an example:
http://www.ccsinfo.com/forum/viewtopic.php?t=28245
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