Author |
Message |
Topic: gsm modem interfacing with PIC controller |
dxn
Replies: 7
Views: 13356
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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 ... |
|