So I had an issue with TCP/HTTP client that I assumed was being caused by CC3000 Patch “not sticking” or rather not working no more. That original post is here.
But without having to go through all that, here are the issues I was experiencing.
- The cyan flashing which usually was associated with a device constantly having a “connection fail” using TCP client. Along with this, transmissions would be slow and after 2-5 successful transmissions a series of connection fails would occur.
- Hard fault that occurred regularly and was happening when using TCP client as well during regular actions, nothing to crazy happens.
I was able to fix all of these issues, especially the slow/unreliable transmissions, by removing ALL my Serial.print() statements.
Now I knew before hand that having too many print statements could cause sluggish transmissions and connection fails. But I was still experiencing all my described issues even when I was down to ONE print statement, which was just “200” to know when I made a successful transmission.
So I was wondering if anyone knows why this is occurring? Am I using too much memory potentially, are there just general issues with the Serial and TCP right now that don’t make them mesh? I have fixed the issue as I said but just for my own knowledge, also making things easier when developing, any insight would be great