Handling dual responses from device

On sending “Load Slot” command to the device, device can respond back with following options

Two responses one after the other.

  1. Slot loading in progress – Slot can be loaded. Loading in progress.
  2. Slot loaded successfully.

 

Two responses one after the other.

  1. Slot loading in progress – Slot can be loaded. Loading in progress.
  2. Slot loading failed.

 

Single Error response – Slot loading failed

 

In first two cases user will be blocked from doing any action in GTT between first response and second response. Following progress dialog will be displayed.

If the second response is not received before 15 seconds, GTT will unblock itself with error message.

_________________

Rate this post!