Initial test

This commit is contained in:
Aries Wibowo
2026-04-22 09:19:12 +07:00
parent 9abcfe6bb8
commit 484ba05a65
131 changed files with 65583 additions and 0 deletions

21
infoTest.py Normal file
View File

@@ -0,0 +1,21 @@
import sys
import os
sys.path.insert(1,os.path.abspath("./pyzk"))
from zk import ZK, const
zk = ZK('10.35.7.12', port=4370, timeout=5, password=0, force_udp=False, ommit_ping=False)
conn = zk.connect()
print('Firmware version : ', conn.get_firmware_version())
print('Serial number : ',conn.get_serialnumber())
print('Platform : ',conn.get_platform())
print('Device name : ',conn.get_device_name())
print('Face version : ',conn.get_face_version())
print('Finger version : ',conn.get_fp_version())
print('Extended format : ',conn.get_extend_fmt())
print('User extended format : ',conn.get_user_extend_fmt())
print('Face fun on : ',conn.get_face_fun_on())
print('Old firmware compatibility : ',conn.get_compat_old_firmware())
print('Network : ',conn.get_network_params())
print('MAC address : ',conn.get_mac())
print('Pin width : ',conn.get_pin_width())