HL7812 - KCNX_IND still missing after +KHTTP_IND - fw: 5.7.4.0

Hello,

I have a problem with missing UCR when I use +KHTTP_IND command.
My modem has the last revision 5.7.4.0 and KCNX_IND is missing:

image

I see on the customer release note of firmware (october 2025) this bug fix:

image

May be I’m missing something ?
My code works well on HL7802 and I want something compatible.

Thanks in advance for help !

the release note says the indication sequence is wrong, but it should show +KHTTP_IND

Do you see any +KCNX_IND before?
Do you see problem in FW 5.7.3?

Hi,

I only have “KHTTP_IND: 1,1” without any +KCNX_IND before.
With the same code with a HL7802, I have a +KCNX_IND between “AT+KHTTPCFG=1,“google.com”,80” and “+KHTTP_IND: 1,1”

(2026-03-05 09:59:46.148) AT+KHTTPCFG=1,“google.com”,80
(2026-03-05 09:59:46.186)
(2026-03-05 09:59:46.186) +KHTTPCFG: 1
(2026-03-05 09:59:46.652)
(2026-03-05 09:59:46.652) OK
(2026-03-05 09:59:46.652)
→ here is missing +KCNX_IND
(2026-03-05 09:59:46.652) +KHTTP_IND: 1,1

This bug is annonced has fixed on 5.7.4
If I downgrade to 5.7.3 the bug must be here so I’m not sure to understand your question.

i don’t see problem with this firmware 5.7.3:


+CREG: 1,"C672","0188A9DF",9
AT+KCNXCFG=1,"GPRS","nbiot"
OK
AT+KCNXPROFILE=1
OK
AT+KHTTPCFG=1,"www.google.com",80,0,,,,,0
+KHTTPCFG: 1

OK

+KCNX_IND: 1,1,0

+KHTTP_IND: 1,1
ati3
HL7812.5.7.3.0

OK

Hi,

I downgraded the firmware to 5.7.3.0 and nothing change about my problem.

With HL7802 I have KCNX_IND:

With HL7812 I don’t have KCNX_IND:

Have you got any clue about this problem ?

Regards,

Are we using same command sequence?
Is this happening to particular module only?

Hi,

I’m using only commands on my previous post, no more.
Both modems have been powered then I entered commands. Nothing else.

I have only 1 modem HL7812.

What happen with your modem if you use my sequence ?

Regards,

Have you tried my sequence then?

You might also need to contact distributor

Hi,

I did the fimrware upgrade to last version then I try with your configuration without sucess.
Now I have an HTTP ERROR 1,5:

(2026-03-10 09:20:17.273) AT+CREG?
(2026-03-10 09:20:17.472) AT+CREG?
(2026-03-10 09:20:17.472) 
(2026-03-10 09:20:17.472) +CREG: 0,5
(2026-03-10 09:20:17.472) 
(2026-03-10 09:20:17.472) OK
(2026-03-10 09:20:30.053) AT+KCNXCFG=1,"GPRS","nbiot"
(2026-03-10 09:20:30.090) AT+KCNXCFG=1,"GPRS","nbiot"
(2026-03-10 09:20:30.253) 
(2026-03-10 09:20:30.253) OK
(2026-03-10 09:20:38.575) AT+KHTTPCFG=1,"www.google.com",80,0,,,,,0
(2026-03-10 09:20:38.629) AT+KHTTPCFG=1,"www.google.com",80,0,,,,,0
(2026-03-10 09:20:38.629) 
(2026-03-10 09:20:38.629) +KHTTPCFG: 1
(2026-03-10 09:20:38.648) 
(2026-03-10 09:20:38.648) OK
(2026-03-10 09:20:38.648) 
(2026-03-10 09:20:38.648) +KHTTP_ERROR: 1,5
(2026-03-10 09:21:02.181) ati3
(2026-03-10 09:21:02.220) ati3
(2026-03-10 09:21:02.220) 
(2026-03-10 09:21:02.220) HL7812.5.7.4.0
(2026-03-10 09:21:02.220) 
(2026-03-10 09:21:02.220) OK

I did another test by adding “http://” before and the modem seems to be KO:

(2026-03-10 09:23:28.957) AT+CREG?
(2026-03-10 09:23:29.008) AT+CREG?
(2026-03-10 09:23:29.199) 
(2026-03-10 09:23:29.199) +CREG: 0,5
(2026-03-10 09:23:29.199) 
(2026-03-10 09:23:29.199) OK
(2026-03-10 09:23:49.225) AT+KCNXCFG=1,"GPRS","nbiot"
(2026-03-10 09:23:49.260) AT+KCNXCFG=1,"GPRS","nbiot"
(2026-03-10 09:23:49.260) 
(2026-03-10 09:23:49.260) OK
(2026-03-10 09:24:06.314) AT+KHTTPCFG=1,"http://www.google.com",80,0,,,,,0
(2026-03-10 09:24:06.352) AT+KHTTPCFG=1,"http://www.google.com",80,0,,,,,0
--> no HTTP answer
(2026-03-10 09:30:26.837) AT+CREG?
(2026-03-10 09:30:26.903) AT+CREG?
(2026-03-10 09:30:26.903) 
(2026-03-10 09:30:26.903) +CREG: 0,5
(2026-03-10 09:30:26.903) 
(2026-03-10 09:30:26.903) OK
(2026-03-10 09:30:36.090) AT+KHTTPCFG=1,"http://www.google.com",80,0,,,,,0
(2026-03-10 09:30:36.178) AT+KHTTPCFG=1,"http://www.google.co
"--> no more answer
(2026-03-10 09:31:05.713) ATI3
(2026-03-10 09:37:25.700) ati3
[Error: RX FRAMING ERROR][Error: RX FRAMING ERROR]

