Commit Graph

90 Commits

Author SHA1 Message Date
Arturo Hernandez
dbe494b258 restore Attendance compatibility...
simple uid is not very used with Attendance
(mostly all works with user_id, and not local uid)
so I'm pushing to optional argument as the original pyzk

as most users get direcctly all the records with `get_attendance()`, I think no body will notice...
2018-06-12 20:34:37 -04:00
Arturo Hernandez
b6cfd862f9 test status vs punch 2018-06-11 18:28:52 -04:00
Arturo Hernandez
71c77d5878 safe int cast for broken packets 2018-06-08 10:17:27 -04:00
Arturo Hernandez
8a5af7d447 broken responses on tcp 2018-06-06 18:12:22 -04:00
Arturo Hernandez
199aa96aeb try reading a complete chunk 2018-06-06 17:42:43 -04:00
Arturo Hernandez
450e448713 test prepacked tcp data, and unlock door 2018-06-06 15:10:18 -04:00
Arturo Hernandez
4bfbcf6b49 test read_sizes and fixed finger repack 2018-06-06 08:48:30 -04:00
Arturo Hernandez
9157826077 minor fix 2018-05-30 22:18:43 -04:00
Arturo Hernandez
f1b9e0d656 fixed tcp read_chunk nad improved dissector
now it can read broken ACK responses
2018-05-25 16:44:38 -04:00
Arturo Hernandez
4db7084037 disable erase user 2018-05-24 08:48:50 -04:00
Arturo Hernandez
a330e2fd37 calculate next userid and uid 2018-05-11 21:12:22 -04:00
Arturo Hernandez
32da02f6fe fix udp bulk mode 2018-05-07 19:48:19 -04:00
Arturo Hernandez
50003aa9cf added timeout for ping in linux 2018-05-07 15:26:31 -04:00
Arturo Hernandez
6f8ccc4abe fix end_capture 2018-05-07 08:52:22 -04:00
Arturo Hernandez
0af8a0f18f added user_id support 2018-05-04 19:18:23 -04:00
Arturo Hernandez
10f3ed5a78 test_voice doesn't raise error anymore 2018-05-04 15:26:46 -04:00
Arturo Hernandez
66448cef18 fixed reading tcp bug 2018-05-03 15:58:52 -04:00
Arturo Hernandez
abb76d7ac4 fixed test_voice for python3 2018-05-02 18:18:05 -04:00
Arturo Hernandez
ae292f1d84 added verbose mode (and fixed print statements for python3)
better tcp and python3 support (still todo test
2018-05-02 17:09:33 -04:00
Arturo Hernandez
9f0267b107 fix enroll_user (keeps using uid, but now it searchs for user_id first)
testing live capture!
2018-05-02 15:12:08 -04:00
Arturo Hernandez
cdffacbfe2 complete docs and minor patches 2018-04-30 10:25:43 -04:00
Arturo Hernandez
402ba438d1 Added support for python3 (WIP)
possible broken a lot of things

still needs more safeguards
2018-04-27 20:00:13 -04:00
Arturo Hernandez
cb1177f61a agregado funciones adicionales de prueba
y fix diesctor
2018-04-26 20:17:48 -04:00
Arturo Hernandez
a710842f6e fix menores 2018-04-26 15:35:54 -04:00
Arturo Hernandez
86826f9f7c MEGA UPDATE!
now with TCP support (on test!)
mayor fixes but trying to keep functionality
2018-04-25 20:42:04 -04:00
Arturo Hernandez
7304c41a37 pruebas con ZK8 (lectura user,finger,reg ok) 2018-04-20 19:16:31 -04:00
Arturo Hernandez
5a1ff7691b minor fix, added universal tester 2018-04-19 20:23:23 -04:00
kurenai-ryu
5467d9dd36
Merge pull request #2 from ajayramaswamy/card
Fix for writing Card
2018-04-18 22:43:37 -04:00
Arturo Hernandez
a4405075f2 minor fixes 2018-04-18 20:22:03 -04:00
Ajay Ramaswamy
362c5b9600 Add support for writing RFID cards 2018-04-19 05:22:38 +05:30
Ajay Ramaswamy
bea82416f1 fix for reading card info when reading all users 2018-04-18 10:00:31 +05:30
Ajay Ramaswamy
4a5e298ee5 Add support for reading RFID cards
From my tests I see that the name is 24 characters and the RFID card is encoded in the next 4 positions as an Integer
2018-04-18 06:01:18 +05:30
Ajay Ramaswamy
dc142f38ef silence an informational message 2018-04-18 05:45:59 +05:30
Arturo Hernandez
6772e1c758 agregado pruebas de voz 2018-04-12 19:10:01 -04:00
Arturo Hernandez
1e06eefa3f fix menores 2018-04-11 19:38:37 -04:00
Arturo Hernandez
ec46ef24c5 pruebas enroll user 2018-04-06 20:01:35 -04:00
Arturo Hernandez
3a2d82c83c lectura huella individual 2018-03-27 19:32:56 -04:00
Arturo Hernandez
f5f1b1c1c4 agregado lectura de huellas y lectura bulk 2018-03-23 19:44:00 -04:00
Arturo Hernandez
d123ddbd63 test, read fingerprint data
works! but needs more test, we need to test write and pass to another device
2018-03-20 19:59:04 -04:00
Arturo Hernandez
a3a184af08 testing extra commands 2018-03-16 20:00:24 -04:00
Arturo Hernandez
0a5322528e soporte inicial para firmware version 6 2018-01-30 18:17:08 -04:00
Arturo Hernandez
949ec91447 agregado uid en attendance record 2017-12-28 12:01:12 -04:00
Arturo Hernandez
2adf1d3e1b test udp limits 366KB 2017-12-09 13:39:16 -04:00
Arturo Hernandez
27b4996b02 fix menor 2017-12-07 20:02:18 -04:00
Arturo Hernandez
cf81b697c7 agregado get set time 2017-12-06 19:28:41 -04:00
Arturo Hernandez
13d40ef6c4 agregado contraseña INT 2017-12-06 10:11:22 -04:00
Arturo Hernandez
e59bd5ead9 agregado autenticacion con contraseña del equipo (ZK800) 2017-11-28 18:57:17 -04:00
Jos De Graeve
464a609f2c FIX better handle null terminated string input from clock
There is no guarantee about what is after the first null byte
in ordinary C strings.  When string buffers are read, the
current code fails when garbage is sent after the first null byte.

This patch causes everything after the first byte to be discarded.
2017-11-10 12:30:30 +01:00
Fanani M. Ihsan
536e4a932f fixed get_users: update data parser 2016-07-04 16:15:41 +07:00
Fanani M. Ihsan
4b807ddfa1 update constant variable 2016-07-04 13:55:29 +07:00