AirPrime and HL7548 AT Commands Interface Guide Rev10 0

Table Of Contents
4116303 Rev 10.0 August 10, 2017 292
AT Commands Interface Guide
Appendix
16.5.5. Error Case for End to End TCP Connection
AT+KTCPSTART=1
Try to initiate connection
NO CARRIER
+KTCP_NOTIF: 1,<tcp_notif>
Connection failed, see the value of
<tcp_notif>
AT+KTCPSTART=1
Initiate connection
CONNECT
…Data sent……Data received……Data sent…
Exchange some data
…Data sent……Data received……Data sent…
NO CARRIER
+KTCP_NOTIF: 1,<tcp_notif>
An error occurs during connection (network
lost, server closed, etc.)
16.5.6. Use Cases for AT+KTCPACKINFO and <URC-
ENDTCP-enable> Option
This section describes the behavior of AT+KTCPACKINFO when the <URC-ENDTCP> option is used
with AT+KTCPCFG.
16.5.6.1. <URC-ENDTCP-enable> is Disabled (default setting)
AT+KCNXCFG=1,"GPRS","CMNET"
OK
AT+KTCPCFG=1,0,"202.170.131.76",2000
+KTCPCFG: 1
OK
AT+KTCPCFG?
+KTCPCFG: 1,0,0,0,,"202.170.131.76",2000,,0,0
<URC-ENDTCP-enable> is disabled
OK
AT+KTCPCNX=1
Connect to TCP server
OK
AT+KTCPSND=1,10
Use command to send 10 bytes
CONNECT
0123456789--EOF--Pattern--
Write to serial
OK
The URC “+KTCP_ACK” is not displayed
AT+KTCPACKINFO=1
+CME ERROR: operation not allowed
Error is returned because <URC-ENDTCP-
enable> is disabled