mot1639
Member level 1
HI all
Now i able to see the caller ID from modem through UART without any problem, i read it as data array
now i want to compare this caller ID with a one i save it in pic
please see the code below , i dont now where is the problem .
this is example only
now what happen if i want see how it write caller data in terminal
what i receive in terminal ::
only this "9AT" ????
please help me , in last what i need to chick the caller id who calling modem with a one i write in the code
regards
Now i able to see the caller ID from modem through UART without any problem, i read it as data array
now i want to compare this caller ID with a one i save it in pic
please see the code below , i dont now where is the problem .
this is example only
Code:
char *caller[]= {"123456789"};
for (i=0;i<7;i++)
{
if (caller_id(i)==caller(i))
LED1=1;
}
now what happen if i want see how it write caller data in terminal
Code:
char *data1[]= {"123456789"};
for (i=0;i<7;i++)
{
UART1_Write(data1[i]);
}
what i receive in terminal ::
only this "9AT" ????
please help me , in last what i need to chick the caller id who calling modem with a one i write in the code
regards