When you call releaseTCP() and the module is still receiving content after a send() command the release command will fail. It took me a while to figure this out... my current workaround is to add a 10s delay after send() but that's not really a longterm solution.
The problem is that if you use a small receive buffer, say 128 bytes, it exits way before all the content is received.
When you call releaseTCP() and the module is still receiving content after a send() command the release command will fail. It took me a while to figure this out... my current workaround is to add a 10s delay after send() but that's not really a longterm solution.
The problem is that if you use a small receive buffer, say 128 bytes, it exits way before all the content is received.