Hi,
I just need your help.
How can I get rid of unwanted information feed by serial.read(), example this,
+CMT: "+6XXXXXXXXXXX","","16/05/18,15:36:07+32"
The only thing that I'm interested is the message being sent.
Here's my code:
String content = "";
char character;
while(Serial.available()) {
character = Serial.read();
content.concat(character);
}
if (content != "") {
Serial.println(content);
}
Help is highly appreciated.
Thanks.