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

Search found 4 matches
CCS Forum Index
Author Message
  Topic: gsm modem interfacing with PIC controller
dxn

Replies: 7
Views: 13356

PostForum: General CCS C Discussion   Posted: Thu Jun 04, 2015 10:46 pm   Subject: gsm modem interfacing with PIC controller
here is main


void main()
{
char d;
int8 i;


enable_interrupts(int_rda);
enable_interrupts(global);

for(i=0;i<10;i++)
delay_ms( 1000 & ...
  Topic: gsm modem interfacing with PIC controller
dxn

Replies: 7
Views: 13356

PostForum: General CCS C Discussion   Posted: Thu Jun 04, 2015 6:55 am   Subject: gsm modem interfacing with PIC controller
hi
We used the interrupt.
Now the program is not hanging. but now the problem is, sometime, it is not detecting 'K'. ie, last character of OK. So, even if the at command sends and got reply 'OK', it ...
  Topic: gsm modem interfacing with PIC controller
dxn

Replies: 7
Views: 13356

PostForum: General CCS C Discussion   Posted: Wed Jun 03, 2015 4:32 am   Subject: gsm modem interfacing with PIC controller
thank you very much for reply

instead of string, we tried to read character wise.

do
{
c=getc();

if (c== 'E')
{
printf("AT");
delay_ms& ...
  Topic: gsm modem interfacing with PIC controller
dxn

Replies: 7
Views: 13356

PostForum: General CCS C Discussion   Posted: Wed Jun 03, 2015 3:47 am   Subject: gsm modem interfacing with PIC controller
hi
we are interfacing sim 300 with PIC18f.
if i m sending at commands from microcontroller to modem , it is working perfect. we monitor via hyperterminal.
but if i m checking for 'OK' after each at ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group