Hi,
I'm transmitting the data using sednto function.When the remote host is within the network sending is working fine without any issue.
When the remote host device is not in the WLAN network, send to function is hanging some where inside.
I traced the issue and i found, while sending the data using send to first it will check the no of free buffers in the module(tSLInformation.usNumberOfFreeBuffers).If the value is greater than 0 then it will send the data over SPI other wise it will struck at HostFlowControlConsumeBuff() function.Now in my case it is getting struck at this fun.
(tSLInformation.usNumberOfFreeBuffers value is updating from the unsolicited event HCI_EVNT_DATA_UNSOL_FREE_BUFF.
In my case, module is sending this event with no of free buffers as 0 when the remote deivce is not in the network and when the remote host is in network it is sending some +ve value.
So, why the module is sending like that when the remote device is not in the network.What is the difference.
Regards,
Lakshmi Praveen K.