API description: Difference between revisions
No edit summary |
|||
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 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. | 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 [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/jnidemo_forC.zip| jni demo] | ||
=== Print === | === 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]]. | 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]]. |
Revision as of 10:02, 17 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
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 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.
Fingerprint
Introduce the API of the fingerprinter device.
LED
Introduce the API of the LED device.
MSR reader
Introduce the API of the MSR reader device.
PINPAD
Introduce the API of the PINPAD device.
Secondary display
Introduce the API about hwo to interaction with the external secondary display device.
Serial Port
Introduce the API of the serial port device.
Smart Card reader
Introduce the API of the smart card reader device. The smart card reader supports IC card, PSAM card.