File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const connectButtonHandler = async () => {
3030 service . hubProxy ?. on ( 'OnProcessingFinished' , responseListener ) ;
3131
3232 // If you have multiple RFID readers, you can choose the one you need, just specify its index.
33- // await service.current. setPropertyValue('ActiveRFIDDeviceIdx', 0);
33+ // await service.setPropertyValue('ActiveRFIDDeviceIdx', 0);
3434 await service . setPropertyValue ( 'AutoScan' , 'false' ) ;
3535
3636 toggleButtons ( true ) ;
@@ -44,9 +44,9 @@ const disconnectButtonHandler = () => {
4444} ;
4545
4646const processButtonHandler = async ( ) => {
47+ await service . clearResults ( ) ;
4748 // The MRZ of the document must be installed to read the RFID data. Replace DOCUMENT_MRZ with the real MRZ string.
4849 await service . setPropertyValue ( 'RFIDMRZ' , 'DOCUMENT_MRZ' ) ;
49- await service . clearResults ( ) ;
5050 await service . waitAndReadRFID ( ) ;
5151
5252 processButton . disabled = true ;
You can’t perform that action at this time.
0 commit comments