This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220S: at+select and sl_select timeout mechanism

Part Number: CC3220S

Hi team,

My customer uses pre-built ATCMD library and runs a TCP server. They have a question regarding at+select timeout.

After executing "at+select", the device returns "OK" immediately, rather not waiting until [timeout sec]

Then even a TCP client connects to this socket, the select will not return "+Select:<readsds>" any longer unless execute "AT+Select" again, right? It seems that parameter [timeout sec] of "AT+Select" did not take effect.

And another question is sl_select supports trigger mode, and according to host_driver document, the timeout field must set to zero for trigger mode. However in ATCMD user guide, timeout sec = 0 means return immediately. How do I use trigger mode with ATCMD?

My SDK version is v4.30.

Below is the test steps:

Step 1. Start AP 
Step 2. Create socket and Listen 
Step 3. Monitor socket activity and set timeout sec to 100s 
Step 4. Android phone connect AP, and connect the socket at step 2. 
As this picture shows, 
at step 3: AT+Select will return "OK" immediately, but not with +select:5
I expect it should return after timeout sec rather than return immediately. Could you elaborate this portion for us? Thank you.

Kind regards,

Jo