HL7810 CME ERROR: 921 on AT+KTCPCNX=1

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!

does this help?

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

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 :smiley: