cancel
Showing results for 
Search instead for 
Did you mean: 

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.

JVand.12
Associate II

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.

2 REPLIES 2
JVand.12
Associate II

See attached logs

S.RA
ST Employee

Dear JVand.12

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

Thanks a lot

Best Regards

Solofo