$comands = TAD::commands_available();
$options = [
'ip' => '192.168.18.201', // '169.254.0.1' by default (totally useless!!!).
'internal_id' => 1, // 1 by default.
'com_key' => 0, // 0 by default.
'description' => '', // 'N/A' by default.
'soap_port' => 8080, // 80 by default,
'udp_port' => 4370, // 4370 by default.
'encoding' => 'utf-8'
];
$tad_factory = new TADFactory($options);
print_r($tad_factory->get_instance()->get_att_log());
`
In the device is the default password, the IP is 192.168.18.201. In summary everything that is entered is what corresponds ... I do not know what I have to do to be able to read the information. I would appreciate any help in that regard.
Hello, I have a ZKTECO SF200 device, in its description that has a TCP / IP connection, but it has not been able to work.
device details: https://www.zktecolatinoamerica.com/sf200
My code is the following,
`<?php
ini_set("display_errors", 1); require 'lib/TADFactory.php'; require 'lib/TAD.php'; require 'lib/TADResponse.php'; require 'lib/Providers/TADSoap.php'; require 'lib/Providers/TADZKLib.php'; require 'lib/Exceptions/ConnectionError.php'; require 'lib/Exceptions/FilterArgumentError.php'; require 'lib/Exceptions/UnrecognizedArgument.php'; require 'lib/Exceptions/UnrecognizedCommand.php';
use TADPHP\TADFactory; use TADPHP\TAD;
$comands = TAD::commands_available(); $options = [ 'ip' => '192.168.18.201', // '169.254.0.1' by default (totally useless!!!). 'internal_id' => 1, // 1 by default. 'com_key' => 0, // 0 by default. 'description' => '', // 'N/A' by default. 'soap_port' => 8080, // 80 by default, 'udp_port' => 4370, // 4370 by default. 'encoding' => 'utf-8' ];
$tad_factory = new TADFactory($options); print_r($tad_factory->get_instance()->get_att_log()); ` In the device is the default password, the IP is 192.168.18.201. In summary everything that is entered is what corresponds ... I do not know what I have to do to be able to read the information. I would appreciate any help in that regard.