Skip to main content
JVand.12
Associate II
Oct 11, 2021 11:22 PM UTC
Question

How do I correctly close and reopen a socket in X-CUBE-CELLULAR 6.01? After the remote server closes my socket connection, a new socket fails to reconnect.

Using B-L462E-CELL1 with  X-CUBE-CELLULAR 6.01 and I have adapted one of the cellular apps using cellular_app_socket_obtain() to connect, and cellular_app_socket_close() to close a socket. The server connection initially succeeds, but after the remote server is bounced manually as a test, the socket is closed and a new socket is obtained. However the connection to the server keeps failing.

This topic has been closed for replies.

2 replies

JVand.12
JVand.12Author
Associate II
Oct 12, 2021 6:16 PM UTC

See attached logs

S.RA
ST Employee
Oct 29, 2021 5:58 PM UTC

Dear JVand.12

Can you share the log to better understanding the issue you are facing?

Thanks a lot

Best Regards

Solofo