# HL7810 CME ERROR: 921 on AT+KTCPCNX=1

**URL:** <https://forum.sierrawireless.com/t/hl7810-cme-error-921-on-at-ktcpcnx-1/32947>\
**Category:** IoT Modules\
**Tags:** debug\
**Created:** [September 9, 2024, 1:04pm UTC](https://forum.sierrawireless.com/t/hl7810-cme-error-921-on-at-ktcpcnx-1/32947 "2024-09-09T13:04:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sander](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sander](https://forum.sierrawireless.com/u/sander)\
**Post date:** [September 9, 2024, 1:04pm UTC](https://forum.sierrawireless.com/t/hl7810-cme-error-921-on-at-ktcpcnx-1/32947/1 "2024-09-09T13:04:47Z")

</div>

Hello,

I have the HL7810 (ATi3 response = HL7810.5.4.5.1) and I cannot get a TCP connection to my socket server. I’ve checked the following items:

- CSQ = 26,99
- Server IP address and port number are correct and server socket is checked
- “AT+CGPADDR” returns: “+CGPADDR: 1,“10.108.103.77” +CGPADDR: 2”
- “AT+CGACT?” returns “+CGACT: 1,1”
- “AT+KTCPCFG?” returns “+KTCPCFG: 1,0,1,0,“nn.nnn.nn.nnn”,pppp,41302,0,0,0,0,0” (where nn is the correct IP-address and pppp is the correct port number to my socket server)

My modem initialisation (in an embedded system) uses the following communication:

- Wait for: +CEREG: 1,“”
- “ATE0” returns “ATE0”
- “ATi3” returns “HL7810.5.4.5.1” & “OK”
- “AT+CMEE=1” returns “OK”
- “AT&K3” returns “OK”
- “AT+CPIN?” returns “+CPIN: READ” & “OK”
- “AT+CCID?” returns “+CCID: ” & “OK”
- “AT+KCNXCFG=1,“GPRS”,“apn-name”,”" returns “OK”
- “AT+KTC{CFG=1,0,82.165.49.106”,8050" returns “+KTCPCFG: 1” & “OK”
- “AT+KTCPCNX=1” returns “+CME ERROR: 921”

Am I missing something for the modem initialisation? And are there other possible causes for the CME ERROR: 921?

Thanks!

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [September 9, 2024, 1:12pm UTC](https://forum.sierrawireless.com/t/hl7810-cme-error-921-on-at-ktcpcnx-1/32947/2 "2024-09-09T13:12:36Z")

</div>

does this help?

> [@Unable to get a signal using HL7800 dev board](https://forum.sierrawireless.com/t/unable-to-get-a-signal-using-hl7800-dev-board/32660/15):
>
> AT+KSRAT=1,1 solved the CSQ problem but I still have issues later down the sequence. I am now getting and CME ERROR 921 after the AT+KCNXUP command which I have not had before. My full sequence is as follows AT OK AT+CSQ +CSQ: 7,99 OK AT+CEREG? +CEREG: 0,5 OK AT+KCNXCFG=1,“GPRS”,“dataconnect.m2m” OK AT+CGATT=1 OK AT+KCNXUP=1 +CME ERROR: 921 As for firmware, does this give you the information ? ati9 HL7810.5.5.14.0-23.12.0.FreeRTOS.w49 HL78xx.5.5.14.0.RK\_03\_02\_00\_00\_40522\_001.…

Is there improvement on latest FW?  
[https://source.sierrawireless.com/resources/airprime/software/hl781x-and-hl7845-firmware/hl781x-and-hl7845-firmware-5,-d-,4,-d-,12,-d-,1/#sthash.fwWxnRTe.daeFQt3b.dpbs](https://source.sierrawireless.com/resources/airprime/software/hl781x-and-hl7845-firmware/hl781x-and-hl7845-firmware-5,-d-,4,-d-,12,-d-,1/#sthash.fwWxnRTe.daeFQt3b.dpbs)

---

<div class="post-metadata">

**Author:** ![sander](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sander](https://forum.sierrawireless.com/u/sander)\
**Post date:** [September 10, 2024, 1:52pm UTC](https://forum.sierrawireless.com/t/hl7810-cme-error-921-on-at-ktcpcnx-1/32947/3 "2024-09-10T13:52:27Z")

</div>

I’ve updated the firmware to V5.5.14.0 and this gave the same error.  
But CGDCONT was missing the APN name. After filling the APN name in CGDCONT, the correct connection is made to my server.  
So problem solved 😃
