Skip to main content
Visitor II
October 11, 2021
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.

  • October 11, 2021
  • 2 replies
  • 693 views

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.12Author
    Visitor II
    October 12, 2021

    See attached logs

    ST Employee
    October 29, 2021

    Dear JVand.12

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

    Thanks a lot

    Best Regards

    Solofo