For the complete documentation index, see llms.txt. This page is also available as Markdown.

Cancel Transaction - Command 0x1008

The host can use this command to cancel a transaction in progress that it initiated using Start Transaction - Command 0x1001.

Sequence of events:

1

Host has already started a transaction

The host has already called Start Transaction - Command 0x1001 and the transaction is still in process.

2

Construct the command request

The host constructs the command request in the format below.

3

Send the command request

The host sends the command request to the device.

4

Device sends a response

The device sends a response in the format below to the host:

  • If the transaction is in a state where it cannot be canceled, the device’s response returns operation status detail: Failed, Device State Issue, Cannot Cancel.

  • If there is no transaction in progress, the device’s response returns operation status detail: Failed, Device State Issue, No Transaction.

  • If the device successfully cancels the transaction, the device’s response returns operation status detail: All Good, Requested Operation Was Successful, shows "CANCELED" and returns to the idle state. The display (if any) shows "CANCELED".

Request Data for Cancel Transaction - Command 0x1008

Tag
Len
Value / Description
Typ
Req
Default

Beginning of any wrappers, at minimum including Request Message

1008 = Command 0x1008 - Cancel Transaction

No parameters.

End of any wrappers, at minimum including Request Message

Response Data for Cancel Transaction - Command 0x1008

Tag
Len
Value / Description
Typ
Req
Default

Beginning of any wrappers, at minimum including Response Message

1008 = Cancel Transaction - Command 0x1008

No parameters.

End of any wrappers, at minimum including Response Message

Request Example

Example (Hex)

AA 00 81 04 01 13 10 08 84 02 10 08

Response Example

Example (Hex)

Last updated