Forums - mw and other process with socket commnunication

7 posts / 0 new
Last post
mw and other process with socket commnunication
joanaliang_05
Join Date: 4 Jun 15
Posts: 5
Posted: Fri, 2016-05-06 01:27

I have a application on mobile, which has a backgroud service. The service communicates with other server  to retrieve data for the application through http.

after some time, I started the lte broadcast service in same application(there is on-going broadcast now ). But I found the http transportation mentioned above  will be pended for serveral seconds.

So the question is: will the lte broadcast service block the other thread/process which has socket communication for some time when it is started?

  • Up0
  • Down0
elmira Moderator
Join Date: 11 Aug 14
Posts: 26
Posted: Fri, 2016-05-06 16:02

Hello,

LTE Broadcast does not block any other thread/process.

What version of SDK and middleware are you using? Do you have adb logs?

Thanks,

Elmira

 

 

  • Up0
  • Down0
joanaliang_05
Join Date: 4 Jun 15
Posts: 5
Posted: Mon, 2016-05-09 02:51

hi,

The sdk version is 2.2.22.18.0.jar. and middleware is 2.0.18.

When application triggered start streaming service, another thread which is a local http proxy(listening on port 5009) is getting unicast packets towards an extenal server this time. I found the number of received packets for one http request  is less than the one sent by the server. this leads to my app is in waiting status for several seconds. and this time the callback of streamingserviceStarted is not returned yet.

I have the adb log. but not found how to attach it here.

 

  • Up0
  • Down0
elmira Moderator
Join Date: 11 Aug 14
Posts: 26
Posted: Mon, 2016-05-09 10:31

Hello,

Is it possible for you to try the latest 3.5 MSDC API JAR? I believe there are fixes in the API since 2.2 version that could have improved the use case you are describing.

Thanks,

Elmira

 

 

  • Up0
  • Down0
joanaliang_05
Join Date: 4 Jun 15
Posts: 5
Posted: Tue, 2016-05-10 00:05

I have tried to change the MSDC API to the latest version MSDC_API-3.5.03.02, but no change for my case.

BRs.

 

 

  • Up0
  • Down0
elmira Moderator
Join Date: 11 Aug 14
Posts: 26
Posted: Wed, 2016-05-11 12:13

I will let you know how to send an adb log for further investigation.

Thanks,

Elmira

 

  • Up0
  • Down0
joanaliang_05
Join Date: 4 Jun 15
Posts: 5
Posted: Thu, 2016-05-12 20:04

Thanks  a lot.

At last I found it's other thread caused.  MW works well.

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.