# No WIP\_BEV\_IP\_CONNECTED event (bearer)

**URL:** <https://forum.sierrawireless.com/t/no-wip-bev-ip-connected-event-bearer/7572>\
**Category:** General wireless topics\
**Created:** [November 19, 2014, 5:33am UTC](https://forum.sierrawireless.com/t/no-wip-bev-ip-connected-event-bearer/7572 "2014-11-19T05:33:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sambk87](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@sambk87](https://forum.sierrawireless.com/u/sambk87)\
**Post date:** [November 19, 2014, 5:33am UTC](https://forum.sierrawireless.com/t/no-wip-bev-ip-connected-event-bearer/7572/1 "2014-11-19T05:33:30Z")

</div>

Hi all,  
I run into a problem that i need your help. My application gets data via UART port and sends it to a remote server via GPRS. The flow of GPRS is as below:  
\_ At startup, wait for ADL\_SIM\_EVENT\_FULL\_INIT  
\_ Wait for creg of 1 or 5  
\_ Initiate bearer, wait for WIP\_BEV\_IP\_CONNECTED  
\_ Open a socket (wip\_TCPClientCreate).  
\_ Then keep the connection so that modem can send data at anytime

Everything is fine if no error event happens. When the event of WIP\_BEV\_IP\_DISCONNECTED, then WIP\_BEV\_CTX\_DEACT happens, i stop then close the bearer. After 1 minute, i reconnect the bearer but it always fails.

Whenever i initiate bearer again (wip\_bearerOpen, wip\_bearerSetOpts, wip\_bearerStart), no WIP\_BEV\_IP\_CONNECTED event is raised as expected. Instead, WIP\_BEV\_CONN\_FAILED and WIP\_BEV\_STOPPED events happen . Whenever WIP\_BEV\_STOPPED is raised, i initiate bearer again, results in a forever loop.

Even though i restart modem with AT+CFUN=1, the phenomenon still remains (creg already returned 1).

I’m using SL6087, firmware 7.51. If anyone has encountered this issue, pls give me an advice.

Thanks & Regrads,  
Pham Viet Sam

---

<div class="post-metadata">

**Author:** ![MichaG](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@MichaG](https://forum.sierrawireless.com/u/MichaG)\
**Post date:** [November 20, 2014, 1:35pm UTC](https://forum.sierrawireless.com/t/no-wip-bev-ip-connected-event-bearer/7572/2 "2014-11-20T13:35:03Z")

</div>

Hello

I encounter this same kind of problem with FXT009 and firmware 7.47.4.  
When WIP\_BEV\_CONN\_FAILED error occurs, use wip\_bearerGetOpts function with WIP\_BOPT\_ERROR parameter to retrieve the error value.  
Generally, the error value is WIP\_BERR\_GPRS\_FAILED.  
My strategy - in this case - is to do a reset of the modem if I have this error several times consecutively.  
This usually solves the problem but not every time ;-(

Marc

---

<div class="post-metadata">

**Author:** ![sambk87](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@sambk87](https://forum.sierrawireless.com/u/sambk87)\
**Post date:** [November 20, 2014, 2:59pm UTC](https://forum.sierrawireless.com/t/no-wip-bev-ip-connected-event-bearer/7572/3 "2014-11-20T14:59:36Z")

</div>

Thank you MichaG,  
I raised the issue to my distributor. Let’s wait for what they said about the root cause.

About the workaround, i’m not lucky like you. I did reset the modem as you said but it usually doesn’t help. This results in a long disconnection, which is unacceptable for my service. Could you suggest me a reset more powerful than AT+CFUN=1 so that modem restarts like a hard reset?

Thanks & Regards,  
Pham Viet Sam

---

<div class="post-metadata">

**Author:** ![MichaG](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@MichaG](https://forum.sierrawireless.com/u/MichaG)\
**Post date:** [November 21, 2014, 12:42pm UTC](https://forum.sierrawireless.com/t/no-wip-bev-ip-connected-event-bearer/7572/4 "2014-11-21T12:42:08Z")

</div>

Hello

> [@sambk87](#):
>
> Could you suggest me a reset more powerful than AT+CFUN=1 so that modem restarts like a hard reset?

I think there is no more powerful AT command.

Marc
