Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Help to reading sms form the mobile Nokia 6210i

Status
Not open for further replies.

sanglehoang

New Member
I am having trouble in reading sms from the mobile. (I was able to send the sms)
This is my code:
UART1_Write_Text("AT+CMGR=1");
delay_ms(500);
UART1_Write(13);
delay_ms(500);
UART1_Write_Text("AT+CNMI=1,1,0,0,0");
delay_ms(500);
UART1_Write(13);
delay_ms(500);
UART1_Write_Text("AT+CMGR=1");
delay_ms(500);
while(UART1_Data_Ready() == 1);
UART1_Read_Text(ch,'OK', 10);
The result was nothing!
I have read some threads about this problem in forum.If someone knows how to solve this problem, please help me!
I thank you in advance!
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top