Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status code different in zk_machine.py and zkconst.py #30

Closed
beke opened this issue May 17, 2019 · 1 comment
Closed

Status code different in zk_machine.py and zkconst.py #30

beke opened this issue May 17, 2019 · 1 comment

Comments

@beke
Copy link

beke commented May 17, 2019

On line 66 in zk_machine.py says:
if command == 2005:
conn = True

but there is no status code 2005 in zkconst.py. What does status code 2005 mean?

@CybroOdoo
Copy link
Owner

Hi,
from the Protocol Description of ZKTeco's Standalone Devices , it returns 2005 code when the connection is not authorized .Here we are simply checking is there any connections available ,if available we are proceeding with that device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants