Aml KDT750 Price Verification System Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Hardware de computador Aml KDT750 Price Verification System. AML KDT750 Price Verification System User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - KDT750-XXXX

For models:KDT750-XXXX

Página 2 - Revision History

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

Página 3

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

Página 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

Página 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

Página 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

Página 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

Página 8 - Theory of Operation

KDT750 APL Guide2 - 7

Página 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

Página 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

Página 11 - General Data Format

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

Página 12 - Client to Server Event Names

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

Página 13

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

Página 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

Página 15 - Available Action Pairs

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

Página 16

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 22 - Example Server Source Code

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

Página 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

Página 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

Página 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

Página 26

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

Página 27 - Example APL Server Design

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

Página 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

Página 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

Página 30 - PCDemo Operational Loop

KDT750 APL Guide5 - 8Default PRC Numeral Images

Página 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

Página 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

Página 33 - Local Image Slide Show

KDT750 APL GuideA - 1Appendix APacket Examples with Screenshots

Página 34 - Text Fields

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

Página 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

Página 36

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

Página 37 - Example PCDemo Implementation

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

Página 38

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

Página 39 - Appendix A

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

Página 40

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

Página 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

Comentários a estes Manuais

Sem comentários