Part Number: CC3235MODSF
We are implementing a TCP server using CC3235MODSF (AT command firmware, AP role) and would like to confirm that our socket handling sequence is correct.
Our flow is:
1. socket → bind → listen
2. Wait for +accept: (after issuing at+accept)
3. After connection is established:
- Use at+select to detect readable data
- When +select: indicates the socket is ready, send at+recv to read data
4. Continue repeating the select → recv sequence while the connection is alive
We would like to confirm:
- Is this overall sequence correct for a TCP server using AT commands?
- Is it appropriate to continuously repeat select → recv in this manner for data reception?
Thanks,
Calvin
