Verifone e355 iOS integration - unable to trigger barcode scanner with soft mode

421 Views Asked by At

I'm working in a POS(iPad) application where we are using Verifone E355 for payments. Now I have a requirement to trigger the barcode scanner of verifone e355 device(https://www.verifone.com/en/us/devices/mpos/e355) through software from iPad.

VMF(Verifone mobile framework) iOS sdk is being used to communicate calls with E355.

I have followed the framework docs and initialised the barcode scanner API. To activate the barcode scanner and scan the below code snippet is used.

I always get a return of -9 (which is an error code, description as per docs - Value returned when command was sent when device is connected but not connection not initialized) upon calling startScan and sendTriggerEvent: api's.

[self.barcodeScanner initDevice];
int startScanResult = [self.barcodeScanner startScan]
int setSoftTrigger = [self.barcodeScanner sendTriggerEvent:true];

The above code block is what I have tried till now. If anyone has experience working with e355 integration, please help out here.

1

There are 1 best solutions below

4
pratibha reshmi On

you need to confirm to the delegate of VFIBarcode and once you scan you will get response from barcodeScanData delegate method.