raihanafroz / zkteco

ZKTeco Laravel Library
151 stars 57 forks source link

Clarification #1

Closed emmanuelkyalo closed 1 year ago

emmanuelkyalo commented 4 years ago

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