Part Number: SIMPLELINK-CC32XX-SDK
Other Parts Discussed in Thread: CC3135MOD, CC3120
sl_Close() and subsequent processing are unstable.
I'm attempting to establish WiFi communication using a CC3135MOD in STA mode with a third-party SoC. Communication between the SoC and NWP is via SPI.
After calling sl_NetAppDnsGetHostByName() to resolve the IP address for HTTP communication,
the following socket processing sequence occurs:
sl_Socket() → sl_Connect() → sl_Send() → sl_Recv() → sl_Close().
When sl_Close() stops midway, SimpleLinkFatalErrorEventHandler() is called.
Also, if sl_Close() continues to the end without stopping, calling sl_NetAppDnsGetHostByName() to initiate a new HTTP communication stops midway. In this case, SimpleLinkFatalErrorEventHandler() is not called.
Could you please tell me how to resolve this issue?