i get this output when i try to connect to my zkteco fingerprint
Connecting to device ...
Process terminate : timed out
zkteco version : zk-k14
firmware version : 4.0.1
things i checked and still getting false connection :-
-the fingerprint device is accessible throw this ip : 192.168.1.201 AND port : 4370.
-i make sure that the device is accessible without any pin code or passwords.
when i try to connect to the device using the official SDK it connect successfully so using wireshark i compared the packet sent from the official sdk with the one using this library and i noticed.
-the packet sent using this library is an empty UDP packet.
-the one sent from the official sdk is a TCP packet with this content
PP.}............PP.}.......vw...PP.}....L.;zw...PP.}......3#w...Ver 6.60 Jun 16 2015.PP.}........w...~OS.PP.}........w...~OS=1.PP.}......L.w...~ExtendFmt.PP.}......Jcw...~ExtendFmt=0.PP.}......N|w...ExtendOPLog.PP.}.......vw...PP.}.......tw...ExtendOPLog.PP.}.......~w...PP.}......W|w...ExtendOPLog.PP.}.......~w...PP.}......V|w...ExtendOPLog.PP.}.......~w...PP.}......U|w...ExtendOPLog.PP.}.......~w...PP.}......8.w. .~Platform.PP.}.......?w. .~Platform=JZ4725_TFT.PP.}.......=w.
.~ZKFPVersion.PP.}........w.
.~ZKFPVersion=10.PP.}
...E.`Uw....(PP.} ......vw... PP.}........w...WorkCode.PP.}........w...WorkCode=1.PP.}
.......w.
.~SSR.PP.}........w.
.~SSR=1.PP.}........w...~PIN2Width.PP.}.......zw...~PIN2Width=9.PP.}........w...FaceFunOn.PP.}.......vw...PP.}........w...~UserExtFmt.PP.}.......Vw...~UserExtFmt=0.PP.}....L.+zw...PP.}......##w...Ver 6.60 Jun 16 2015.PP.}...... =w...~ZKFPVersion.PP.}........w...~ZKFPVersion=10.PP.}........w...~IsOnlyRFMachine.PP.}.......ow...~IsOnlyRFMachine=0.PP.}........w...~OS.PP.}........w...~OS=1.PP.}.......|w.......PP.}.......vw...PP.}......[yw...,...PP.}.......vw...PP.}....2.?~w...PP.}X.......w...........................&.......................................P...............PP.}....2.>~w...PP.}X.......w...........................&.......................................P...............PP.}....2.=~w...PP.}X.......w...........................&.......................................P...............PP.}....2.<~w...PP.}X.......w...........................&.......................................P...............PP.}....2.;~w...PP.}X.......w...........................&.......................................P...............PP.}........w...~UserExtFmt.PP.}.......Vw...~UserExtFmt=0.PP.}.......zw...PP.}.......vw...PP.}......\5w...~SerialNumber.PP.}*.....m.w...~SerialNumber=OEG6060486051400346.PP.}........w...~DeviceName.PP.}.......-w...~DeviceName=K14.
i get this output when i try to connect to my zkteco fingerprint
zkteco version : zk-k14
firmware version : 4.0.1
things i checked and still getting false connection :-
-the fingerprint device is accessible throw this ip : 192.168.1.201 AND port : 4370.
-i make sure that the device is accessible without any pin code or passwords.
when i try to connect to the device using the official SDK it connect successfully so using wireshark i compared the packet sent from the official sdk with the one using this library and i noticed.
-the packet sent using this library is an empty UDP packet.
-the one sent from the official sdk is a TCP packet with this content