     sendMessage(strValue);
   }
 }
+
+void send_OBD_cmd(char *obd_cmd){
+  obd.print(obd_cmd);
+  obd.print("\r");
+  while (obd.available() <= 0);
+    while(obd.available() > 0){
+      recvChar = obd.read();
+  }
+}

void readGPS()
{
  // This sketch displays information every time a new sentence is correctly encoded.
  while (ss.available() > 0)
    if (gps.encode(ss.read()))
      displayInfo();

  if (millis() > 5000 && gps.charsProcessed() < 10)
  {

    String command; //string to store entire command line
    while (bt.available())
    {
      msg = bt.read();
      Serial.print(msg);
      delay(50);
    }
  }
}

void readOBD() {
  while (obd.available() > 0) {
    String command; //string to store entire command line
    delay(1000); // wait 1 sec to give time enough for the serial to receive all the stream
    if (obd.available()) {
      msg = obd.read();
      Serial.print(msg);
      delay(50);
    }
  }
