Thank you for the guide in creating the unified diff. I hope this is correct.<div><br></div><div>Moganesh <div><br></div><div><div>diff --git a/<a href="http://configure.ac">configure.ac</a> b/<a href="http://configure.ac">configure.ac</a></div>
<div>index f5c26f9..5ebaef5 100644</div><div>--- a/<a href="http://configure.ac">configure.ac</a></div><div>+++ b/<a href="http://configure.ac">configure.ac</a></div><div>@@ -23,13 +23,14 @@ AC_SUBST(lt_major)</div><div> AC_SUBST(lt_revision)</div>
<div> AC_SUBST(lt_age)</div><div> </div><div>-all_drivers="upeke2 upekts upektc upeksonly vcom5s uru4000 fdu2000 aes1610 aes2501 aes4000 vfs101"</div><div>+all_drivers="upeke2 upekts upektc upeket upeksonly vcom5s uru4000 fdu2000 aes1610 aes2501 aes4000 vfs101"</div>
<div> </div><div> require_imaging='no'</div><div> require_aeslib='no'</div><div> enable_upeke2='no'</div><div> enable_upekts='no'</div><div> enable_upektc='no'</div><div>+enable_upeket='no'</div>
<div> enable_upeksonly='no'</div><div> enable_vcom5s='no'</div><div> enable_uru4000='no'</div><div>@@ -59,6 +60,11 @@ for driver in `echo ${drivers} | sed -e 's/,/ /g' -e 's/,$//g'`; do</div>
<div> <span class="Apple-tab-span" style="white-space:pre">                        </span>enable_upektc="no"</div><div> <span class="Apple-tab-span" style="white-space:pre">                        </span># Driver not ported</div><div> <span class="Apple-tab-span" style="white-space:pre">                </span>;;</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>upeket)</div><div>+<span class="Apple-tab-span" style="white-space:pre">                        </span>AC_DEFINE([ENABLE_UPEKET], [], [Build UPEK TouchChip driver])</div><div>
+<span class="Apple-tab-span" style="white-space:pre">                        </span>enable_upeket="no"</div><div>+<span class="Apple-tab-span" style="white-space:pre">                        </span># Driver not ported</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>;;</div>
<div> <span class="Apple-tab-span" style="white-space:pre">                </span>upeksonly)</div><div> <span class="Apple-tab-span" style="white-space:pre">                        </span>AC_DEFINE([ENABLE_UPEKSONLY], [], [Build UPEK TouchStrip sensor-only driver])</div>
<div> <span class="Apple-tab-span" style="white-space:pre">                        </span>enable_upeksonly="yes"</div><div>@@ -102,6 +108,7 @@ done</div><div> AM_CONDITIONAL([ENABLE_UPEKTS], [test "$enable_upekts" = "yes"])</div>
<div> AM_CONDITIONAL([ENABLE_UPEKE2], [test "$enable_upeke2" = "yes"])</div><div> #AM_CONDITIONAL([ENABLE_UPEKTC], [test "$enable_upektc" = "yes"])</div><div>+#AM_CONDITIONAL([ENABLE_UPEKET], [test "$enable_upeket" = "yes"])</div>
<div> AM_CONDITIONAL([ENABLE_UPEKSONLY], [test "$enable_upeksonly" = "yes"])</div><div> AM_CONDITIONAL([ENABLE_VCOM5S], [test "$enable_vcom5s" = "yes"])</div><div> AM_CONDITIONAL([ENABLE_URU4000], [test "$enable_uru4000" = "yes"])</div>
<div>@@ -237,6 +244,11 @@ if test x$enable_upektc != xno ; then</div><div> else</div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>AC_MSG_NOTICE([ upektc driver disabled])</div><div> fi</div><div>+if test x$enable_upeket != xno ; then</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>AC_MSG_NOTICE([** upeket driver enabled])</div><div>+else</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>AC_MSG_NOTICE([ upeket driver disabled])</div>
<div>+fi</div><div> if test x$enable_upeksonly != xno ; then</div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>AC_MSG_NOTICE([** upeksonly driver enabled])</div><div> else</div><div>diff --git a/libfprint/Makefile.am b/libfprint/Makefile.am</div>
<div>index 656a2f4..5ff2171 100644</div><div>--- a/libfprint/Makefile.am</div><div>+++ b/libfprint/Makefile.am</div><div>@@ -5,6 +5,7 @@ MOSTLYCLEANFILES = $(udev_rules_DATA)</div><div> UPEKE2_SRC = drivers/upeke2.c</div>
<div> UPEKTS_SRC = drivers/upekts.c</div><div> UPEKTC_SRC = drivers/upektc.c</div><div>+UPEKET_SRC = drivers/upeket.c</div><div> UPEKSONLY_SRC = drivers/upeksonly.c</div><div> URU4000_SRC = drivers/uru4000.c</div><div> AES1610_SRC = drivers/aes1610.c</div>
<div>@@ -18,6 +19,7 @@ EXTRA_DIST = \</div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>$(UPEKE2_SRC)<span class="Apple-tab-span" style="white-space:pre">                </span>\</div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>$(UPEKTS_SRC)<span class="Apple-tab-span" style="white-space:pre">                </span>\</div>
<div> <span class="Apple-tab-span" style="white-space:pre">        </span>$(UPEKTC_SRC)<span class="Apple-tab-span" style="white-space:pre">                </span>\</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>$(UPEKET_SRC)<span class="Apple-tab-span" style="white-space:pre">                </span>\</div>
<div> <span class="Apple-tab-span" style="white-space:pre">        </span>$(UPEKSONLY_SRC)<span class="Apple-tab-span" style="white-space:pre">        </span>\</div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>$(URU4000_SRC)<span class="Apple-tab-span" style="white-space:pre">                </span>\</div>
<div> <span class="Apple-tab-span" style="white-space:pre">        </span>$(AES1610_SRC)<span class="Apple-tab-span" style="white-space:pre">                </span>\</div><div>@@ -100,6 +102,10 @@ endif</div><div> #DRIVER_SRC += $(UPEKTC_SRC)</div>
<div> #endif</div><div> </div><div>+#if ENABLE_UPEKET</div><div>+#DRIVER_SRC += $(UPEKET_SRC)</div><div>+#endif</div><div>+</div><div> if ENABLE_URU4000</div><div> DRIVER_SRC += $(URU4000_SRC)</div><div> endif</div><div>diff --git a/libfprint/drivers/upeket.c b/libfprint/drivers/upeket.c</div>
<div>new file mode 100644</div><div>index 0000000..e5c12d2</div><div>--- /dev/null</div><div>+++ b/libfprint/drivers/upeket.c</div><div>@@ -0,0 +1,720 @@</div><div>+/*</div><div>+ * Copyright (C) 2012 Moganeshwaran Rajasegaran <<a href="mailto:moganeshwaran@gmail.com">moganeshwaran@gmail.com</a>></div>
<div>+ * UPEK EikonTouch300 driver for libfprint</div><div>+</div><div>+ * Heavily based on UPEK TouchChip driver for libfprint</div><div>+ * Copyright (C) 2007 Jan-Michael Brummer <<a href="mailto:buzz2@gmx.de">buzz2@gmx.de</a>></div>
<div>+ *</div><div>+ * This library is free software; you can redistribute it and/or</div><div>+ * modify it under the terms of the GNU Lesser General Public</div><div>+ * License as published by the Free Software Foundation; either</div>
<div>+ * version 2.1 of the License, or (at your option) any later version.</div><div>+ *</div><div>+ * This library is distributed in the hope that it will be useful,</div><div>+ * but WITHOUT ANY WARRANTY; without even the implied warranty of</div>
<div>+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</div><div>+ * Lesser General Public License for more details.</div><div>+ *</div><div>+ * You should have received a copy of the GNU Lesser General Public</div>
<div>+ * License along with this library; if not, write to the Free Software</div><div>+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA</div><div>+ */</div><div>+</div><div>+#define FP_COMPONENT <span class="Apple-tab-span" style="white-space:pre">                </span>"upeket"</div>
<div>+</div><div>+#include <errno.h></div><div>+#include <string.h></div><div>+</div><div>+#include <glib.h></div><div>+#include <usb.h></div><div>+</div><div>+#include <fp_internal.h></div><div>
+</div><div>+#define SENSOR_FULL_IMAGE<span class="Apple-tab-span" style="white-space:pre">        </span>59904</div><div>+#define WAIT_COUNT<span class="Apple-tab-span" style="white-space:pre">                        </span>5</div><div>+</div><div>
+typedef char sint8;</div><div>+typedef unsigned char uint8;</div><div>+typedef int sint32;</div><div>+typedef unsigned int uint32;</div><div>+</div><div>+/** scan command */</div><div>+static const unsigned char anScanCommand[ 0x40 ] = {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>0x0e, 0x00, 0x03, 0xa8, 0x00, 0xb6, 0xbb, 0xbb,</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>0xb8, 0xb7, 0xb8, 0xb5, 0xb8, 0xb9, 0xb8, 0xb9,</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>0xbb, 0xbb, 0xbe, 0xbb, 0x4e, 0x16, 0xf4, 0x77,</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>0xa8, 0x07, 0x32, 0x00, 0x6a, 0x16, 0xf4, 0x77,</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>0x78, 0x24, 0x61, 0x00, 0xc8, 0x00, 0xec, 0x00,</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>0x01, 0x00, 0x00, 0x00, 0x3c, 0xf3, 0x2f, 0x01,</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>0x05, 0x90, 0xf6, 0x77, 0x84, 0xf5, 0x2f, 0x01,</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>0x05, 0x90, 0xf6, 0x00, 0xc8, 0x00, 0xec, 0x00</div>
<div>+};</div><div>+</div><div>+</div><div>+/**</div><div>+ * \brief Common interaktion routine for the sensor device</div><div>+ * \param dev fingerprint image device pointer</div><div>+ * \param pnRawString raw data string</div>
<div>+ * \param nLen length we want to read, if 0 do not read at all</div><div>+ * \param pnBuffer buffer pointer we want to store the read buffer</div><div>+ * \return error code</div><div>+ */</div><div>+static sint32 askScanner( struct fp_img_dev *dev, const unsigned char *pnRawString, sint32 nLen, sint8 *pnBuffer ) {</div>
<div>+ sint8 anBuf[ 65535 ];</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>sint32 nRet;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>int transferred;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>struct libusb_bulk_transfer msg1 = {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>.endpoint = 2,</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>.data = pnRawString,</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>.length = 0x40,</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>struct libusb_bulk_transfer msg2 = {</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>.endpoint = 0x81,</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>.data = anBuf,</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>.length = nLen,</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div>
<div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>nRet = libusb_bulk_transfer(dev->udev, &msg1, &transferred, 1003);</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if (transferred != 0x40) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -1;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( !nLen ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return 0;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>nRet = libusb_bulk_transfer(dev->udev, &msg2, &transferred, 1003);</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( ( transferred == nLen ) && ( pnBuffer != NULL ) ) {</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>memcpy( pnBuffer, anBuf, nLen );</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return transferred;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>return nRet;</div>
<div>+}</div><div>+</div><div>+/**</div><div>+ * \brief Quick test if finger is on sensor</div><div>+ * \param pnImage image pointer</div><div>+ * \return 1 on yes, 0 on no</div><div>+ */</div><div>+static sint32 ValidScan( sint8 *pnImage ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>sint32 nIndex, nSum;</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>nSum = 0;</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>for ( nIndex = 0; nIndex < SENSOR_FULL_IMAGE; nIndex++ ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>if ( ( uint8 ) pnImage[ nIndex ] < 160 ) {</div><div>+<span class="Apple-tab-span" style="white-space:pre">                        </span>nSum++;</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>}</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>return nSum < 500 ? 0 : 1;</div><div>+}</div><div>+</div><div>+/**</div>
<div>+ * \brief Setup Sensor device</div><div>+ * \param dev fingerprint image device pointer</div><div>+ * \return error code</div><div>+ */</div><div>+static sint32 SetupSensor( struct fp_img_dev *dev ) {</div><div>+</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>/* setup sensor */</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x01\xF3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -1;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\xfe\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb8\x00\x00\x00\x98\xf1\x12\x00\x03\xd4\xa9\x00\x64\x00\x00\x00\x14\x20\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x84\xf1\x12\x00\x0c\x00\x00\x00\x90\xf1\x12\x00\xac\x0d\x00\x00\x08\x00\x00\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -2;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x01\xf7\x00\x00\x00\x00\x00\x00\x90\xf1\x12\x00\x92\xc5\xa9\x00\x48\xf1\x12\x00\x40\x00\x00\x00\xa2\xc5\xa9\x00\x03\x00\x00\x00\x02\xfe\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb8\x00\x00\x00\x98\xf1\x12\x00\x03\xd4\xa9\x00\x64\x00\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -3;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\xf7\xcd\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -4;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x01\xf8\xa9\x00\x28\xf1\x12\x00\x40\x00\x00\x00\xbb\xc4\xa9\x00\x02\xfa\x3f\x05\x05\x02\x05\x23\x27\xe5\x13\x10\x08\xff\x04\x6c\xc1\x41\x1c\x4c\x00\x00\x00\x00\x00\x00\x00\x00\x60\xf1\x12\x00\x89\xae\xa9\x00\x03\x00\x00\x00\x00\x00\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -5;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8b\x00\x00\x00\x3a\x8c\xf1\x12\x00\x64\xa8\xa7\x00\x84\xf1\x12\x00\x2f\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\xc0\xf1\x12\x00\x51\xa6\xa7\x00\xf8\x00\x00\x00\x7e\xa6\xa7\x00\x24\x5a\xac\x00\x01\xf1\x12\x00\x00\x00\x00\x00\x2f\x00\x00\x00\x08\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -6;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x3a\x00\x01\x02\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1f\x20\x21\x22\x23\x24\x27\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3a\x3d\x3f\xff\x7c", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -7;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x3a\x00\x01\x02\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1f\x20\x21\x22\x23\x24\x27\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3a\x3d\x3f\xff\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -8;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\x0d\xff\x00\x34\xf1\x12\x00\x40\x00\x00\x00\xe8\x03\x00\x00\x00\x00\x00\x00\x00\xf1\x12\x00\x57\xcc\xa9\x00\x34\xf1\x12\x00\x40\x00\x00\x00\xbd\xcc\xa9\x00\x3a\x00\x00\x00\x00\x00\x00\x00\xb8\x00\x00\x00\x34\xf1\x12\x00\x3a\x00\x00\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -9;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x0a\x37\x6a\x3d\x73\x3d\x71\x0e\x01\x0e\x81\x00\x40\x00\x00\x00\xe8\x03\x00\x00\x00\x00\x00\x00\x00\xf1\x12\x00\x57\xcc\xa9\x00\x34\xf1\x12\x00\x40\x00\x00\x00\xbd\xcc\xa9\x00\x3a\x00\x00\x00\x00\x00\x00\x00\xb8\x00\x00\x00\x34\xf1\x12\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -10;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x3a\x00\x01\x02\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1f\x20\x21\x22\x23\x24\x27\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3a\x3d\x3f\xff\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -11;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\x3d\x51\x0e\x01\x0e\x81\x00\x40\x00\x00\x00\xe8\x03\x00\x00\x00\x00\x00\x00\x00\xf1\x12\x00\x57\xcc\xa9\x00\x34\xf1\x12\x00\x40\x00\x00\x00\xbd\xcc\xa9\x00\x3a\x00\x00\x00\x00\x00\x00\x00\xb8\x00\x00\x00\x34\xf1\x12\x00\x3a\x00\x00\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -12;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x3a\x00\x01\x02\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1f\x20\x21\x22\x23\x24\x27\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3a\x3d\x3f\xff\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -13;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x04\x78\x3A\x34\x00\x00\xC0\x00\x00\x00\x00\x24\x1A\x80\x7C\x04\xF1\x12\x00\x18\x00\x00\x00\x48\x00\x00\x00\xCC\xEF\x12\x00\x42\x00\x00\x00\x00\x00\x00\x00\xB0\xEF\x12\x00\x0C\x00\x0C\x00\x84\x21\x15\x00\x48\x00\x00\x00\x0C\x00\x00\x00\x02\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -14;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x04\xB2\x3A\x0B\x88\x01\xB4\x01\x20\x91\x04\x07\x02\x24\x20\xE2\x15\x0D\x10\x0F\x10\x11\x11\x11\x11\x11\x12\x13\x13\x13\x14\x14\x14\x15\x15\x15\x15\x16\x16\x16\x17\x17\x17\x17\x18\x18\x18\x18\x19\x19\x19\x19\x1A\x1A\x1A\x1A\x1A\x1A\x1B\x1B\x1B\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -15;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x04\xEC\x3A\x0B\x1C\x1C\x1C\x1C\x1C\x1C\x1C\x1D\x1D\x1D\x1E\x1D\x1E\x1E\x1E\x1E\x1E\x1E\x1F\x1F\x1F\x1F\x1E\x1F\x1F\x20\x20\x1F\x20\x20\x20\x21\x20\x21\x20\x21\x20\x20\x20\x21\x20\x21\x20\x21\x21\x21\x21\x21\x22\x21\x21\x22\x21\x22\x21\x22\x22\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -16;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x05\x26\x3A\x0B\x22\x22\x22\x21\x22\x22\x22\x21\x22\x22\x22\x21\x22\x21\x22\x21\x21\x21\x22\x21\x21\x21\x21\x22\x22\x21\x22\x22\x21\x21\x21\x21\x21\x21\x21\x21\x21\x20\x20\x21\x20\x20\x20\x20\x20\x20\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -17;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x05\x60\x3A\x0B\x1F\x1F\x1F\x1F\x1F\x1F\x1E\x1E\x1E\x1E\x1F\x1F\x1F\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1F\x1E\x1E\x1E\x1E\x1D\x1D\x1D\x1D\x1D\x1D\x1D\x1D\x1D\x1C\x1D\x1D\x1D\x1C\x1C\x1C\x1C\x1C\x1C\x1C\x1B\x1B\x1C\x1C\x1B\x1B\x1B\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -18;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x05\x9A\x3A\x0B\x1B\x1B\x1B\x1A\x1B\x1B\x1A\x1A\x1A\x1B\x1B\x1B\x1B\x1A\x19\x1A\x1A\x1A\x1A\x19\x1A\x1A\x1A\x19\x19\x19\x19\x19\x19\x18\x19\x18\x18\x19\x18\x17\x18\x17\x17\x17\x17\x17\x17\x17\x17\x16\x17\x16\x16\x15\x15\x16\x15\x16\x15\x15\x14\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -19;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x05\xD4\x2C\x0B\x14\x15\x14\x14\x14\x13\x13\x13\x12\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x6E\x12\x00\x2B\xC5\xA9\x00\x64\x00\x00\x00\x7C\xEF\x12\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -20;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x01\x68\x0A\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xD0\xFD\x7F\xDC\x6D\x12\x00\x2A\x26\x80\x7C\x98\x6D\x12\x00\x00\x26\x80\x7C\xB8\x00\x00\x00\x0C\x80\x01\x10\x90\x3E\x94\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -21;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x03\xB4\x3A\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1E\x1E\x1E\x1E\x1F\x1F\x1F\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1F\x1E\x1E\x1E\x1E\x1D\x1D\x1D\x1D\x1D\x1D\x1D\x1D\x1D\x1C\x1D\x1D\x1D\x1C\x1C\x1C\x1C\x1C\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -22;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x03\xEE\x06\x0B\x00\x00\x00\x00\x00\x00\x85\xB7\xA9\x00\xB8\x00\x00\x00\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xB8\x00\x00\x00\x18\x70\x12\x00\x2B\xC5\xA9\x00\x64\x00\x00\x00\xD4\xF0\x12\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -23;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x07\x00\x20\x00\x3a\x32\x2b\x07\x2e\x29\x07\x2b\x27\x07\x27\x25\x07\x23\x23\x07\x20\x21\x07\x1c\x1d\x07\x19\x1a\x07\x15\x17\x07\x12\x15\x07\x0e\x14\x07\x12\x17\x07\x15\x19\x07\x19\x1c\x07\x1c\x1f\x07\x20\x23\x07\x23\x25\x07\x27\x27\x07\x2b\x29\x07\x2e\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -24;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x07\x00\x20\x3a\x26\x2b\x07\x32\x2d\x07\x32\x2f\x07\x2e\x2d\x07\x2b\x2b\x07\x27\x29\x07\x23\x27\x07\x20\x25\x07\x1c\x22\x07\x19\x1e\x07\x15\x1b\x07\x12\x19\x07\x0e\x16\x07\x07\x19\x1c\x07\x1c\x1f\x07\x20\x23\x07\x23\x25\x07\x27\x27\x07\x2b\x29\x07\x2e\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -25;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x06\x0e\x81\x0e\x81\x09\x4d\x00\x00\x00\x00\x00\x26\x00\x00\x00\x07\x00\x20\x3a\x26\x2b\x07\x32\x2d\x07\x32\x2f\x07\x2e\x2d\x07\x2b\x2b\x07\x27\x29\x07\x23\x27\x07\x20\x25\x07\x1c\x22\x07\x19\x1e\x07\x15\x1b\x07\x12\x19\x07\x0e\x16\x07\x07", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -26;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x3a\x00\x01\x02\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1f\x20\x21\x22\x23\x24\x27\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3a\x3d\x3f\xff\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -27;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\x0e\x85\x00\x00\x00\x00\x00\x26\x00\x00\x00\x07\x00\x20\x3a\x26\x2b\x07\x32\x2d\x07\x32\x2f\x07\x2e\x2d\x07\x2b\x2b\x07\x29\x07\x23\x27\x07\x20\x25\x07\x1c\x22\x07\x19\x1e\x07\x15\x1b\x07\x12\x19\x07\x1f\x0e\x16\x07\x07\x19\x1c\x07\x1c", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -28;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x01\x0d\x62\x62\x51\x6c\x00\x00\x00\x00\x00\x40\x3a\x41\x0e\x2b\x00\x00\x00\x00\x78\xf1\x12\x00\x1a\xaa\xa7\x1f\x00\x3a\x09\x00\x00\x00\x12\x41\x0e\x2b\x00\x00\x00\x00\x00\x00\x00\x00\x4c\xf1\x12\x00\x89\xae\xa9\x00\x00\x00\x00\x00\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -29;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\x20\x6C\x00\x00\x00\x00\x00\x26\x00\x00\x00\x07\x00\x20\x3A\x26\x2B\x07\x32\x2D\x07\x32\x2F\x07\x2E\x2D\x07\x2B\x2B\x07\x27\x29\x07\x23\x27\x07\x20\x25\x07\x1C\x22\x07\x19\x1E\x07\x15\x1B\x07\x12\x19\x07\x0E\x16\x07\x07\x19\x1C\x07\x1C", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -30;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x01\xF9\x6C\x6C\x6C\x6C\x40\x40\x2E\x6D\x64\xED\x00\x00\x00\x00\x00\x00\x00\x00\x4C\xF1\x12\x00\x89\xAE\xA9\x00\x03\x00\x00\x00\x00\x00\x00\x00\xE8\x3D\xAC\x00\x02\x00\x00\x00\x00\x00\x00\x00\x68\xF1\x12\x00\x14\xAB\xA7\x00\x03\x00\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -31;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\xF9\x00\x00\x26\x00\x00\x00\x07\x00\x20\x3A\x26\x2B\x07\x32\x2D\x07\x32\x2F\x07\x2E\x2D\x07\x2B\x2B\x07\x27\x29\x07\x23\x27\x07\x20\x25\x07\x1C\x22\x07\x19\x1E\x07\x15\x1B\x07\x12\x19\x07\x0E\x16\x07\x07\x19\x1C\x07\x1C\xBA\xEC\x64\xED", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -32;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x16\x1C\x13\x1B\x0B\x1A\x0A\x30\x08\x09\x6D\x08\xA7\x00\x9E\x00\x1E\x0C\x08\x1D\x04\x23\x42\x2F\x07\x2E\x2D\x07\x2B\x2B\x07\x27\x29\x07\x23\x27\x07\x20\x25\x07\x1C\x22\x07\x19\x1E\x07\x15\x1B\x07\x12\x19\x07\x0E\x16\x07\x07\x19\x1C\x07\x1C", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -33;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x3A\x00\x01\x02\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1F\x20\x21\x22\x23\x24\x27\x28\x29\x2A\x2B\x2C\x2D\x2E\x2F\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3A\x3D\x3F\xFF\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -34;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\x0D\xFF\x30\x08\x09\x6D\x08\xA7\x00\x9E\x00\x1E\x0C\x08\x1D\x04\x23\x42\x2F\x07\x2E\x2D\x07\x2B\x2B\x07\x27\x29\x07\x23\x27\x07\x20\x25\x07\x1C\x22\x07\x19\x1E\x07\x15\x1B\x07\x12\x19\x07\x0E\x16\x07\x07\x19\x1C\x07\x1C\xBA\xEC\x64\xED", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -35;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x01\xF7\x64\xED\x00\x00\x00\x00\x7C\xF1\x12\x00\x1A\xAA\xA7\x00\x3A\x00\x00\x00\x2A\x6D\x64\xED\x00\x00\x00\x00\x00\x00\x00\x00\x50\xF1\x12\x00\x89\xAE\xA9\x00\x03\x00\x00\x00\x00\x00\x00\x00\xE8\x3D\xAC\x00\x02\x00\x00\x00\x00\x00\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -36;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x01\xF7\xA9\x00\x02\xFA\x3F\x05\x05\xC2\x85\xA6\xA7\x6D\x10\x10\x08\xFF\x85\x6C\x00\x00\xCF\x00\x01\x00\x00\x1F\x01\x01\x0A\x0B\x13\x04\x6C\x6C\x6C\x6C\x42\x42\x42\x42\x42\x42\x42\x42\x42\x42\x6C\x08\x00\x00\x00\x00\x40\x42\x42\x42\x42\x42", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -37;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\xF7\xF3\x00\x00\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x02\x0D\xFF\x30\x08\x09\x6D\x08\xA7\x00\x9E\x00\x1E\x0C\x08\x1D\x04\x23\x42\x2F\x07\x2E\x2D\x07\x2B\x2B\x07\x27\x29\x07\x23\x27\x07\x20\x25\x07\x1C\x22\x07\x19\x1E\x07\x15\x1B", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -38;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x01\xF0\x00\x00\x00\x00\x00\x00\xE8\x3D\xAC\x00\x02\x00\x00\x00\x00\x00\x00\x00\x5C\xF1\x12\x00\x14\xAB\xA7\x00\x03\x00\x00\x00\x5C\xF1\x12\x00\x20\xAB\xA7\x00\x58\xF1\x12\x00\x08\x00\x00\x00\x99\xA9\xA7\x00\xE8\x3D\xAC\x00\x00\x00\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -39;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\xF0\x8F\x2F\x07\x2E\x2D\x07\x2B\x2B\x07\x27\x29\x07\x23\x27\x07\x20\x25\x07\x1C\x22\x07\x19\x1E\x07\x15\x1B\x07\x12\x19\x07\x82\xEC\x64\xED\x24\xF1\x12\x00\xFA\xCB\xA9\x00\x03\x00\x00\x00\x00\x00\x00\x00\xEA\x3D\xAC\x00\xBD\xCC\xA9\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -40;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x08\x00\x00\x00\x0A\x00\x00\xCF\x00\x01\x00\x00\x1F\x01\x01\x00\x0C\xCF\xA9\x00\x74\x70\x12\x00\x40\x00\x00\x00\x1C\xCF\xA9\x00\x00\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x02\xF0\x8F\x2F\x07\x2E\x2D\x07\x2B\x2B\x07\x27\x29\x07\x23\x27\x07\x20\x25\x07", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -41;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x06\x0E\x85\x09\xED\x09\x6D\x2F\x07\x2E\x2D\x07\x2B\x2B\x07\x27\x29\x07\x23\x27\x07\x20\x25\x07\x1C\x22\x07\x19\x8A\xEC\x64\xED\x1C\xF1\x12\x00\xFA\xCB\xA9\x00\x08\x00\x00\x00\x00\x00\x00\x00\x72\xF1\x12\x00\xBD\xCC\xA9\x00\x0A\x00\x00\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -42;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x3A\x00\x01\x02\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1F\x20\x21\x22\x23\x24\x27\x28\x29\x2A\x2B\x2C\x2D\x2E\x2F\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3A\x3D\x3F\xFF\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -43;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\x09\xED\x2F\x07\x2E\x2D\x07\x2B\x2B\x07\x27\x29\x07\x23\x27\x07\x20\x25\x07\x1C\x22\x07\x19\x8A\xEC\x64\xED\x1C\xF1\x12\x00\xFA\xCB\xA9\x00\x08\x00\x00\x00\x00\x00\x00\x00\x72\xF1\x12\x00\xBD\xCC\xA9\x00\x0A\x00\x00\x00\xBD\xCC\xA9\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -44;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x01\xF3\x00\x00\x8C\xF1\x12\x00\x1A\xAA\xA7\x00\x3A\x00\x00\x00\x5A\x6D\x64\xED\x00\x00\x00\x00\x00\x00\x00\x00\x60\xF1\x12\x00\x89\xAE\xA9\x00\x03\x00\x00\x00\x00\x00\x00\x00\xE8\x3D\xAC\x00\x02\x00\x00\x00\x00\x00\x00\x00\x7C\xF1\x12\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -45;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x84\x00\x00\x00\x32\x02\xE0\xAD\x00\xFC\xDF\xAD\x00\xDB\xDF\xAD\x00\xBA\xDF\xAD\x00\x99\xDF\x6F\x44\xC2\xE8\x20\x65\x73\x83\xAC\xD7\x88\x6D\x59\x61\xE0\x3B\x3D\xB7\xF4\xDE\xAD\x00\xD3\xDE\xAD\x00\xB2\xDE\xAD\x00\x91\xDE\x00\xA6\xEC\x64\xED\xA2\xEC\x64\xED", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -46;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x06\x1A\x0A\x1B\x0B\x1C\x13\x00\x00\x00\x00\x00\x92\xD5\x90\x7C\xBB\x9B\x80\x7C\xB8\x00\x00\x00\xAC\x70\x12\x00\x85\xB7\xA9\x00\xB8\x00\x00\x00\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -47;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x08\x00\x00\x00\x0A\x00\x00\xCF\x00\x01\x00\x00\x1F\x01\x01\x00\x00\x00\x00\x00\xB8\x00\x00\x00\x4C\x70\x12\x00\xEB\xC4\xA9\x00\x64\x00\x00\x00\x68\x70\x12\x00\x40\x00\x00\x00\xE8\x03\x00\x00\x00\x00\x00\x00\xB0\x70\x12\x00\x0C\xCF\xA9\x00\x68\x70\x12\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -48;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x01\x0D\x00\x00\xCF\x00\x00\x00\x00\x00\x00\x00\x1F\x01\x00\x00\x20\x01\x00\x00\xD0\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\xA6\xB5\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x94\x00\x00\x00\x05\x00\x00\x00\x01\x00\x00\x00\x28\x6F\x44\xC2", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -49;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x04\x78\x3A\x00\x00\x00\x00\x00\xD0\xFD\x7F\x94\xF0\x12\x00\x2A\x26\x80\x7C\x50\xF0\x12\x00\x00\x26\x80\x7C\x08\x00\x00\x00\x0C\x80\x01\x10\x90\x3E\x94\x00\x14\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x80\x69\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -50;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x04\xB2\x3A\x0B\x88\x01\xB4\x01\x20\x91\x04\x07\x02\x24\x20\xE2\x15\x0D\x10\x0F\x10\x11\x11\x11\x11\x11\x12\x13\x13\x13\x14\x14\x14\x15\x15\x15\x15\x16\x16\x16\x17\x17\x17\x17\x18\x18\x18\x18\x19\x19\x19\x19\x1A\x1A\x1A\x1A\x1A\x1A\x1B\x1B\x1B\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -51;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x04\xEC\x3A\x0B\x1C\x1C\x1C\x1C\x1C\x1C\x1C\x1D\x1D\x1D\x1E\x1D\x1E\x1E\x1E\x1E\x1E\x1E\x1F\x1F\x1F\x1F\x1E\x1F\x1F\x20\x20\x1F\x20\x20\x20\x21\x20\x21\x20\x21\x20\x20\x20\x21\x20\x21\x20\x21\x21\x21\x21\x21\x22\x21\x21\x22\x21\x22\x21\x22\x22\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -52;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x05\x26\x3A\x0B\x22\x22\x22\x21\x22\x22\x22\x21\x22\x22\x22\x21\x22\x21\x22\x21\x21\x21\x22\x21\x21\x21\x21\x22\x22\x21\x22\x22\x21\x21\x21\x21\x21\x21\x21\x21\x21\x20\x20\x21\x20\x20\x20\x20\x20\x20\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x1F\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -53;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x05\x60\x3A\x0B\x1F\x1F\x1F\x1F\x1F\x1F\x1E\x1E\x1E\x1E\x1F\x1F\x1F\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1E\x1F\x1E\x1E\x1E\x1E\x1D\x1D\x1D\x1D\x1D\x1D\x1D\x1D\x1D\x1C\x1D\x1D\x1D\x1C\x1C\x1C\x1C\x1C\x1C\x1C\x1B\x1B\x1C\x1C\x1B\x1B\x1B\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -54;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x05\x9A\x3A\x0B\x1B\x1B\x1B\x1A\x1B\x1B\x1A\x1A\x1A\x1B\x1B\x1B\x1B\x1A\x19\x1A\x1A\x1A\x1A\x19\x1A\x1A\x1A\x19\x19\x19\x19\x19\x19\x18\x19\x18\x18\x19\x18\x17\x18\x17\x17\x17\x17\x17\x17\x17\x17\x16\x17\x16\x16\x15\x15\x16\x15\x16\x15\x15\x14\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -55;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x05\xD4\x2C\x0B\x14\x15\x14\x14\x14\x13\x13\x13\x12\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x6F\x12\x00\x2B\xC5\xA9\x00\x64\x00\x00\x00\x2C\xF0\x12\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -56;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x01\xF7\x1C\x1C\x1B\x1B\x1C\x1C\x1B\x1B\x1B\x1B\x1B\x1B\x1B\x1A\x1B\x1B\x1A\x1A\x1A\x1B\x1B\x1B\x1B\x1A\x19\x1A\x1A\x1A\x1A\x19\x1A\x1A\x1A\x19\x19\x19\x19\x19\x19\x18\x19\x18\x18\x19\x18\x17\x18\x17\x17\x17\x17\x17\x17\x17\x17\x16\x17\x16", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -57;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\xF7\xF3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -58;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x04\x3D\x40\x0A\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x52\xED\x64\xED\xD4\xF1\x12\x00\xFA\xCB\xA9\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -59;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x3A\x00\x01\x02\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1F\x20\x21\x22\x23\x24\x27\x28\x29\x2A\x2B\x2C\x2D\x2E\x2F\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3A\x3D\x3F\xFF\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -60;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\x0A\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x52\xED\x64\xED\xD4\xF1\x12\x00\xFA\xCB\xA9\x00\x03\x00\x00\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -61;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x00\xA8\x3A\x00\x00\x00\x00\xDC\x00\xEA\x00\x20\xED\x12\x00\x0C\x00\x0E\x00\x00\xDC\xFD\x7F\x20\xED\x12\x00\x05\x00\x00\x00\xA0\x20\x15\x00\xC8\x00\x00\x01\x43\x00\x3A\x00\x5C\x00\x44\x00\x6F\x00\x63\x00\x75\x00\x6D\x00\x65\x00\x6E\x00\x74\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -62;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x00\xE2\x3A\x0B\x07\xA5\x03\x2F\x63\x97\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -63;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x01\x1C\x3A\x0B\x00\x00\x00\x00\x00\x00\x12\x75\xB3\x05\xE2\xBC\x74\x68\xAD\xAC\x7B\xB1\xF8\x52\xD5\x8F\xF7\x03\x00\x00\x06\xA5\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -64;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x01\x56\x3A\x0B\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -65;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x01\x90\x3A\x0B\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\xA5\x00\x22\x8E\xA3\x00\x00\x0E\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x4C\xA5\xC8\xC8\x41\x50\x52\x39\x07\x01\x00\x5F\x00\x00\xFF\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -66;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x01\xCA\x3A\x0B\x01\x48\x34\x33\x00\x00\x00\x00\x76\x3E\x84\x10\x2E\x48\x54\x0D\x98\x4C\x14\x12\x72\x7A\x88\x0F\x9F\x84\x98\x03\x52\xA6\xA4\x0A\x6E\xA8\x54\x0C\x13\xB6\xE8\x0A\x77\xC0\x94\x04\x73\xC6\x14\x07\x80\xCA\xA8\x08\x31\xD2\x44\x09\x1E\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -67;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x02\x04\x3A\x0B\x74\x09\x7A\xE4\x78\x17\xA5\xE4\x24\x09\x45\xE8\x68\x07\xBA\xEC\xE8\x05\xC2\xF0\x58\x16\x78\xF6\x98\x15\x7C\xFC\xB8\x19\xAD\xFC\x74\x09\x8C\x02\x39\x0D\x36\x06\x99\x06\x9B\x08\x09\x0B\xA1\x0C\x25\x19\x57\x10\x29\x05\x1A\x1C\x45\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -68;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x02\x3E\x3A\x0B\x55\x1E\x69\x16\xA4\x24\xB9\x09\x1C\x44\x55\x08\x9C\x44\xC9\x0B\x9F\x4A\xF9\x19\x4C\x4C\xF9\x13\x5E\x50\x09\x13\xB7\x6A\x09\x0A\x7C\x7A\x75\x0F\x0E\x7E\x95\x00\x81\xA6\x99\x0E\xC0\xAE\xE5\x19\xA0\xCC\x35\x0D\x63\xE2\x85\x1F\x8E\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -69;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x02\x78\x3A\x0B\x35\x1D\xC1\xE8\xA9\x0C\x7A\x06\xCA\x0E\xAD\x12\xD6\x1C\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 ", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -70;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x02\xB2\x2A\x0B\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x40\x6C\x12\x00\x2B\xC5\xA9\x00\x64\x00\x00\x00\xFC\xEC\x12\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -71;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x01\xF1\x42\x42\x40\x6C\x00\x00\x00\x00\x00\x40\xCE\x6D\x64\xED\x00\x00\x00\x00\x30\xF2\x12\x00\x1A\xAA\xA7\x00\x3A\x00\x00\x00\xF6\x6D\x64\xED\x00\x00\x00\x00\x00\x00\x00\x00\x04\xF2\x12\x00\x89\xAE\xA9\x00\x03\x00\x00\x00\x00\x00\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -72;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\xF1\x01\x00\x1C\xCF\xA9\x00\x00\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x02\x0A\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -73;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x00\xFC\x3A\x1E\xDC\x74\x09\x7A\xE4\x78\x17\xA5\xE4\x24\x09\x45\xE8\x68\x07\xBA\xEC\xE8\x05\xC2\xF0\x58\x16\x78\xF6\x98\x15\x7C\xFC\xB8\x19\xAD\xFC\x74\x09\x8C\x02\x39\x0D\x36\x06\x99\x06\x9B\x08\x09\x0B\xA1\x0C\x25\x19\x57\x10\x29\x05\x1A\x1C\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -74;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x8B\x00\x01\x36\x2E\x0B\x06\xA5\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x2B\xC5\xA9\x00\x64\x00\x00\x00\xD8\xEE\x12\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -75;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x01\xF0\xAC\x00\xF0\xF1\x12\x00\x6A\xB1\xA7\x00\x00\x00\x00\x00\x06\xA5\x00\x01\x00\x00\x12\x00\x14\xAB\xA7\x00\x03\x00\x00\x00\x0C\xF2\x12\x00\x20\xAB\xA7\x00\x08\xF2\x12\x00\x08\x00\x00\x00\x99\xA9\xA7\x00\xE8\x3D\xAC\x00\x00\x00\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -76;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\xF0\x8F\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x52\xED\x64\xED\xD4\xF1\x12\x00\xFA\xCB\xA9\x00\x03\x00\x00\x00\x00\x00\x00\x00\xEA\x3D\xAC\x00\xBD\xCC\xA9\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -77;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x01\xF7\x12\x00\x88\xC4\xA9\x00\xD8\xF1\x12\x00\x40\x00\x00\x00\xBB\xC4\xA9\x00\x02\x00\x3F\x05\x0B\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xEA\x6D\x64\xED\x00\x00\x00\x00\x00\x00\x00\x00\x10\xF2\x12\x00\x89\xAE\xA9\x00\x03\x00\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -78;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x01\xF7\xA9\x00\x02\xFA\x3F\x05\x0B\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -79;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\xF7\xF3\x00\x0C\xCF\xA9\x00\x24\x71\x12\x00\x40\x00\x00\x00\x1C\xCF\xA9\x00\x00\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x02\xF0\x8F\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -80;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x01\xFB\x00\x00\x00\x00\x00\x00\xF0\xF1\x12\x00\x89\xAE\xA9\x00\x03\x00\x00\x00\x00\x00\x00\x00\xE8\x3D\xAC\x00\x02\x00\x00\x00\x00\x00\x00\x00\x0C\xF2\x12\x00\x14\xAB\xA7\x00\x03\x00\x00\x00\x0C\xF2\x12\x00\x20\xAB\xA7\x00\x08\xF2\x12\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -81;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\xFB\x0F\x00\x00\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x02\xF0\x8F\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x52\xED\x64\xED\xD4\xF1\x12\x00\xFA\xCB\xA9\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -82;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x3A\x00\x01\x02\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1F\x20\x21\x22\x23\x24\x27\x28\x29\x2A\x2B\x2C\x2D\x2E\x2F\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3A\x3D\x3F\xFF\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -83;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\x07\xA4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x52\xED\x64\xED\xD4\xF1\x12\x00\xFA\xCB\xA9\x00\x03\x00\x00\x00\x42\xED\x64\xED\xE4\xF1\x12\x00\xFA\xCB\xA9\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -84;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x08\x00\x00\x00\x0A\x00\x00\xCF\x00\x01\x00\x00\x1F\x01\x01\x00\xEB\xC4\xA9\x00\x64\x00\x00\x00\x24\x71\x12\x00\x40\x00\x00\x00\xE8\x03\x00\x00\x00\x00\x00\x00\x6C\x71\x12\x00\x0C\xCF\xA9\x00\x24\x71\x12\x00\x40\x00\x00\x00\x1C\xCF\xA9\x00\x00\x00\x00\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -85;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x3A\x00\x01\x02\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1F\x20\x21\x22\x23\x24\x27\x28\x29\x2A\x2B\x2C\x2D\x2E\x2F\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3A\x3D\x3F\xFF\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -86;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+</div><div>+</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x3A\x00\x01\x02\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1F\x20\x21\x22\x23\x24\x27\x28\x29\x2A\x2B\x2C\x2D\x2E\x2F\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3A\x3D\x3F\xFF\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -87;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\x00\x21\x00\x02\x00\x00\x00\x36\xED\x64\xED\xB0\xF1\x12\x00\xFA\xCB\xA9\x00\x08\x00\x00\x00\x00\x00\x00\x00\x06\xF2\x12\x00\xBD\xCC\xA9\x00\x0A\x00\x00\x00\x00\x00\x00\x00\x52\xED\x64\xED\xFC\xF1\x12\x00\x0A\x00\x00\x00\x06\xF2\x12\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -88;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x3A\x00\x01\x02\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1F\x20\x21\x22\x23\x24\x27\x28\x29\x2A\x2B\x2C\x2D\x2E\x2F\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3A\x3D\x3F\xFF\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -89;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x3A\x00\x01\x02\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1F\x20\x21\x22\x23\x24\x27\x28\x29\x2A\x2B\x2C\x2D\x2E\x2F\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3A\x3D\x3F\xFF\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -90;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x03\x00\x00\x00\x02\x00\x20\x00\x02\x00\x00\x00\x36\xED\x64\xED\xB0\xF1\x12\x00\xFA\xCB\xA9\x00\x08\x00\x00\x00\x00\x00\x00\x00\x06\xF2\x12\x00\xBD\xCC\xA9\x00\x0A\x00\x00\x00\x00\x00\x00\x00\x52\xED\x64\xED\xFC\xF1\x12\x00\x0A\x00\x00\x00\x06\xF2\x12\x00", 0x00, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -91;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( askScanner( dev, "\x82\x00\x00\x00\x3A\x00\x01\x02\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1F\x20\x21\x22\x23\x24\x27\x28\x29\x2A\x2B\x2C\x2D\x2E\x2F\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3A\x3D\x3F\xFF\x00", 0x40, NULL ) < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return -92;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>};</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>return 0;</div><div>+}</div><div>+</div><div>+static int DetectFinger( struct fp_img_dev *dev ) {</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>sint32 nRet = 0;</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>uint8 *pnData = NULL;</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>pnData = g_malloc( SENSOR_FULL_IMAGE );</div><div>
+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>nRet = askScanner( dev, anScanCommand, SENSOR_FULL_IMAGE, pnData );</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( nRet != SENSOR_FULL_IMAGE ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>nRet = 0;</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>goto end;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>}</div>
<div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>nRet = ValidScan( pnData );</div><div>+</div><div>+end:</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>g_free( pnData );</div>
<div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>return nRet;</div><div>+}</div><div>+</div><div>+static int awaitFingerOn( struct fp_img_dev *dev ) {</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>int nRet = 0;</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>int nCount = WAIT_COUNT;</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>/* wait until a finger is present */</div><div>
+<span class="Apple-tab-span" style="white-space:pre">        </span>do {</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>nRet = DetectFinger( dev );</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>} while ( nRet == 0 );</div>
<div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>/* give user time to scan his full finger */</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>while ( nCount-- ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>nRet = DetectFinger( dev );</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>return nRet != 1 ? nRet : 0;</div>
<div>+}</div><div>+</div><div>+static int capture( struct fp_img_dev *dev, gboolean unconditional, struct fp_img **ppsRet ) {</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>struct fp_img *psImg = NULL;</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>uint8 *pnData = NULL;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>sint32 nRet = 0;</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>psImg = fpi_img_new_for_imgdev( dev );</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>pnData = g_malloc( SENSOR_FULL_IMAGE );</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>nRet = askScanner( dev, anScanCommand, SENSOR_FULL_IMAGE, pnData );</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( nRet == SENSOR_FULL_IMAGE ) {</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>memcpy( psImg -> data, pnData, SENSOR_FULL_IMAGE );</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>*ppsRet = psImg;</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>nRet = 0;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>} else {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>nRet = -1;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>g_free( pnData );</div>
<div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>return nRet;</div><div>+}</div><div>+</div><div>+static int dev_init( struct fp_img_dev *dev, unsigned long driver_data ) {</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>int nResult;</div>
<div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>nResult = libusb_claim_interface( dev -> udev, 0 );</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>if ( nResult < 0 ) {</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>fp_err( "could not claim interface 0" );</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>return nResult;</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>}</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>nResult = SetupSensor( dev );</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>return nResult;</div><div>+}</div><div>+</div><div>+static void dev_exit( struct fp_img_dev *dev ) {</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>libusb_release_interface( dev -> udev, 0 );</div>
<div>+}</div><div>+</div><div>+static const struct usb_id id_table[] = {</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>{ .vendor = 0x147e, .product = 0x3001 },</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>{ 0, 0, 0, },</div>
<div>+};</div><div>+</div><div>+struct fp_img_driver upeket_driver = {</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>.driver = {</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>.id = 5,</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>.name = FP_COMPONENT,</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>.full_name = "UPEK EikonTouch 300",</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>.id_table = id_table,</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>scan_type = FP_SCAN_TYPE_PRESS,</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>},</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>.flags = FP_IMGDRV_SUPPORTS_UNCONDITIONAL_CAPTURE,</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>.img_height = 288,</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>.img_width = 208,</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>.bz3_threshold = 30,</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>.init = dev_init,</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>.exit = dev_exit,</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>.await_finger_on = awaitFingerOn,</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>.capture = capture,</div><div>+};</div><div>diff --git a/libfprint/fp_internal.h b/libfprint/fp_internal.h</div><div>index e6134d4..080a048 100644</div><div>
--- a/libfprint/fp_internal.h</div><div>+++ b/libfprint/fp_internal.h</div><div>@@ -244,6 +244,9 @@ extern struct fp_driver upeke2_driver;</div><div> #ifdef ENABLE_UPEKTC</div><div> extern struct fp_img_driver upektc_driver;</div>
<div> #endif</div><div>+#ifdef ENABLE_UPEKET</div><div>+extern struct fp_img_driver upeket_driver;</div><div>+#endif</div><div> #ifdef ENABLE_UPEKSONLY</div><div> extern struct fp_img_driver upeksonly_driver;</div><div> #endif</div>
</div><div><br></div><div><br><div class="gmail_quote">On Wed, Jan 25, 2012 at 12:08 AM, Patrick Marlier <span dir="ltr"><<a href="mailto:patrick.marlier@gmail.com">patrick.marlier@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 01/24/2012 10:55 AM, MOGANESHWARAN RAJASEGARAN wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi,<br>
I am having trouble creating the diff file for the newly written source<br>
file for eikontouch 300. I named it upeket.c. The source code is based<br>
on upektc.c. So how to create the diff file if there is no other source<br>
file to diff it? Or should I use upektc.c to create the diff file. And<br>
how about other source file such as core.c fp_internal.h <a href="http://configure.ac" target="_blank">configure.ac</a><br></div>
<<a href="http://configure.ac" target="_blank">http://configure.ac</a>> and <a href="http://makefile.in" target="_blank">makefile.in</a> <<a href="http://makefile.in" target="_blank">http://makefile.in</a>>. Should I<div class="im">
<br>
create the diff for the latter two also?<br>
</div></blockquote>
<br>
First, do you use the git of libfprint? if not, I advice you to do it.<br>
When done, copy your files into your git directory, use 'git add libprint/drivers/upeket.c libfprint/core.c libfprint/fp_internal.h <a href="http://configure.ac" target="_blank">configure.ac</a> Makefile.in', and then you can use 'git diff' to get your unified diff.<br>
<br>
Hope it helps you.<span class="HOEnZb"><font color="#888888"><br>
<br>
Patrick.<br>
</font></span></blockquote></div><br></div></div>