Skip to content

v0.0.30

Choose a tag to compare

@coding-libs coding-libs released this 22 Jul 13:31
· 6 commits to master since this release

馃殌 Introducing the following methods:

getDeviceData()
Retrieve any supported device parameter based on the ZKTeco protocol.
Example:

$zktecoLib->getDeviceData('TCPPort'); // Returns: "4370"

getDeviceId()
Retrieve device ID.
Example:

$zktecoLib->getDeviceId('TCPPort'); // Returns: "0"

setCustomData()
Set any custom key-value pair into the device's memory.
Example:

$zktecoLib->setCustomData('my_company_name', 'Coding Labs'); 

getCustomData()
Retrieve custom data previously stored using setCustomData().
Example:

$zktecoLib->getCustomData('my_company_name'); // Returns: "Coding Labs"```