If the RC76 modem receives a +KTCP_NOTIF message during socket connection, any attempt to close the session fails. Further connection attempts create a new session, and if these fail too, no more sessions can be created.
Tx: AT+CEREG?
Rx: +CEREG: 0,5
Rx: OK
Tx: AT+COPS?
Rx: +COPS: 0,0,“Optus AU IoT eSim”,7
Rx: OK
Tx: AT+KTCPCFG=1,0,“a valid internet address”,10113
Rx: +KTCPCFG: 1
Rx: OK
Tx: AT+KTCPCNX=1
Rx: +KCNX_IND: 1,4,1
Rx: +KCNX_IND: 1,1,0
Rx: +KTCP_NOTIF: 1,3
Tx: AT+KTCPSTAT=1
Rx: +KTCPSTAT: 1,3,0,0
Tx: AT+KTCPCLOSE=1
Rx: OK
Tx: AT+KTCPDEL=1
Rx: +CME ERROR: 906
Because the session is not deleted, the session cannot be reused. If further attempts to open a connection fail in a similar way, no more attempts can be made (CME ERROR 912).
What command deletes the session so the session number can be reused?