Hello,
im am trying to exchange data with an HTTP server. If I use a SIM, where only GPRS connection is allowed,
the modem connects properly and the data transfer runs without any problem. But with a SIM, which supports LTE, the modem does not connect to the server (see log below).
Very interesting is the error message near the end of log …
// Test HL7692
// … → Some multiple lines removed
AT
- Time out +
…
AT
- Time out +
AT
< AT
OK
ATE0
< ATE0
OK
ATI
< HL7692
OK
AT+CMEE=1
< OK
< OK
+SIM: 1
AT+CFUN=1
< OK
AT+CPAS
< +CPAS: 1
OK
…
AT+CPAS
< +CPAS: 1
OK
AT+KSLEEP=2
< OK
AT+CPIN?
< +CPIN: SIM PIN
OK
- Time out +
AT+CPIN=“0414”
< OK
AT+CSQ
< +CSQ: 99,99
OK
…
< +CSQ: 99,99
OK
AT+CSQ
< +CSQ: 9,2
OK
…
< +CSQ: 9,2
OK
AT+GMR
< BHL769x.2.16.170400.201702221601.x7120m_1
OK
AT+KBND?
< +KBND: 01000000 // Connected via LTE …
OK
AT+COPS=0
< OK
AT+CREG?
< +CREG: 0,1
OK
AT+CNMI=2,0,0,0,1
< OK
AT+CEREG?
< +CEREG: 0,1 // Registration successful
OK
AT+KCNXCFG=1,“GPRS”,“internet.telekom”,“t-mobile”,“tm”,“IPV4”,“0.0.0.0”,“0.0.0.0”,“0.0.0.0”
< OK
// Try it 4 times with 5s pause
AT+KCNXTIMER=1,5,4,60,1
< OK
AT+KIPOPT=0,“HTTP”,1,1460
< OK
AT+KCNXPROFILE=1
< OK
AT+CGATT=1
< OK
// Check signal …
AT+CSQ
< +CSQ: 9,2
OK
…
< +CSQ: 9,2
OK
// Login to HTTP server without user / password
AT+KHTTPCFG=1,“http://www.myserver.net”,80,0,“”,“”
< +KHTTPCFG: 1
OK
// Wait for connect …
+KCNX_IND: 1,4,1
+KCNX_IND: 1,2,1,4,5
< +KHTTPCFG: 1
OK
+KCNX_IND: 1,4,1
+KCNX_IND: 1,2,1,4,5
+KCNX_IND: 1,4,2
+KCNX_IND: 1,2,2,4,5
+KCNX_IND: 1,4,3
+KCNX_IND: 1,2,3,4,5
+KCNX_IND: 1,4,4
+KCNX_IND: 1,2,4,4,5
// No connection, but this:
+KHTTP_ERROR: 1,5 <<< Meaning: “HTTP connection error due to internal trouble”
// Close (unopened) connection …
AT+KHTTPCLOSE=1
< +CME ERROR: 922 // error cause: unconnected
AT+KHTTPDEL=1
< OK
//— End of log ----
Any idea ?
Regards,
Moardy