This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I need help with test code plz

hello every body

i'm working on sms remote control and i'm using at89s52
i bought the at89s52 training kit i'm using t290i ericsson mobile it wotks well with at command but the problem is that when i write at+cmgr=1 it read the first recieved sms if i send a new sms and write at+cmgr=1 it doesn't read the last recieved sms it read the previous.some ppl suggest me to delete every sms once i recieved it but i won't be home when i send sms to mobile to switch on/off device.

so plz till now let's say it'll be only one sms on the mobile recieved i just wanna code to test it if there is another problem facec me in connecxtion so i want a code that read the recieved sms from the MCU coz i want to connect the mobile to the kit then test if the connection is good or there is problem so plz i need this code as soon as possible and plz say that i'll connect the device that i want to control on pin 2.0

and the sms is switch 1 off or switch 1 on.

i wish i could explain.