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
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel