API description: Difference between revisions

From wizarPOS
Line 8: Line 8:
   Introduce 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.
   Introduce 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.The head file name is [[moneybox_interface.h]].
   Introduce the [[CashDrawer API|API]] about hwo to interaction with the external cash Drawder device.The head file name is [[moneybox_interface.h]].



Revision as of 08:42, 28 April 2018

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".
 The third 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

 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.

Contactless Reader

 Introduce 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

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

Fingerprint

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

LED

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

MSR reader

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

PINPAD

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

Secondary display

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

Serial Port

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

Smart Card reader

 Introduce 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.