Hi,
I am just trying to get familiar with the HL7692 LTE-Modul. Before this, I worked with the HL6528RD and the HL8548. Both Modules worked to my full satisfcation. My application makes a data exhange with a HTTP server via POST .
Integrating the HL7692 into my project seems to be an easy game, due to the similiarity to the other HL-Series modules. But the HL7692 shows a strange behaviour: after the first connect and transmission of data it seems to βstallβ and ignores any AT command.
The CTS signal after the transmission is continously high (inactiv). Only after a reset, the module restarts working.
This is the log (a little bit shorted):
// Explanations
//
// β>β sent to modem
// β<β modem repsonse
//
// Some CRLF removed
// look for modem
AT
- Time out +
AT
- Time out +
AT
- Time out +
// modem found
AT
< AT
OK
// echo off
ATE0
< ATE0
OK
// ask for modem type
ATI
< HL7692
OK
// explicit activation of hardware handshake
AT&K3
< OK
// ask for firmware version
AT+GMR
< AHL769x.2.10.154401.201609141850.x7120m_2
OK
// report errors numerical
AT+CMEE=1
< OK
// start with full funcionality
AT+CFUN=1
< OK
// Enter SIM PIN
AT+CPAS
AT+CPAS
AT+CPIN?
< +CPIN: SIM PIN
OK
- Time out +
AT+CPIN=β5314β
< OK
AT+CSQ
< +CSQ: 99,99
OK
β¦
< +CSQ: 25,0
OK
// start registration
AT+CREG?
< +CREG: 0,0
OK
AT+CREG?
< +CREG: 0,0
OK
// succesfully registrated to network
AT+CREG?
< +CREG: 0,1
OK
AT+CNMI=2,0,0,0,1
< OK
// setup connection profile
AT+KCNXCFG=1,βGPRSβ,βweb.vodafone.deβ,ββ,ββ,βIPV4β,β0.0.0.0β,β139.7.30.125β,β0.0.0.0β
< OK
AT+KCNXTIMER=1,90,3,60
< OK
// increase buffer size
AT+KIPOPT=0,βHTTPβ,1,1460
< OK
AT+KCNXPROFILE=1
< OK
// connect to network
AT+CGATT=1
< OK
// re-check field strength
AT+CSQ
< +CSQ: 23,99
OK
AT+CSQ
< +CSQ: 23,99
OK
// initiate http connection
AT+KHTTPCFG=1,βhttp://www.myserver.netβ,80,0,ββ,ββ
< +KHTTPCFG: 1
OK
+KCNX_IND: 1,4,1
< +KHTTPCFG: 1
OK
+KCNX_IND: 1,4,1
+KCNX_IND: 1,1,0
// connect succesfull
+KHTTP_IND: 1,1
AT+KHTTPHEADER=1
< CONNECT
Accept: text/plain
Content-Type: application/x-www-form-urlencoded
Content-Length: 82
< OK
AT+KHTTPPOST=1,β/myurl/myphpscript.phpβ,0
< CONNECT
< XMITRESULT=1000βEOFβPatternβ
OK
+KHTTP_IND: 1,3,82,200,βOKβ
// anser from HTTP server: XMITRESULT=1000 β success !
< XMITRESULT=1000βEOFβPatternβ
OK
+KHTTP_IND: 1,3,82,200,βOKβ
// close connection
AT+KHTTPCLOSE=1
< OK
+KCNX_IND: 1,5,30
// delete HTTP profile
AT+KHTTPDEL=1
< OK
// next connect starts with field strength check, but modem does not respond
// and CTS is always βhighβ.
AT+CSQ
- Time out +
AT+CSQ
- Time out +
AT+CSQ
- Time out +
AT+CSQ
β END Log β
Any idea, whatβs going wrong ?
Regards,
moardy