Arduino GSM interface does not receive the SMS though it send SMS

hi,
the example codes seems to me too simple. I have no experience with SIM800 but only with SIM900. The library code for receiving SMS with a SIM900 is like in the attachment.

As you can see there is much more commanding and checking.

Are you sure that your code is sufficient?

SMSexample.txt (8.95 KB)