![Mengirim Mengirim](http://kedairobot.com/206-large_default/sim900-gsm-gprs-shield-for-arduino.jpg)
Step 1: Components. Step 2: Connect the GSM Shield to Arduino. Step 3: Start Visuino, and select the Arduino Board type. Step 4: In Visuino: Set the speed of the Serial 1 channel to 19200. Step 5: In Visuino: Add and connect GSM/GPRS Serial component. Step 6: In Visuino: Add, Setup and connect Text Value component. Apr 25, 2018 Sending sms pressing button using SIM900 GSM GPRS Shield modulewith 100% source code free - Duration: 5:18. MakeRobot Bd 12,314 views.
![Arduino gsm shield Arduino gsm shield](/uploads/1/2/5/4/125412038/726782769.jpg)
You should download the SIM900 command set (Google away) and read it. According to your CNMI settings, sms notifications are pushed to the Arduino not the sms content, thus the +CMTI data you're receiving.
SM tells you the sms is stored on the SIM and the number that follows tells you the index of the sms in the SIM memory. With that index, you use the command AT+CMGR= to get the sms content (as well as the sender number and timestamp) from the modem.So basically, you must parse the CMTI notification, get the number at the end, and use that number to retrieve the SMS content from the modem with the CMGR command.
You could also change your CNMI settings to (2,2,0,0,0) i think, if you want the content of the messages to be sent by the modem, and not the notifications alone.In either case, the SoftwareSerial Receive buffer will most likely overflow when receiving the sms content from the modem; because you cant read fast enough. This will make the message appear truncated. You have to increase the size of the SoftwareSerial RX buffer to prevent this. A link to an answer where this is explained.