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.

LAUNCHXL-CC3235SF: TCP socket automatically connects after power off and restart

Part Number: LAUNCHXL-CC3235SF
Other Parts Discussed in Thread: CC3235SF

Hi team,

My customer want to connect to the server and create TCP socket  automatically when the CC3235SF is power off and restarts.

Is there any way to do it?

Could you help to check it?

Regards,

Kevin

  • Hi Kevin,

    To clarify, is your customer trying to reconnect after a full reset, or after just an lpds cycle, or perhaps a hibernate cycle?

    After a reset, the CC3235 MCU and NWP state is cleared, so the TCP socket will be disconnected, as well as your connection to the AP. The customer's code will need to wait for reconnection to the AP (automatic if auto-connect is enabled with a Wi-Fi profile provisioned), then reconnect to the TCP socket manually. There is no option to have the NWP handle the TCP socket for you automatically.

    Regards,

    Michael