zkcpp is a C++ library that ports the core functionality of the pyzk Python project to native C++.
pkg update
pkg install clang make cmake gitsudo apt update
sudo apt install clang make cmake gitgit clone https://github.com/yourname/zkcpp.git
cd zkcpp
make
./build/output/zkappmain.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.