raihanafroz / zkteco

ZKTeco Laravel Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clarification

emmanuelkyalo opened this issue · comments

commented

Hello,I am using your library and it is working perfectly fine.I am however confused at some point.Say I pull all access logs from a device.I get back an array.Now this is an example element of the array I am getting back.

0 => array:5 [▼
"uid" => 1
"id" => "1"
"state" => 1
"timestamp" => "2020-05-27 21:21:06"
"type" => 255
]

What do the 'state' and 'type' fields indicate?From my little analysis,I guessed that the state indicates the authentication type.I.e 4-RF Card and 1-Fingerprint.Please clarify.Thanks in advance