This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Possible help with ZKAccess LUA Library
#4
If you get false, nil it means that the socket connection was established but there's an error on the protocol level. Check what is the connect callback result:
Code:
local function M_connect_to_C3_cb(size, data_arr)   log('connect_to_C3_cb', size, data_arr)   if size == 4 then     sessionID[1] = data_arr[2] --Second byte is MSB     sessionID[2] = data_arr[1] --First byte is LSB     connected = true   end   return connected end
Reply


Messages In This Thread
RE: Possible help with ZKAccess LUA Library - by admin - 29.11.2021, 08:23

Forum Jump: