Application id, Command id – MagTek IntelliStripe 310™ User Manual
Page 8

IntelliStripe 310 Command Reference
2
Responses are the messages sent as a reply to a previously sent request. The response contains
the result of the requested operation. The device application must send each response within a
pre-determined finite amount of time from receiving the request.
Notifications are sent by a device application when it needs to notify the host application that the
device’s state has changed or that some external event has occurred (e.g., a magnetic card has
been inserted). The device can send a notification at any time. The device does not expect a
response or any specific action from the host application.
For device operations that take a long or indefinite amount of time, the host application usually
sends a request that initiates the operation. The device sends a response, indicating it has started
the operation. When the operation completes, the device sends a notification message to the host
application.
Application ID
This field specifies the application ID. The application ID identifies the device application that a
message corresponds to. A device application is a functional subsystem in the device. For
example, a device might contain a magnetic stripe, transport, and a smart card functional
subsystem. Each application in a device has a unique application ID and a defined command set.
The following application ID values are defined:
App ID (Hex)
Definition
00-7F
This range is for generic applications. A generic application
has a common command set for different device models.
80-FF
This range is for custom applications. A custom application
has a unique command set for a particular device model.
Command ID
This field specifies the command ID. The Command ID has a different meaning for each of the
three message types:
•
For requests, the command ID defines the operation to be carried out by the device
application.
•
For responses, the command ID defines the operation that was carried out by the device
application (always the same value as the Command ID from the request).
•
For notifications, the command ID specifies the event that has occurred in the device
application.