question

paulryan avatar image
paulryan asked paulryan commented

USB pay display recovery issue.

Hi David,

Could you support me with the below,

Currently working on semi-integration , Clover Mini through USB on .Net EPOS.

Trying to recover from a USB disconnect after an amount was sent to clover mini

1.) After initialization


2.) Initiate sale:

3.) Then remove USB cable (triggering OnDeviceDisconnected):

4.) Plug USB cable back in (triggering onDeviceConnected, followed by OnDeviceError)

A device reset is attempted, but this also results in an OnDeviceError.

I'm unable to reestablish communication with the Clover device.








semi-integrations
6 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

paulryan avatar image paulryan commented ·

User selected proceed to checkout. Adding photo #2051 to the current order at price 1500. Basket total is now 1500. User is proceeding to checkout. Device status request, resend last message = FALSE. Waiting for device status response 3... [OnRetrieveDeviceStatusResponse] IDLE : {} Device status request complete. Device status is IDLE. Proceeding with payment. Processing sale request for amount 1500 with external Id 9wTvlGtkx9bQL6TLC2AAJH6QO4YI7BN2. [OnDeviceActivityStart] PROCESSING, Processing…, Buttons=0. [OnDeviceActivityEnd ] PROCESSING, Processing…, Buttons=0. [OnDeviceActivityStart] CONFIGURING, Processing…, Buttons=0. [OnDeviceActivityEnd ] CONFIGURING, Processing…, Buttons=0. [OnDeviceActivityStart] START, Customer is choosing payment method…, Buttons=1[Cancel]. [OnDeviceDisconnected] Clover device has disconnected. [OnDeviceDisconnected] Clover device has disconnected. [OnDeviceConnected] Device is connecting. [OnDeviceError] ErrorCode: IoTimedOut The Clover transport layer can see the USB device, but encountered an error when attempting to send it a message. Try physically disconnecting/reconnecting the Clover device.. Resetting the device. [OnDeviceError] In ResetDevice: The Clover device is not connected.. No response to reset device request, reinitializing CloverConnection. Initializing Clover connector... Remote ApplicationID is com.clover.CloverExamplePOS:1.4.2. Clover connector object already exists. Disposing... [OnDeviceDisconnected] Clover device has disconnected. Initialized Clover connector. Device reset already attempted. [OnDeviceConnected] Device is connecting. [OnDeviceError] ErrorCode: IoTimedOut The Clover transport layer can see the USB device, but encountered an error when attempting to send it a message. Try physically disconnecting/reconnecting the Clover device.. Device reset already attempted.
0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ paulryan commented ·

What version of the SDK are you using? Is this a sandbox or production device? If it is a production device I would recommend sending the device logs (Help app -> Menu -> Diagnostics -> Send device logs). This must be done right after the error is reproduced. If it is a sandbox device, I recommend grabbing the logs via ADB.

0 Likes 0 ·
paulryan avatar image paulryan David Marginian ♦♦ commented ·
Both production and sandbox
0 Likes 0 ·
Show more comments

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community