Closed csulit closed 4 years ago
can this be a string of bio id? or data needs to be converted??
async executeCmd(command, data=''){ return await this.functionWrapper( ()=> this.zklibTcp.executeCmd(command, data), ()=> this.zklibUdp.executeCmd(command , data) ) }
// unlock the door executeCmd(CMD.CMD_DELETE_USERTEMP, object?)
yes, it 's needed to be converted to buffer, it 's quite hard :))
can this be a string of bio id? or data needs to be converted??
async executeCmd(command, data=''){ return await this.functionWrapper( ()=> this.zklibTcp.executeCmd(command, data), ()=> this.zklibUdp.executeCmd(command , data) ) }