BX310x HTTPS Header not exiting CONNECT

Hi,

I am trying to develop a HTTP application using a BX3105 wireless module and have the following problem:

After sending the HTTPS Header command (AT+KHTTPSHEADER=1), the device enters the data mode (CONNECT) and I am not able to end it.

Following timeline is what I do/see:

… Connect to WiFi, all good…

MCU: AT+KHTTPSCFG=,test.server.com,443\r
BX3105: +KHTTPSCFG: 1
BX3105: OK
MCU: AT+KHTTPSHEADER?\r
BX3105: OK
MCU: AT+KHTTPSHEADER=1\r
BX3105: CONNECT
MCU: exampleheader\r\n
MCU: +++\r\n

Nothing after.

I have tried it using the old firmware (1.0.1-1) and the new firmware (2.5.0-2).

Am I doing anything wrong?

how about just sending “+++” without \r\n?
Also seems there is a guard time about a few seconds before “+++”.

Hi,

I had forgotten to add a guard time before (and after?) sending +++

The good way is:

MCU: AT+KHTTPSHEADER=1\r
BX3105: CONNECT
MCU: exampleheader\r\n
— Wait 1000ms
MCU: +++
BX3105: OK
— Wait 1000ms
MCU: continue communication

Thank you!