On Fri, Aug 17, 2007 at 06:05:06AM -0400, Rick Scott wrote: > > You can detect the Pearl and Curve by the fact that they show up as > > Mass Storage devices when first plugged in. Other than that, you > > have to actually talk to the device (and overcome all the hurdles > > that btool has to). I'm sure there are database records in the device > > somewhere that would tell you. > > bb_usb.c:get_description requests the device info. It returns a login > response that is > 28 bytes, bb_usb.c:837 handles the response.
Thanks! I've implemented similar functionality in the Probe class in Barry, and btool now reports the devices description with the -l option. - Chris ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel