Skip to content

data output is scrambled or faulty result in zkteco k40 device #53

Description

@ohmmee

Zkteco k40 with firmware version 4.0.4(build 3)

RAW TCP Stream:

5050827d08000000e80316fc00000100
5050827d08000000d0078e8ca06b0100
5050827d080000000d005094a06b0200
5050827d10000000dc05158aa06b02007c000000f0030000
5050827d84000000dd059426000002007800000040d835802f330100d5dc0100df230100c9010200cb140100d1260200e50901004b4d0200c3fe0000b173020085f100006d99020047e4000029bf020061d90000a3e5020019d10000c70c030001cc00005f2c0300d802000018000000160000000a0000009a19000001340300
f00200004800000000280300
5050827d08000000e9037390a06b0300
5050827d08000000d007b1f77c000200
5050827d08000000d0078c8ca06b0300

Actual Attendance Data:

  1. user id(or id... if it's same): 3
    verify: 5(fingerprint... not sure about 5... 5 is shown in device inbuilt report generation )
    state: 0
    time: 2018/11/04 21:58

  2. user id: 3
    verify: 5
    state: 0
    time: 2018/11/04 14:42

  3. user id: 3
    verify: 5
    state: 0
    time: 2018/11/04 14:42

Displayed data from getAttendance( ) with property attendanceParser: 'v6.60'

[ { id: 55360,
uid: 5,
state: 2,
timestamp: 2000-07-16T10:42:44.000Z,
verificationType: 2,
inOutStatus: 0 },
{ id: 29617,
uid: NaN,
state: 2,
timestamp: 2000-06-04T08:45:24.000Z,
verificationType: 2,
inOutStatus: 0 },
{ id: 11359,
uid: NaN,
state: 3,
timestamp: 2000-01-02T23:43:32.000Z,
verificationType: 3,
inOutStatus: 0 } ]

Displayed data from getAttendance( ) with property attendanceParser: 'legacy'
[ { uid: 0, id: 5, state: 2, timestamp: 2000-07-16T10:42:44.000Z },
{ uid: 0, id: 0, state: 2, timestamp: 2000-06-04T08:45:24.000Z },
{ uid: 0, id: 0, state: 3, timestamp: 2000-01-02T23:43:32.000Z } ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions