Charmed Quark Systems
Google
WWW CharmedQuark.com

Go Back   Charmed Quark Systems > Third Party Development > Third Party Development (General)
Register FAQ Members List Calendar Mark Forums Read

Third Party Development (General) This section is for discussion of the development of third party hardware and software to integrate with CQC, such as clients based on the XML Gateway or RIVA protocols.

Reply
 
Thread Tools Display Modes
  #381  
Old 07-25-2012, 06:43 AM
batwater batwater is offline
 
Join Date: Apr 2009
Location: St. Louis, MO
Posts: 876
Default taRiva Recovery from suspend

I am now running .16 release and 1.09 of taRiva. Phone I am working with is an HTC EVO LTE connecting via WiFi

After rebooting everything due to the .16 upgrade I tested my taRiva connection it worked as expected. Prior to connected I turned on the log monitor for observation. Upon the initial taRiva connection the only thing logged, again as expected, was in increase in the high water mark.

I then left taRiva up and switched to another application which I used for approximately 5 minutes and then returned to taRiva I saw packet sequence and exception errors being logged. taRiva was unresponsive.

I rebooted the phone and was able to connect immediately to CQC via taRiva.

I exited taRiva via the exit command and then tried to go back in at which point errors were again showing up in the CQC log.

At this point after the 2nd phone reboot taRiva will not connect to CQC.

Logsnap attached. logcat from android phone (after 2nd reboot) emailed directly to Fonceur

edit1:

I can confirm the clean exit, won't reconnect behavior on a 2nd phone. taRiva starts up and, in this case, went to the initial template but after that no template activity/interaction possible, just a spinning circle at the bottom. (this on a Galaxy Nexus, android 4.04)

Thanks,
-Ben
Attached Files
File Type: txt CIDLogFileSnap.Txt (14.6 KB, 2 views)

Last edited by batwater : 07-25-2012 at 07:08 AM.
Reply With Quote
  #382  
Old 07-25-2012, 10:27 AM
Dean Roddey's Avatar
Dean Roddey Dean Roddey is offline
Administrator
 
Join Date: Aug 2002
Location: Mountain View, CA
Posts: 32,448
Default

Definitely looks like some strange networking issues, which is causing failed communications. The server is complaining that it's getting out of sequence packets and recycling the connection to get the client to start over, but it seems like the client is continuing onwards.

Fonceur, it looks like maybe if you are in the login attempt sequeunce that you aren't catching a failed connection and resetting your sequence number perhaps? If anything goes awry during the login, probably best to close the socket, and start over to make sure that things stay in sync?
__________________
Dean Roddey
Software Geek Extraordinaire

Last edited by Dean Roddey : 07-25-2012 at 10:30 AM.
Reply With Quote
  #383  
Old 07-25-2012, 02:58 PM
Fonceur Fonceur is offline
 
Join Date: Sep 2008
Location: Canada
Posts: 1,057
Default

Quote:
Originally Posted by Dean Roddey
Fonceur, it looks like maybe if you are in the login attempt sequeunce that you aren't catching a failed connection and resetting your sequence number perhaps?
Probably, I'll need to check how I'm handling it.
__________________
Fonceur's Place
Field Generator 0.65: Create CQC fields on the fly, from external applications.
Mobile templates 0.4: Main resolution of 320x480 with navigation side bars (384x544).
Sage Media Server 1.1.3 + Sage Player 2.7.8: Display and manipulate SageTV information or player.
TaRIVA 1.26: Android RIVA client.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:43 PM.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.