API description: Difference between revisions

From wizarPOS
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
== API Overview==
== API Overview==
   This document provides an introduction to the C APIs. C API is the lowest API, it provided by the POS driver, it packaged all the API implement in a so file, named "libUnionpayCloudPos.so".
   This document provides an introduction to the C APIs. C API is the lowest API, it is provided by the POS driver, packags all the API implement in a so file, named "libwizarposDriver.so".
   The third app should open this so file then call this API in its' C source code according as the corresponding head file.
   The third-party app should open this so file then call this API in its' C source code according as the corresponding head file. Here get the [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/jnidemo_forC.zip jni demo]
=== Print ===
=== [[API|Print]] ===  
   Introduce the [[API]] of the printer device.The head file name is [[printer_interface.h]].The POS printer device can print text, picture and [[ESC Commands]].
   Introduces the [[API]] of the printer device. The head file name is [[printer_interface.h]]. The POS printer device can print text, picture and [[ESC Commands]].


=== Contactless reader ===
=== [[Contactless API| Contactless Reader]] ===
   Introduce the [[Contactless API| API]] of the contactless reader device. The contactless reader supports CPU Card, Mifare Card, E-Wallet Card, and also it can support some card emulation, includes Apply Pay.
   Introduces the [[Contactless API| API]] of the contactless reader device. The head file name is [[contactless_card_interface.h]]. The contactless reader supports CPU Card, Mifare Card, E-Wallet Card, and also it can support some card emulation, includes Apply Pay.


=== Cash Drawer ===
=== [[CashDrawer API|Cash Drawer]] ===
   Introduce the [[CashDrawer API|API]] about hwo to interaction with the external cash Drawder device.
   Introduces the [[CashDrawer API|API]] about hwo to interaction with the external cash Drawder device. The head file name is [[moneybox_interface.h]].


=== Fingerprint ===
=== [[FingerPrint API|Fingerprint]] ===
   Introduce the [[FingerPrint API|API]] of the fingerprinter device.
   Introduces the [[FingerPrint API|API]] of the fingerprinter device. The head file name is [[fingerprint_interface.h]].


=== HSM ===
=== [[LED API|LED]] ===
  Introduce the [[HSM API|API]] of the HSM module.
Introduces the [[LED API|API]] of the LED device. The head file name is [[led_service_interface.h]].


=== HDMI ===
=== [[MSR API|MSR Reader]] ===
Introduce the [[HDMI API|API]] about how to interaction with the HDMIdevice.
  Introduces the [[MSR API|API]] of the MSR reader device. The head file name is [[msr_interface.h]].


=== LED ===
=== [[PINPAD API|PINPAD]] ===
Introduce the [[LED API|API]] of the LED device.
  Introduces the [[PINPAD API|API]] of the PINPAD device. The head file name is [[pinpad_interface.h]].


=== MSR reader ===
=== [[Secondary display API|Second Display]] ===
  Introduce the [[MSR API|API]] of the MSR reader device.
Introduces the [[Secondary display API|API]] about hwo to interaction with the external secondary display device. The head file name is [[customer_display_interface.h]].


=== PINPAD ===
=== [[Serial port API|Serial Port]] ===
  Introduce the [[PINPAD API|API]] of the PINPAD device.
Introduces the [[Serial port API|API]] of the serial port device.The head file name is [[serial_port_interface.h]].


=== Secondary display ===
=== [[Smart Card API|Smart Card reader]] ===
Introduce the [[Secondary display API|API]] about hwo to interaction with the external secondary display device.
   Introduces the [[Smart Card API|API]] of the smart card reader device. The smart card reader supports IC card, PSAM card.The head file name is [[smart_card_interface.h]].
 
=== Serial Port ===
Introduce the [[Serial port API|API]] of the serial port device.
 
=== Smart Card reader ===
   Introduce the [[Smart Card API|API]] of the smart card reader device. The smart card reader supports [[IC card]], [[PSAM card]].
 
=== Signature ===
  Introduce the [[Signature API|API]] of the signature device.

Latest revision as of 03:01, 19 November 2018

API Overview

 This document provides an introduction to the C APIs. C API is the lowest API, it is provided by the POS driver, packags all the API implement in a so file, named "libwizarposDriver.so".
 The third-party app should open this so file then call this API in its' C source code according as the corresponding head file. Here get the jni demo

Print

 Introduces the API of the printer device. The head file name is printer_interface.h. The POS printer device can print text, picture and ESC Commands.

Contactless Reader

 Introduces the  API of the contactless reader device. The head file name is contactless_card_interface.h. The contactless reader supports CPU Card, Mifare Card, E-Wallet Card, and also it can support some card emulation, includes Apply Pay.

Cash Drawer

 Introduces the API about hwo to interaction with the external cash Drawder device. The head file name is moneybox_interface.h.

Fingerprint

 Introduces the API of the fingerprinter device. The head file name is fingerprint_interface.h.

LED

Introduces the API of the LED device. The head file name is led_service_interface.h.

MSR Reader

 Introduces the API of the MSR reader device. The head file name is msr_interface.h.

PINPAD

 Introduces the API of the PINPAD device. The head file name is pinpad_interface.h.

Second Display

Introduces the API about hwo to interaction with the external secondary display device. The head file name is customer_display_interface.h.

Serial Port

Introduces the API of the serial port device.The head file name is serial_port_interface.h.

Smart Card reader

 Introduces the API of the smart card reader device. The smart card reader supports IC card, PSAM card.The head file name is smart_card_interface.h.