hello i am having a problem if anyone can help me:
String temperature;
temperature="http://xxxxxxxx/xxx.php?";
temperature=temperature+"Pres="+p+"&Temp="+t+"&Hum="+h+"&C="+k+"&F="+L+"&M="+ID;
Serial.println(temperature);
const char *content;
content=temperature.c_str();
if (sim7000.httpConnect(content)){
Serial.print(F("Connected"));
}
else{
Serial.print(F("Can't connect"));
}
sim7000.httpGet(content);
This is a part of my code. When i use
temperature+"Pres="+p+"&Temp="+t+"&Hum="+h
it connects and send them to my database,but when i try
temperature+"Pres="+p+"&Temp="+t+"&Hum="+h+"&C="+k+"&F="+L+"&M="+ID
it says it can't connect. I cannot figure it out of what is my problem here. Does anyone knows?