How do I fix this Arduino issue? I can use this same code to send data to thingspeak it does not work with my created server | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I fix this Arduino issue? I can use this same code to send data to thingspeak it does not work with my created server

String writeData="GET /setignition?id=64e807c734c47f4c9fc391e0&value=9"; Serial.println(writeData); sendCommand("AT+CIPMUX=1",5,"OK"); sendCommand("AT+CIPSTART=0,\"TCP\",\""+ HOST + "\","+ PORT,15,"OK"); sendCommand("AT+CIPSEND=0," +String(writeData.length()+4),4,">"); Serial2.println(writeData); Serial.println(writeData);

27th Aug 2023, 1:31 PM
othneillo
othneillo - avatar
1 Answer
0
Can you clarify the exact type of arduino, and the exact error you see?
9th Sep 2023, 1:06 PM
ifl
ifl - avatar