I am using php zklib to manage zk time attendance machine.
I am able to connect to device.
What I need is I want to add a new user to the machine from system, I can add the user information using CMD_USER_WRQ
. Now I need to invoke the device, so that the user can place his finger and the device should register his finger to the user.
My Answer:
To achieve this, you can follow these steps:
1. Add a new user to the device using CMD_USER_WRQ command. Make sure to provide all the necessary user information including user ID, name, etc.
2. Once the user is added, you can use the CMD_USERTEMP_WRQ command to assign a fingerprint template to the user. This command will allow you to upload the fingerprint template to the device for the specified user.
3. After uploading the fingerprint template, you can then invoke the device to register the user's fingerprint. This can be done by sending a command to the device to start the fingerprint registration process for the specified user.
4. The user can then place his finger on the device to register his fingerprint. The device will capture the fingerprint and store it in its database for the specified user.
5. Once the fingerprint registration process is complete, the user will be able to use his fingerprint to authenticate himself on the device.
By following these steps, you can successfully add a new user to the device and assign his fingerprint for authentication.
Rate this post
5 of 5 based on 9692 votesComments