The Native API library is a library for calling the APIs provided by the OPH-5000i OS.

To use the Native API library, link the following library files into your application program.

Header file:
lib.h
logapi.h (optional)
Library file:
libSTARTUPOPH5000.a


The Native API library includes the following libraries:

ANSI-C library

An ANSI-C compliant library.

Key library

A library for acquiring the key press state and setting key control.

Display library

A library for controlling font setting and acquisition, and screen drawing.

File library

A library for accessing the built-in FlashDisk file system.

Timer library

A library for setting and acquiring the timer of the terminal.

Real time clock library

A library for setting and acquiring the clock built into the terminal.

I/O library

A library for controlling LEDs, sounds, backlights, and NFC readers.

Power control library

A library for controlling the power supply and power saving of the terminal.

Barcode reader library

A library for capturing barcode data from the scanner module and setting and controlling the scanner.

Communication library

A library for opening Bluetooth and USB communication ports, acquiring communication status, and sending and receiving communication data.

MFi Communication Library

A library for communicating with Apple's iOS devices via Bluetooth.

Wireless LAN library

A library for connecting to an access point, sending and receiving wireless LAN, and controlling wireless LAN.

Wireless LAN setting functions

Connection control functions

Asynchronous socket functions

Synchronous socket functions

System library

A library for setting and acquiring the terminal ID, acquiring the OS version, and saving the settings in the flash ROM.

LogApi library

This library is used when debugging application programs. You can output a log message from the application program.

Last updated: 2021/11/18