Aml KDT750 Price Verification System Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Počítačový hardware Aml KDT750 Price Verification System. AML KDT750 Price Verification System User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - KDT750-XXXX

For models:KDT750-XXXX

Strany 2 - Revision History

KDT750 APL Guide2 - 1APLThis chapter describes the AML PriceLookup (APL) protocol, which providescommunication between AML kioskdevices and a database

Strany 3

KDT750 APL Guide2 - 2Transaction OverviewAPL is a packet based, connection oriented protocol. For each lookup to the server, a newconnection is create

Strany 4 - Table of Contents

KDT750 APL Guide2 - 3Lookup Request from Client to ServerA general request from a client device will have a single item/value pair. The ITEM (left ofe

Strany 5

KDT750 APL Guide2 - 4Example APL Client to Server EventsA user scans a bar code with data of “1234567890” with the internal bar code reader:A user swi

Strany 6 - About this Document

KDT750 APL Guide2 - 5Lookup Reply from Server to ClientIn response to a lookup request, the server should reply with meaningful data. In the mostbasic

Strany 7 - Getting Started

KDT750 APL Guide2 - 6output). These action pairs will tell the client device to act on some hardware, and will notresult in any data being drawn on th

Strany 8 - Theory of Operation

KDT750 APL Guide2 - 7

Strany 9 - APL via HTTP

KDT750 APL Guide2 - 8Formatting Text OutputTo define a format for any given text output field, a special '@ITEM=VALUE' pair is used. Thename

Strany 10 - KDT750 APL Guide

KDT750 APL Guide2 - 9Example Field Format PairThe DES field will be located at x=70, y=200, width=500, height=150, foreground color is 0and background

Strany 11 - General Data Format

KDT750 APL Guide3 - 1Using APL Over HTTPThis chapter describes how to implementAPL via HTTP POST.

Strany 12 - Client to Server Event Names

KDT750 APL GuidePRE-1Revision HistorySeptember 2008 - Initial revisionNovember 2008 - Add POST documentation, reformat and restructure

Strany 13

KDT750 APL Guide3 - 2OverviewHTTP (Hypertext Transfer Protocol) is the most common of all Internet protocols. Although it isused primarily to fetch pa

Strany 14 - Output Pairs and Action Pairs

KDT750 APL Guide3 - 3URL Encoding DataAPL will URL encode data being sent to the server-side script, and the server should URLencode all replies. That

Strany 15 - Available Action Pairs

KDT750 APL Guide3 - 4Example Server Source Codeimport osimport cgiimport urllibform = cgi.FieldStorage()inputdata = ""### Note that urllib.q

Strany 16

KDT750 APL Guide4 - 1Using APL Over a TCP SocketThis chapter describes using APL over a rawTCP socket connection.

Strany 17 - Formatting Text Output

KDT750 APL Guide4 - 2Packet FormatTo use APL over a TCP socket, the following general packet format is used:NOTE: All wireless SECURITY settings are c

Strany 18 - Example Field Format Pair

KDT750 APL Guide4 - 3Lookup Request Example PacketsA user scans a bar code with data of “1234567890” with the internal bar code reader:A user swipes a

Strany 19 - Using APL Over HTTP

KDT750 APL Guide4 - 4The server responds to a magnetic stripe read with a screen containing three fields: anemployee’s name, their employee number and

Strany 20 - POST Reply

KDT750 APL Guide4 - 5Example APL Server DesignAs a general case, the host server application can be realized very simply:Figure 4.1 - Sample Server Fl

Strany 21 - Example Transactions

KDT750 APL Guide4 - 6Server-side Source Code# Use threads and socketsimport socketimport thread# Lookup thread function to be called when a client con

Strany 22 - Example Server Source Code

KDT750 APL Guide5 - 1PCDemo - APL ClientApplicationThis chapter describes the KDT750 APLclient application PCDemo.

Strany 23 - Using APL Over a TCP Socket

KDT750 APL GuidePRE-2© 2009 American Microsystems, Ltd. All rights reserved.American Microsystems, Ltd. reserves the right to make changes in specific

Strany 24 - General Payload Format

KDT750 APL Guide5 - 2OverviewPCDemo is a versatile client application designed to run natively on the AML KDT750 pricechecking unit. PCDemo handles da

Strany 25 - Lookup Reply Example Packets

KDT750 APL Guide5 - 3When the device is idle (i.e., No input device is being utilized), PCDemo displays a slideshow of images. In the most general cas

Strany 26

KDT750 APL Guide5 - 4Command Line InterfacePCDemo is normally located at /usr/bin/pcdemo of the KDT750 Linux file system. Note that theapplication bin

Strany 27 - Example APL Server Design

KDT750 APL Guide5 - 5< > - Denotes mandatory flag argument[ ] - Denotes optional flag argumentLocal Image Slide ShowPCDemo will display a slide

Strany 28 - Server-side Source Code

KDT750 APL Guide5 - 6Lookup Screen BasicsWhen displaying a server response to a lookup request, the lookup screen of PCDemo willcontain a basic backgr

Strany 29 - Application

KDT750 APL Guide5 - 7Special Text FieldsTwo special field names exist: the PRC field and the DES field. These fields are predefinedwith certain enhanc

Strany 30 - PCDemo Operational Loop

KDT750 APL Guide5 - 8Default PRC Numeral Images

Strany 31

KDT750 APL Guide5 - 9ColorsThe foreground text color and the field background color can be selected from a 256 colorpalette.Figure 5.4 - Color MapExam

Strany 32 - Command Line Interface

KDT750 APL Guide5 - 10Figure 5.5 - Example SD Card ContentsWith this SD card installed into a KDT750 unit, the autorun.sh script will be executed upon

Strany 33 - Local Image Slide Show

KDT750 APL GuideA - 1Appendix APacket Examples with Screenshots

Strany 34 - Text Fields

KDT750 APL GuidePRE-3Table of ContentsAbout This DocumentIntroductionChapter DescriptionsChapter 1 – Getting StartedTransaction OverviewProtocol Overv

Strany 35 - PRC Field Fonts

KDT750 APL GuideA - 2Example 1 – Price Lookup via HTTP PostClient Lookup POST:BAR=1641-115Server Reply:Content-type: text/htmlPRC=0.187DES=Screw. Torx

Strany 36

KDT750 APL GuideA - 3Example 2 – MSR Read via HTTP POSTClient Lookup POST:MSR=;0000003075393868=0408799?Server Reply:Content-type: text/htmlFIELD1=Emp

Strany 37 - Example PCDemo Implementation

KDT750 APL GuidePRE-4Chapter 5 – PCDemoIntroduction to PCDemoPCDemo Operational LoopCommand Line InterfaceLocal Image Slide ShowLookup ScreenLookup Sc

Strany 38

KDT750 APL GuidePRE-5About this DocumentIntroductionThis document describes the software interface protocol and system requirements for use of theAML

Strany 39 - Appendix A

KDT750 APL Guide1 - 1Getting StartedThis chapter gives a brief overview of APL and its intended uses.

Strany 40

KDT750 APL Guide1 - 2Theory of OperationAPL was designed as a network based protocol for use in price verification and data lookupenvironments. It is

Strany 41

KDT750 APL Guide1 - 3APL via TCPAPL can utilize a standard raw TCP stream socket connection initiated by the client device(KDT750) to a database serve

Komentáře k této Příručce

Žádné komentáře