# WP8548 modem freezes

**URL:** <https://forum.sierrawireless.com/t/wp8548-modem-freezes/20927>\
**Category:** WP Series\
**Created:** [July 15, 2020, 12:41pm UTC](https://forum.sierrawireless.com/t/wp8548-modem-freezes/20927 "2020-07-15T12:41:49Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![maschenkoaa](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@maschenkoaa](https://forum.sierrawireless.com/u/maschenkoaa)\
**Post date:** [July 15, 2020, 12:41pm UTC](https://forum.sierrawireless.com/t/wp8548-modem-freezes/20927/1 "2020-07-15T12:41:49Z")

</div>

Hello.  
We are creating a new product based on WP8548-G, but we are faced with the following problem.  
When transferring data between the device (WP8548) and the server through a modem, after receiving the first packet from the server, there is a delay after the data has been written to the socket and the moment it was received by the server.  
It may be a few seconds. When transmitting subsequent data, this is not observed (delays correspond to network bandwidth ). If the modem starts up before each session, the delay can reach 1-3 minutes.  
Could you help me please with this issue?  
Thanks.  
Device: WP8548  
IMEI: ----  
IMEISV: ----  
FSN: ----  
Firmware Version: SWI9X15Y\_07.14.01.00 595652d jenkins 2018/10/26 08:34:29  
Bootloader Version: SWI9X15Y\_07.14.01.00 595652d jenkins 2018/10/26 08:48:35  
MCU Version: 002.004  
PRI Part Number (PN): 9906350  
PRI Revision: 01.00  
Carrier PRI Name: GENERIC  
Carrier PRI Revision: 001.042\_000  
SKU: 1103112  
Last Reset Cause: Unknown

---

<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:** [July 15, 2020, 1:18pm UTC](https://forum.sierrawireless.com/t/wp8548-modem-freezes/20927/2 "2020-07-15T13:18:59Z")

</div>

Suggest capturing the wireshark log to isolate if this is server problem

---

<div class="post-metadata">

**Author:** ![maschenkoaa](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@maschenkoaa](https://forum.sierrawireless.com/u/maschenkoaa)\
**Post date:** [July 15, 2020, 1:28pm UTC](https://forum.sierrawireless.com/t/wp8548-modem-freezes/20927/3 "2020-07-15T13:28:04Z")

</div>

We conducted comprehensive checks. Wareshark just shows that there is no data all this time.

---

<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:** [July 15, 2020, 1:51pm UTC](https://forum.sierrawireless.com/t/wp8548-modem-freezes/20927/4 "2020-07-15T13:51:51Z")

</div>

Then is it server problem?  
If no, is it network problem?  
Have you compare the wireshark log captured in server and the wireshark log captured in module?  
This can confirm if this is network operator problem

---

<div class="post-metadata">

**Author:** ![mlw](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/mlw/32/3706_2.png) [@mlw](https://forum.sierrawireless.com/u/mlw)\
**Post date:** [July 15, 2020, 2:15pm UTC](https://forum.sierrawireless.com/t/wp8548-modem-freezes/20927/5 "2020-07-15T14:15:27Z")

</div>

@maschenkoaa

So I am trying to understand the setup, are you using the WP8 as a modem (PPP dial up? RMNet?) or are you using a Legato application?

Can you elaborate on the step by step procedure you are using. So something such as the following.

1. Power WP8 up.
2. Allow it to attach to the network.
3. Create a data session using Legato application to our server.
4. Send some data to the server
5. Takes a significant time for the server to reply.

Regards

Matt

---

<div class="post-metadata">

**Author:** ![maschenkoaa](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@maschenkoaa](https://forum.sierrawireless.com/u/maschenkoaa)\
**Post date:** [July 15, 2020, 2:19pm UTC](https://forum.sierrawireless.com/t/wp8548-modem-freezes/20927/6 "2020-07-15T14:19:23Z")

</div>

Yes. we use Legato application.  
The procedure is as follows:

1. Power WP8 up;
2. Create a data session using Legato application to our server. (rmnet0 device)
3. Send some data to the server
4. we receive data from the server
5. send an answer  
Strace indicates that send is finished. Wareshark shows that there is no data and no data.  
Then the data appears.
6. we receive data from the server
7. send an answer  
Here the delay is a split second. etc.

---

<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:** [July 15, 2020, 2:45pm UTC](https://forum.sierrawireless.com/t/wp8548-modem-freezes/20927/7 "2020-07-15T14:45:33Z")

</div>

Have you tried nc command instead of legato application?  
This can narrow down the root cause and see if legato framwork brings the problem

---

<div class="post-metadata">

**Author:** ![maschenkoaa](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@maschenkoaa](https://forum.sierrawireless.com/u/maschenkoaa)\
**Post date:** [July 15, 2020, 3:00pm UTC](https://forum.sierrawireless.com/t/wp8548-modem-freezes/20927/8 "2020-07-15T15:00:43Z")

</div>

A good idea. I did not know that he was there.

---

<div class="post-metadata">

**Author:** ![maschenkoaa](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@maschenkoaa](https://forum.sierrawireless.com/u/maschenkoaa)\
**Post date:** [July 16, 2020, 8:05am UTC](https://forum.sierrawireless.com/t/wp8548-modem-freezes/20927/9 "2020-07-16T08:05:48Z")

</div>

Tests with nc showed no problems.

---

<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:** [July 16, 2020, 8:07am UTC](https://forum.sierrawireless.com/t/wp8548-modem-freezes/20927/10 "2020-07-16T08:07:46Z")

</div>

probably there is problem in your application then

---

<div class="post-metadata">

**Author:** ![maschenkoaa](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@maschenkoaa](https://forum.sierrawireless.com/u/maschenkoaa)\
**Post date:** [July 16, 2020, 8:16am UTC](https://forum.sierrawireless.com/t/wp8548-modem-freezes/20927/11 "2020-07-16T08:16:09Z")

</div>

We have simplified our application to a minimum. We also simplified the server. Problem still exists. Is it possible to write your own application bypassing Legato?

---

<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:** [July 16, 2020, 8:18am UTC](https://forum.sierrawireless.com/t/wp8548-modem-freezes/20927/12 "2020-07-16T08:18:13Z")

</div>

you can first try to unsandbox the application in .adef file and see if there is improvement.  
Another way is to use toolchain to compile your C program application, that will be totally not related to legato framework.

e.g.

/home/owner/legato/packages/legato.toolchain.1.7.3.SWI9X15Y\_07112100-wp85-wp750x-native-x86\_64-201701091132/resources/native/sysroots/x86\_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -o sslconnect.arm.o sslconnect.c -lssl -lcrypto

---

<div class="post-metadata">

**Author:** ![maschenkoaa](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@maschenkoaa](https://forum.sierrawireless.com/u/maschenkoaa)\
**Post date:** [July 16, 2020, 1:02pm UTC](https://forum.sierrawireless.com/t/wp8548-modem-freezes/20927/13 "2020-07-16T13:02:39Z")

</div>

Thanks everyone for the help. The native version of the program showed a good result. The replacement of the cellular operator has led to significant changes.
