ZKLibrary icon indicating copy to clipboard operation
ZKLibrary copied to clipboard

Get garbage value

Open Mahfuz2811 opened this issue 6 years ago • 6 comments

I have used your library and your code just changed IP address. and get the below result...

Screenshot from 2019-08-29 17-53-06

How can I solve this issue? Firmware Version can be a problem?

Mahfuz2811 avatar Aug 29 '19 12:08 Mahfuz2811

@kamshory please can you give me some suggestion for this issue.

Mahfuz2811 avatar Sep 01 '19 06:09 Mahfuz2811

I think you have to fixing data length until you get valid result.

kamshory avatar Sep 01 '19 16:09 kamshory

How can i fix data length? Please may you help me to give some suggestions ...

Mahfuz2811 avatar Sep 01 '19 17:09 Mahfuz2811

socket_recvfrom($this->socket, $received_data, 1032, 0, $this->ip, $this->port); 1032 is data length.

kamshory avatar Sep 10 '19 11:09 kamshory

I solve the problem. The problem was for the firmware version. But how can I store user card number? I can able to store user information.

Mahfuz2811 avatar Sep 11 '19 12:09 Mahfuz2811

@Mahfuz2811 can you please tell me how did you get the type ( check it check out ) ? it's not coming with getAttendence()

harshan89 avatar Oct 23 '19 11:10 harshan89