Now I tried to run the SIM900 module in hardware UART mode. I set the jumpers like in the picture attached (UART hardware mode). But I think I have to change somewhere also PIN settings. In the GSM.cpp file there is the following code.
//De-comment this two lines below if you have the
//first version of GSM GPRS Shield
//#define _GSM_TXPIN_ 4
//#define _GSM_RXPIN_ 5
//De-comment this two lines below if you have the
//second version og GSM GPRS Shield
#define _GSM_TXPIN_ 2
#define _GSM_RXPIN_ 3
I toggled the comments and de-comments, but this was not the right place.
Has anybody an idea how to solve this?
Can someone also explain me, what is the advance/disadvantage when I am using software or hardware UART for the GSM module. Or what is the difference? Is one of both faster?
The library http://code.google.com/p/gsm-shield-arduino/ use the soft serial to comunicate with SIM900,
You should change the soft serial command to hardware serial command
More info