# BX310x HTTPS Header not exiting CONNECT

**URL:** <https://forum.sierrawireless.com/t/bx310x-https-header-not-exiting-connect/17421>\
**Category:** WiFi and Bluetooth Modules\
**Created:** [August 28, 2019, 10:08pm UTC](https://forum.sierrawireless.com/t/bx310x-https-header-not-exiting-connect/17421 "2019-08-28T22:08:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgeissbe](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@jgeissbe](https://forum.sierrawireless.com/u/jgeissbe)\
**Post date:** [August 28, 2019, 10:08pm UTC](https://forum.sierrawireless.com/t/bx310x-https-header-not-exiting-connect/17421/1 "2019-08-28T22:08:58Z")

</div>

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](http://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?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [August 29, 2019, 3:54am UTC](https://forum.sierrawireless.com/t/bx310x-https-header-not-exiting-connect/17421/2 "2019-08-29T03:54:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jgeissbe](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@jgeissbe](https://forum.sierrawireless.com/u/jgeissbe)\
**Post date:** [August 29, 2019, 1:46pm UTC](https://forum.sierrawireless.com/t/bx310x-https-header-not-exiting-connect/17421/3 "2019-08-29T13:46:06Z")

</div>

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!
