Skip to content

kazimaruf991/zkcpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zkcpp — C++ Port of pyzk for ZKTeco Devices

zkcpp is a C++ library that ports the core functionality of the pyzk Python project to native C++.


⚙️ Environment Setup

▶️ Termux (Android)

pkg update
pkg install clang make cmake git

🐧 Linux (Ubuntu/Debian)

sudo apt update
sudo apt install clang make cmake git

🛠️ Build & Run

git clone https://github.com/yourname/zkcpp.git
cd zkcpp
make
./build/output/zkapp

⚠️ Before building, open main.cpp and set your device's IP address, port & password:

std::string ip = ; // Add machine IP, e.g. "192.168.1.201"
int port = 4370;
int password = 0;

📄 Check main.cpp for example usage and basic interaction flow with the device. It demonstrates how to connect, disable/enable the device, and fetch logs.

📱 For Android integration, see the demo project: AMS-Demo. It shows how to use zkcpp with JNI and native helper classes inside an Android app.

About

zkcpp is a C++ library that ports the core functionality of the pyzk Python project to native C++.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors