I am working on a project where I am using SIM808 (GSM+GPS module) with Arduino UNO. I am getting the outputs when GSM & GPS codes are executed separately.
My aim is to put the GPS location read from Serial.read() [which i am able to see on Serial monitor] in the text that I am sending with GSM code.
I want to save the Serial.read() data in a variable/array and extract the needful information to make it a string which i would ultimately send forward.
I am using the SoftwareSerial example given in Arduino IDE. and sending AT Commands over serial port.
Yes, google is your friend, but that playground code is awful and ancient. Here's a recent thread, and [another](http://a recent thread).
@rohan0993, first pick a good serial connection. So many projects start out on the wrong foot, because they are limited by the serial port choices. Read this. SoftwareSerial is the worst choice.
What is the exact module you are using -- there are many!
Next, think about how you want to format the GPS information. You could send the raw NMEA data, but it is very inefficient. Very. If you sent just a few of the parsed pieces (lat & lon?), your messages would be 10x to 80x smaller than the raw NMEA data. And because it takes a few seconds to send a message, you may want to group several GPS updates into one message. You could store 10 lat/lon updates in the RAM space of one NMEA sentence (one second's worth).
Show us what code you have tried. Be sure to use [code] tags [/code],
so it looks
... like this
And show us the Serial Monitor output in the same kind of code block. Just select the text, then copy and paste it into your post.
You can also select the code/output and press the "</>" button in the upper left, or Attach the INO file if it's > 8k.