I am currently working on a project with Park Automation using attendance devices connected on LAN and I own the model K40 of ZKTeco company. Unfortunately, the device isn't implemented with a web server, so the only way to interact is using the TCP Port 4370.
The project is custom, written in PHP and I have used the carlosang2's library from GitHub (https://github.com/carlosang2/ZKLibrary) to interact with the devices. So far so good, everything works great, except the SetUser functionality. I can set a new user with id, name, password, role from my app to the device but I can't set the RFID of the card