Thank you Chris,

The periodic diconnection due to timeout is causing a lot of problem.

Can you please suggest on how we can over come this issue. We want the 
connaction to be some thing like, when I connect my blackberry to desktop it 
does not get disconnected, the connection remains untill we close it manually.

In our project we are actually controlling an ARM based device through 
blackberry, now what's happening is evry 30 seconds we need to re-establish the 
connection manually, because blackberry app doesn't get notified when the ARM 
device times out.

It will be great help if you can suggest an workaround for this.

Thanks and Regards
Naveen
Sent from BlackBerry® on Airtel

-----Original Message-----
From: Chris Frey <cdf...@foursquare.net>
Date: Thu, 7 Jul 2011 15:25:55 
To: Barry project development discussion<barry-devel@lists.sourceforge.net>
Reply-To: Barry project development discussion
        <barry-devel@lists.sourceforge.net>
Subject: Re: [Barry-devel] How to Change Default Timeout

On Thu, Jul 07, 2011 at 10:00:23PM +0530, Rajendra prasad wrote:
> But i am facing one problem with timeout.
> some times BB send commands after 30 seconds, this case my device giving
> error as *Socket receive error: likely timeout.*
> In library you defined receiver default timeout as 30 seconds, but i want to
> change that timeout to around 15min.
> so to achieve this, where can i edit the the timeout value in Barry source
> tree?

Hi Rajendra,

I'm not sure if 15 minutes is feasible, but the default timeout is
specified in src/usbwrap.h in the following define:

        #define USBWRAP_DEFAULT_TIMEOUT 30000

The value is in milliseconds.

- Chris


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to