dnaextrim / python_zklib

Attendance Machine Libraries for python with a connection to the network using the UDP protocol and port 4370
GNU General Public License v2.0
78 stars 122 forks source link

Add user with uid above 256 #6

Open bkrishna2020 opened 8 years ago

bkrishna2020 commented 8 years ago

command_string = pack('sxs8s28ss7sx8s16s', unichr( uid ).encode('utf-8'), chr(role), password, name, chr(1), '', userid, '' )

Not working..