zkemkeeper

Deciphering hex coded timestamp from a fingerprint machine (zkemkeeper/ZEM560)

邮差的信 提交于 2020-08-06 05:03:18
问题 I've been working on some raw data obtained from a fingerprint machine(zkemkeeper/ZEM560). I found out that there is a sets of data written in hex and I believe it is a 4 bytes, little endian number of seconds from a certain date. Here some examples of the raw data, actual result and expected date(got from GUI). My purpose is to get the expected date from the raw data. What I have tried was, import datetime sample_expected_date = datetime.datetime(2019, 11, 29, 20, 45, 22).timestamp() sample

Deciphering hex coded timestamp from a fingerprint machine (zkemkeeper/ZEM560)

非 Y 不嫁゛ 提交于 2020-08-06 05:03:12
问题 I've been working on some raw data obtained from a fingerprint machine(zkemkeeper/ZEM560). I found out that there is a sets of data written in hex and I believe it is a 4 bytes, little endian number of seconds from a certain date. Here some examples of the raw data, actual result and expected date(got from GUI). My purpose is to get the expected date from the raw data. What I have tried was, import datetime sample_expected_date = datetime.datetime(2019, 11, 29, 20, 45, 22).timestamp() sample

Biometrics device ping becoming failed after sometime

 ̄綄美尐妖づ 提交于 2020-01-03 08:29:10
问题 I have ZKTeco Biometrics device which is connected with a C# windows application using This tutorial (C# ZKTeco Biometric Device Getting Started). It is working fine but after sometime, my application becoming failed to ping the device. As below code suggested, I am trying to ping the device after every 25 seconds. private void TimerCheckPingAndCloseAttendanceForm() { timerCheckPingAndCloseAttendanceForm = new Timer(); timerCheckPingAndCloseAttendanceForm.Tick += new EventHandler

Zkemkeeper OnDisconnectedEvent is not firing in C#

社会主义新天地 提交于 2019-12-24 18:35:08
问题 Background: I have connected a window form application with a bio-metric attendance machine (ZKTeco K20 Model). It has connected but there is an issue with OnDisconncted event. I have this code snippet, here onDisconnected event is registered but unfortunately, it is not triggering (whenever i switched off the device or unplug network cable). public bool Connect_Net(string IPAdd, int Port) { if (objCZKEM.Connect_Net(IPAdd, Port)) { //65535, 32767 //if (objCZKEM.RegEvent(1, 32767))//old if