yes you understand me that i want to connect the mobile to MCU and the MCU with devices which i can switch it on or off by just sending sms.
a) when i tried to use memory location MT and i write AT+CPMS="MT" it gives me an error and i tried it without " " it also gives me an error but i think that You Mean "SM" But I couldn't read any thing it gives me error:
b) Here is a list of the memory location "SM"
u can see in the picture that i have send a message and it takes priority no.6 while it is the last recieved. u r telling me that i must delete all messages so when i write AT+CMGR=1 i read the last recieved but my Project is to send sms and the MCU COntrol devices automatically so i won't be home to delete the recieved message i wish u understand me.say if i want to switch of device no.1 and after a while i want to switch on device no.2 it also will be by an sms by that way that at+cmgr=1 i'll read the sms that is responsible for deice no.1 and the MCU will not read the SMS no.2
d)when i write AT^SMGR=1 it gives me an error this command is not supported.
i got an idea if i could make the mobile it self to store the read message in the SE and once a new sms recieved it store it in "ME" then after reading it it is sent automatically to the "SM". but i don't how how to do this or is it possible or not.
Bookmarks