SSL Support on HL78

the module gets stuck completely after running AT command AT+KTCPSTART=1
I am trying to communicate over SSL socket (End to End) with HL78 development kit 5303247 Rev2 .
-AT+KGSN=0
+KGSN: 359416090195426
OK

  • AT+KGSN=3
    +KGSN: T6840487001310
    OK
  • AT+CREG?
    +CREG: 1,5
    OK
  • AT+CGDCONT?
    +CGDCONT: 1,“IP”,“lpwa.telia.iot”,0,0,0,0,0,0,
    OK
  • AT+KCNXCFG?
    +KCNXCFG: 1,“GPRS”,“lpwa.telia.iot”,"","",“IPV4”,“0.0.0.0”,“0.0.0.0”,“0.0.0.0”,0
    OK
  • AT+CGPADDR=1
    +CGPADDR: 1,“10.81.187.54”
    OK
    -AT+KSSLCRYPTO=1,1,1,32,0,4,1
    OK
  • AT+KCERTSTORE=0,0
    CONNECT
    -----BEGIN CERTIFICATE-----
    MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBs**
    MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3*
    …… more data ……
    ….
    +OkuE6N36B9K
    ----END CERTIFICATE-------+++
    OK
    -AT+KTCPCFG=1,3,“166.40.179.11”,443,1
    +KTCPCFG: 1
    OK
    -AT+KTCPSTART=1
    Could you please check what is missing here?
    thanks

Hi,
Please retest with the latest FW. and I suggest first to check AT+KTCPCNX=1. Here’s my log for your reference.

ATI3
BHL7800.3.4.1.0.20190425
OK
AT+CGATT=0
OK
AT+KCNXCFG=1,“GPRS”,“CMIOT”
OK
AT+KCNXUP=1
OK
+KCNX_IND: 1,4,1
+KCNX_IND: 1,1,0
AT+KTCPCFG=1,3,“18.211.162.154”,443
+KTCPCFG: 1
OK
AT+KTCPCNX=1
OK
+KTCP_IND: 1,1
AT+KTCPSND=1,75
CONNECT
GET / HTTP/1.1
Accept: /
Host: httpbin.org
Connection: Keep-Alive

–EOF–Pattern–
OK
+KTCP_DATA: 1,1500
AT+KTCPRCV=1,1500
CONNECT
HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
Content-Type: text/html; charset=utf-8
Date: Sun, 05 May 2019 07:55:20 GMT
Referrer-Policy: no-referrer-when-downgrade
Server: nginx
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
Content-Length: 9593
Connection: keep-alive

OK

Hi,
Thanks for your answer, I want to send the data(GET / POST) through a session and get the response immediately from the server (End to End Secured Connection).
Anyway, I’ve upgraded the FW to BHL7800.3.4.1.2.20190509 and I finally got it working , I’ve followed the below AT commands :

-AT+CGATT=0

  • AT+KCNXCFG=1,“GPRS”,“lpwa.telia.iot”

  • AT+KCNXUP=1

-AT+KTCPCFG=1,3,“213.32.68.232”,443,1

+KTCPCFG: 1

OK

  • AT+KTCPSTART=1

CONNECT

GET /mvio2-dgs/api/udp/status HTTP/1.1

Host: demo.iot4.biz

HTTP/1.1 200 200

Date: Tue, 21 May 2019 10:30:48 GMT

Server: Apache/2.4.10 (Debian)

Access-Control-Allow-Origin:

Access-Control-Expose-Headers: Access-Control-Allow-Origin,Access-Control-Allow-Credentials

Content-Type: application/json

Content-Length: 16

Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform

Pragma: no-cache

{“running”:true}

NO CARRIER

+KTCP_NOTIF: 1,4

thanks for your support