Receive SMS problem

Hello,

I am using Arduino Uno and iCOMsat GSM shield: http://www.ebay.de/itm/SIM900-GSM-GPRS-Modul-module-Shield-Platte-IComSat-Kit-kompatibel-Arduino-/111804664950?hash=item1a0813cc76:g:Ob8AAOSwk5FUsyJd

I am having a problem with Arduino ReceiveSMS code (http://pastie.org/10554892). It does not compile and I don't know why.

At GSM shield I am using D7 and D8 (software serial)

I get this warnings when I try to upload this code to arduino:


Link to image: http://shrani.si/f/e/5y/32iWENFz/screen-shot-2015-11-13-a.png

When I look at serial monitor it only gets this far:


Link to image: http://shrani.si/f/1Q/11s/1upUQr8T/screen-shot-2015-11-13-a.png

I guess it stops there:

 while (notConnected) {
    if (gsmAccess.begin(PINNUMBER) == GSM_READY) {

This other code works, but I dont know how to parse the incoming SMS ("incoming_char"):

http://pastie.org/10554897

And I get this to serial monitor (so the shield is working):

+CMT: "+38640321567","","15/11/13,16:47:24+04"
Hello world

I would be happy if you could help me :slight_smile:

Best regards, Matevz

I can't read the text in your images, please post the text, ideally using code tags to make it easier to read.

Also, this page covers some basic problems.

Hello,

I added links to below photos.

  1. Power

I have 2A of power, I think this should be enough. It works with the other code.

  1. Connection

It works with the other code, so I think this is OK

  1. Right libraries

Maybe there is a problem?

  1. Pins

I am using D7 and D8.

Thank you for your help.

Regards, Matevz