Magtek MAGTEK User Manual Page 55

  • Download
  • Add to my manuals
  • Print
  • Page
    / 80
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 54
Section 5. Application Programmable Interface
49
COMMANDS
Host applications access device functions by communicating with a specific device application
running on the device. Each device application is identified by a numeric application ID which is
unique for the device. Every device application defines the command set that it understands and
can process. Commands are identified by a numeric command ID and may contain additional
data needed to process the command. The command ID is unique for the given application.
The device responds to commands within short, finite amount of time as defined by the
Core.RspTimeout for the device. The response contains a result code that indicates whether the
command was completed successfully, and if not, what was the reason for failure. The response
may also contain additional data to be returned to the host application. If the device response is
not received in the Core.RspTimeout time period, the MCP driver will fail the command request.
MCP driver handles the process of issuing a command request to the device and receiving the
device response, so from the viewpoint of the host application, the act of sending the command
and receiving the response is a single action. To execute a command, the host application uses
the API McpCall function.
Page view 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 79 80

Comments to this Manuals

No comments