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.
您需要向VFIBarcode的委托人进行确认,一旦进行扫描,您将获得条形码扫描数据委托人方法的响应。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.