problem is sending sms with 8051 by siemens C55
Thu May 08 2008, 07:22 am
ajay I have tried your suggestion.But I am failed.Cell phone doesnt give me anything.Where is my mistake plsease help me
Fri May 09 2008, 05:35 am
I gave you two suggestions which one you tried?
replacing ok with OK?
try abbas's suggestion too.. no need to wait for OK.. just try sending AT commands.
replacing ok with OK?
try abbas's suggestion too.. no need to wait for OK.. just try sending AT commands.
Fri May 09 2008, 05:40 am
ajay I havent anytime to do it.Have you any projects that is finished about it.please help me.I have many class too.I havent more times
please help me.
please help me.
Fri May 09 2008, 06:04 am
edit your main for a while and replace it with this
comment the function which you are not using...
like checkOK and all.. then try on controller again.
waiting for response.
void main() { P2_0=0; P2_1=0; while(1) { if(P1_0==0) { init(); sendString("AT"); sendChar(0x0D); sendString("ATE0"); sendChar(0x0D); P2_0=1; sendString("AT+CMGS=19"); sendChar(0x0D); P2_1=1; sendString("079109459208003311000C910945664173350000AA05E8329BFD06"); //sms center no:+905429800033, destination number:+905466143753, message:"HELLO" sendChar(0x1A); sendChar(0x0D); } } }
comment the function which you are not using...
like checkOK and all.. then try on controller again.
waiting for response.
Fri May 09 2008, 06:12 am
just I will change my main function?and but in main functiom havent delay when transmitting at commands
Fri May 09 2008, 06:31 am
I didnt understand external puul-up.I know just need when we use P0 port.we have to use external pull up.for P2 port doesnt need external pull up ,doesnt
it?
it?
Powered by e107 Forum System