BTW, I played with the sprintf a bit but don't know if I did it right. Got the same results.
Thanks.
The documentation shows an example where AT+CIPSEND=100 is sent first, then wait for the esp to reply with '>' and then send the 100 bytes. That's also the way i've been communicating with the esp. Note my code from previous post.
if(Serial.find( ">" ) )
{
debug.print(">");
if (genState == HIGH)
{
Serial.println(getStr);
debug.println(getStr);
} else
That is the code that comes after AT+CIPSEND=#. It waits for the > before it sends the string.
Thing is that it works perfect for string length of 80 or under. I am going to strip out the laststate stuff and see what happens. If that makes it work then I guess it is a memory problem.