# WP7702 keeps disconnecting

**URL:** <https://forum.legato.io/t/wp7702-keeps-disconnecting/6310>\
**Category:** Uncategorized\
**Created:** [October 6, 2022, 12:11pm UTC](https://forum.legato.io/t/wp7702-keeps-disconnecting/6310 "2022-10-06T12:11:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![shommersom](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@shommersom](https://forum.legato.io/u/shommersom)\
**Post date:** [October 6, 2022, 12:11pm UTC](https://forum.legato.io/t/wp7702-keeps-disconnecting/6310/1 "2022-10-06T12:11:58Z")

</div>

I’m having an issue where our board keeps disconnecting after a couple of seconds. I’ve managed to reproduce the issue using the cm data command:  
cm data connect  
ping [google.com](http://google.com)  
[several successful ping commands]  
ping: sendto: Network is unreachable

What are some things I can check to see what is happening and to fix the connection issues?

Here is a log of the following steps:  
cm radio on  
cm data connect  
ping [google.com](http://google.com)  
[2022-10-06 connection cleared log.txt](https://forum.legato.io/uploads/short-url/reSJWG6pPd1fYLROYVW2XL3ZIFw.txt) (24.4 KB)

If i look at AT!GSTATUS (before, during and after connection active) I see no obvious changes either

 ![image](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/b/bb7bf41e88b4a21bddb677cf517619536ffd7b32.png)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [October 6, 2022, 12:17pm UTC](https://forum.legato.io/t/wp7702-keeps-disconnecting/6310/2 "2022-10-06T12:17:05Z")

</div>

can you try with other network operator?  
Do you see problem on LTE network?  
What FW are you using?

---

<div class="post-metadata">

**Author:** ![shommersom](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@shommersom](https://forum.legato.io/u/shommersom)\
**Post date:** [October 6, 2022, 12:45pm UTC](https://forum.legato.io/t/wp7702-keeps-disconnecting/6310/3 "2022-10-06T12:45:45Z")

</div>

I’m not sure how to switch network operator.

for the RAT it was set to AUTO, after switching to LTE it failed to set up the connection at first. When I got it to work it still disconnects after a while.  
[2022-10-06 connection cleared log LTE.txt](https://forum.legato.io/uploads/short-url/i6y7DV4Vanfp0cgYF4KrxRUbcgG.txt) (51.2 KB)

FW:  
root@swi-mdm9x28-wp:~# cm info  
Device: WP7702  
IMEI: 352653090293374  
IMEISV: 6  
FSN: 4L029586170210  
Firmware Version: SWI9X06Y\_02.36.06.00 63d944 jenkins 2020/12/10 19:12:28  
Bootloader Version: SWI9X06Y\_02.36.06.00 63d944 jenkins 2020/12/10 19:12:28  
MCU Version: 002.015  
PRI Part Number (PN): 9909138  
PRI Revision: 001.009  
Carrier PRI Name: GENERIC  
Carrier PRI Revision: 001.071\_001  
SKU: 1104405  
Last Reset Cause: Reset, User Requested  
Resets Count: Expected: 286 Unexpected: 0

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [October 6, 2022, 1:21pm UTC](https://forum.legato.io/t/wp7702-keeps-disconnecting/6310/4 "2022-10-06T13:21:25Z")

</div>

how is “cm radio” response??

Have you tried the R15 in leaf?

`│ swi-wp77_6.0.0.beta │ SDK for WP77 (Release 15 + Legato 21.05.0)`

---

<div class="post-metadata">

**Author:** ![shommersom](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@shommersom](https://forum.legato.io/u/shommersom)\
**Post date:** [October 7, 2022, 6:14am UTC](https://forum.legato.io/t/wp7702-keeps-disconnecting/6310/5 "2022-10-07T06:14:16Z")

</div>

Radio is registered, then i do the cm data connect and it is connected, and then after \<1 minute it disconnects and the radio stays registerd

```auto
root@swi-mdm9x28-wp:~# cm radio
Power: ON
Current Network Operator: DATA ONLY
Current RAT: LTE network (LE_MRC_RAT_LTE)
Status: Registered, home network (LE_MRC_REG_HOME)
Signal: Very strong signal strength (5)
PS: Packet Switched Registered, home network (LE_MRC_REG_HOME)

root@swi-mdm9x28-wp:~# cm data connect
Setting up profile 1
Connecting ... ok
Checking if device 'rmnet_data0' is up ... ok
Routing inet ... ok
Updating /etc/resolv.conf ... ok
root@swi-mdm9x28-wp:~# cm data
Index: 1
APN: nextM2M
PDP Type: IPV4V6
Connected: yes
Interface: rmnet_data0
Family[IPv4]: inet
IP[IPv4]: 10.104.1.139
Gateway[IPv4]: 10.104.1.140
Dns1[IPv4]: 192.168.230.10
Dns2[IPv4]: N/A
root@swi-mdm9x28-wp:~# cm data
Index: 1
APN: nextM2M
PDP Type: IPV4V6
Connected: no
root@swi-mdm9x28-wp:~# cm radio
Power: ON
Current Network Operator: DATA ONLY
Current RAT: LTE network (LE_MRC_RAT_LTE)
Status: Registered, home network (LE_MRC_REG_HOME)
Signal: Very strong signal strength (5)
PS: Packet Switched Registered, home network (LE_MRC_REG_HOME)

root@swi-mdm9x28-wp:~#

```

I will see about trying a newer release, I would rather avoid that as updating that in the field would be a hassle (especially if the connection has this issue)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [October 7, 2022, 6:17am UTC](https://forum.legato.io/t/wp7702-keeps-disconnecting/6310/6 "2022-10-07T06:17:31Z")

</div>

do you try other SIM card?

Have you tried the R15 in leaf?

---

<div class="post-metadata">

**Author:** ![shommersom](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@shommersom](https://forum.legato.io/u/shommersom)\
**Post date:** [October 7, 2022, 6:38am UTC](https://forum.legato.io/t/wp7702-keeps-disconnecting/6310/7 "2022-10-07T06:38:44Z")

</div>

A different sim gave similar results.

The `│ swi-wp77_6.0.0.beta │ SDK for WP77 (Release 15 + Legato 21.05.0)` you suggested is giving the following error during install:

```auto
[1/6] Installing wp77-toolchain_SWI9X06Y_03.00.03.00-linux64
Run install steps for wp77-toolchain_SWI9X06Y_03.00.03.00-linux64
Configuring the toolchain for your environment, this may take a few minutes...
Error during installation: Error during install step for wp77-toolchain_SWI9X06Y_03.00.03.00-linux64 (command returned 1)
ERROR:
  Profile provisioning interrupted
CAUSED BY:
  Error during install step for wp77-toolchain_SWI9X06Y_03.00.03.00-linux64 (command returned 1)
HINT:
  try leaf profile sync to resume

```

Both in my current leaf profile and a new one I created just for this

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [October 7, 2022, 7:02am UTC](https://forum.legato.io/t/wp7702-keeps-disconnecting/6310/8 "2022-10-07T07:02:19Z")

</div>

you can see here:

> [@Legato vscode install Ubuntu 22.04.1](https://forum.legato.io/t/legato-vscode-install-ubuntu-22-04-1/6301/6):
>
> Okay so we tested a virtual machine with Ubuntu 18 it works fine

you can also try sample application Modemdemo and see if only cm tool has problem:

`app runProc modemDemo1 send --exe=send -- 1234567 "Online"`

> <https://github.com/legatoproject/legato-af/tree/master/apps/sample/modemDemo>
>
> //github.com/legatoproject/legato-af/tree/master/apps/sample/modemDemo