I have some doubts about the reliability of this modem and its plug-and-play functionality compared to an HL7802 modem.

Regards,

seems your module is not quite stable…

BTW, is “nbiot” the correct APN for your SIM card?

Hi,

Thanks for support.
In my case the SIM card can be provided by the final customer so my code chall no depends on it.
I tried something else:

(2026-03-10 10:18:58.823) AT+CREG?
(2026-03-10 10:18:58.885) AT+CREG?
(2026-03-10 10:18:58.885) 
(2026-03-10 10:18:58.885) +CREG: 0,5
(2026-03-10 10:18:58.885) 
(2026-03-10 10:18:58.885) OK
(2026-03-10 10:19:00.657) AT+KCNXTIMER=1,30,2,60,0
(2026-03-10 10:19:00.730) AT+KCNXTIMER=1,30,2,60,0
(2026-03-10 10:19:00.730) 
(2026-03-10 10:19:00.730) OK
(2026-03-10 10:19:05.013) AT+KHTTPCFG=1,"www.google.com",80,0,,,,,0
(2026-03-10 10:19:05.060) AT+KHTTPCFG=1,"www.google.com",80,0,,,,,0
(2026-03-10 10:19:05.060) 
(2026-03-10 10:19:05.060) +KHTTPCFG: 1
(2026-03-10 10:19:05.436) 
(2026-03-10 10:19:05.436) OK
(2026-03-10 10:19:05.436) 
(2026-03-10 10:19:05.436) +KHTTP_IND: 1,1

KCNX is still missiing.
If I wait few minutes I have the correct disconnection sequence:

(2026-03-10 10:11:53.114) AT+KHTTPCFG=1,"www.google.com",80
(2026-03-10 10:11:53.185) 
(2026-03-10 10:11:53.185) +KHTTPCFG: 1
(2026-03-10 10:11:53.514) 
(2026-03-10 10:11:53.514) OK
(2026-03-10 10:11:53.514) 
(2026-03-10 10:11:53.514) +KHTTP_IND: 1,1
[...]
(2026-03-10 10:15:54.468) 
(2026-03-10 10:15:54.468) +KCNX_IND: 1,5,0
(2026-03-10 10:15:54.468) 
(2026-03-10 10:15:54.468) +KHTTP_ERROR: 1,5
(2026-03-10 10:15:54.468) 
(2026-03-10 10:15:54.468) +KHTTP_IND: 1,0
(2026-03-10 10:15:54.676) 
(2026-03-10 10:15:54.676) +KCNX_IND: 1,3

So the connection sequence seems to have a problem.

Regards,

Does this issue relate to the idle time parameter in +kcnxtimer command?

Below is my testing in FW 5.7.4.0, no problem is found.
You can see my +KCNXTIMER setting below:


+CREG: 1,"C672","0188A9DF",9
ati3
HL7812.5.7.4.0

OK
at+kcnxtimer?
OK
AT+KCNXCFG=1,"GPRS","nbiot"
OK
AT+KCNXPROFILE=1
OK
AT+KHTTPCFG=1,"www.google.com",80,0,,,,,0
+KHTTPCFG: 1

OK

+KCNX_IND: 1,1,0

+KHTTP_IND: 1,1
at+kcnxtimer?
+KCNXTIMER: 1,30,2,60,30

OK

Hi,

I andrestood where the difference comes from.
In your configuration, you use:
AT+KCNXCFG=1,“GPRS”,“nbiot”
So it’s not my configuration (see my post #5 - 5 Mar. @ 5.21pm), I don’t use this command.

In my configuration, if I’m in Nb-iot or CAT-M1 configuration, I just use
AT+KCNXTIMER=1,30,2,60,0

My method works with the HL7802 but it doens’t work with HL7812.
The HL7812 is able to connect to “www.google.com” but if I don’t use the command AT+KCNXCFG=1,“GPRS”,“nbiot” the modem doesn’t respond the righ sequence, KCNX_IND is missing (but KCNX_IND is present for the disconnection).

My work around is to add the command AT+KCNXCFG=1,“GPRS”,“” in case of CAT-M1 or NB-IOT connection if I’m using the HL7812 modem.

Regards,

it is quite strange that you don’t need to set APN for the CNX connection.
It seems to be more reasonable to specify the APN in +KCNXCFG.

You can see the TCP example in AT command user guide, it also specifies the +KCNXCFG:

Hi,

I found is quite stange to have to fill the GPRS APN if we are not using GPRS (in NB-IOT and CAT-M1)

Regards,

But other than that, how can you set the APN for the CNX connection?

Hi,

When I’m using CAT-M1 or NB-IOT, I don’t have to set any APN for GPRS connection. It works fine with HL7802 but there is a bug with the HL7812.

If I’m in NB-IOT or CAT-M1, HL7812 is able to connect to the server (KHTTP_IND: 1,1) BUT the KCNX_IND is missing.
To have the KCNX_IND I must add the command:
AT+KCNXCFG=1,“GPRS”,“”
So I don’t enter any APN, I just put the command to have the missing KCNX_IND.

Regards,

will you simply add this command as workaround for your network?
In my opinion, empty apn is still an apn configuration

yes, for NB-IOT and CAT-M1 I just add this command as a work around. Without this command the HL7812 can connect to a network but the modem forget to send the KCNX_IND.
So APN is not needed for the connection (the connection HTTP works without this command)