Request/response/notification model, Example request/response/notification sequence – MagTek IntelliStripe 320 99875168 User Manual

Page 32

Advertising
background image

IntelliStripe 320 Command Reference

26

Request/Response/Notification Model

When the Smart Card Application receives a Request, it initiates the requested action. If the
action completes in a timely manner, a Response message is sent informing the Host Application
of completion. If the request does not complete in a timely manner, a Response message is sent
indicating that the command has not yet completed (Response Code 80 (Hex)) and that a
Notification message will be sent later when the command has completed. The Notification
message is identical in every way except for its Command Type to the Response message that
would have been sent if the request had completed in a timely manner.

Example Request/Response/Notification Sequence

Request message (Power Up Command):

Field MTYP

APPL

CMND

RC

Byte

1 2 3 4

Value

(Hex)

00 02 80 80


Response message (RC = 80 means Request Initiated, Notification to follow):

Field MTYP

APPL

CMND

RC

Byte

1 2 3 4

Value

(Hex)

40 02 80 80


Notification message (Card Powered Up OK, Data is ATR):

Field

MTYP APPL CMND

RC

PVAL

Byte 1

2

3

4 5-8

Value (Hex)

80

02

80

00

3B 60 00 0A

Advertising