Commit Graph

147 Commits

Author SHA1 Message Date
Arturo Hernandez b69471f45c added some unittests (and moved basic test) 2018-06-13 15:23:21 -04:00
Arturo Hernandez 4cedf3ee5b clean up the get_sizes function, 2018-06-13 10:14:21 -04:00
Arturo Hernandez 6b102f8a0f missing punch but need more test on old firmware 2018-06-12 20:38:35 -04:00
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 1f01965b7b doc live capture 2018-05-25 17:26:41 -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 2af1d7d171 Merge branch 'master' of gitlab.geo.gob.bo:agetic/pyzk 2018-05-24 08:49:08 -04:00
Arturo Hernandez 4db7084037 disable erase user 2018-05-24 08:48:50 -04:00
Arturo Hernandez 0f9739e025 fix menor 2018-05-23 16:33:03 -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 65aa73d7e5 fix setup.py version 2018-04-30 10:32:10 -04:00
Arturo Hernandez cdffacbfe2 complete docs and minor patches 2018-04-30 10:25:43 -04:00
Arturo Hernandez dc4629a1bc added future to install 2018-04-30 09:33:17 -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 26d75abd92 update LUA dissector ( for tcp and udp dump)
still not complete, but helps a lot
2018-04-26 16:40:57 -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 74cdc267eb fix format 2018-04-19 20:29:00 -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
kurenai-ryu 5171917e60
Merge pull request #1 from ajayramaswamy/card
Add support for reading RFID Cards
2018-04-17 21:15:52 -04:00
Ajay Ramaswamy e73e20947f update test to show card detail 2018-04-18 06:03:46 +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