Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting userid 0 #23

Open
rajucs opened this issue Dec 17, 2019 · 6 comments
Open

Getting userid 0 #23

rajucs opened this issue Dec 17, 2019 · 6 comments

Comments

@rajucs
Copy link

rajucs commented Dec 17, 2019

I am getting userid 0 after 2000 Attendance log from my local machine.
how can increase the size? Please help

@vodvud
Copy link
Owner

vodvud commented Dec 17, 2019

Hi.
Solution is cleaning attendance records on device after you getting and inserting to DB

See #1 (comment)

@rajucs
Copy link
Author

rajucs commented Dec 23, 2019

isn't there any option to get more than this data with out removing device data?
image

image

Not 2000 its give me userid 0 after 200 records. Then i fix it with using UID but its not solution. i think.

but it was okay some days ago.

@vodvud
Copy link
Owner

vodvud commented Dec 26, 2019

Hi!
Sometimes it can be depends device version or network stability.

The best solution is often to receive data from the device and clean it up, for example once an hour or less.

@rajucs
Copy link
Author

rajucs commented Feb 25, 2020

Thanks For clarification.
#1 (comment)
So i am not able to load data more than 4000 and also getting 0 value if its more than 2000 attendance data

@rajucs
Copy link
Author

rajucs commented Feb 25, 2020

I already delete all data and trying to add data to database only there is 150 row but still userid showing 0 don't understand.

@vodvud
Copy link
Owner

vodvud commented Feb 27, 2020

Hello!

Looks like your device send some different format of data.
Try to debug response here

$u = unpack('H78', substr($attData, 0, 39));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants