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.
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 contactless reader supports CPU Card, Mifare Card, E-Wallet Card, and also it can support some card emulation, includes Apply Pay.
Cash Drawder
Introduce the API about hwo to interaction with the external cash Drawder device.
Fingerprint
Introduce the API of the fingerprinter device.
HSM
Introduce the API of the HSM module.
HDMI
Introduce the API about how to interaction with the HDMIdevice.
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.
Signature
Introduce the API of the signature device.