Hi,
I got recv blocking issue on cc3000.
Basically, the recv function is workable, but sometimes it will be blocked infinitely.
In my case, after several of recv/send bytes, it's blocked in
---------------------------------------------
hci_event_handler(void *pRetParams, unsigned char *from, unsigned char *fromlen)
{
...
while (1)
{
if (tSLInformation.usEventOrDataReceived != 0) <--- block here
{
...
-------------------------------------------
The reason should be "tSLInformation.usEventOrDataReceived == 0", but I have checked the server side has sent the packet.
And it's very easy to reproduce.
Why it's blocked infinitely?
thanks
Gavin