CC'ing the list, so people know of the new program.
On Fri, Nov 30, 2007 at 07:52:02PM -0500, Martin Owens wrote: > =================================================================== > RCS file: /cvsroot/barry/barry/src/probe.cc,v > retrieving revision 1.25 > diff -r1.25 probe.cc > 314,316c314,316 > < os << "Device ID: " << pr.m_dev > < << std::hex << ". PIN: " << pr.m_pin > < << ", Description: " << pr.m_description; > --- > > os << pr.m_dev > > << std::hex << "," << pr.m_pin > > << "," << pr.m_description; > cvs diff: Diffing tools > Index: tools/btool.cc > =================================================================== > RCS file: /cvsroot/barry/barry/tools/btool.cc,v > retrieving revision 1.28 > diff -r1.28 btool.cc > 574c574,575 > < cout << "Blackberry devices found:" << endl; > --- > > if( not list_only ) > > cout << "Blackberry devices found:" << endl; > I decided to split this out into a separate identifier program: bidentify. It is quite simple and straightforward. Please feel free to adjust it however you need to suit your purposes, and send me the patch. Synopsis: It shows PIN and description... not sure if you even need the device ID, as it is likely a C pointer and useless outside of the program. It will send error information to stderr, and the identification info to stdout. Any problems it has probing devices, it will return the number of Blackberry devices it had trouble with as the error code... 0 if all was successful. It takes the new -B and -N switches like btool. Thanks for the idea! - Chris ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel