Occasionally, we need to access domain name instead of fixed IP. Especially we need to access external server. AVEA’s IoT RFID reader provides such feature by using the following command:
<?php
echo ‘<AVEA>’;
echo ‘DHCP=1’;
echo ‘HOST=”xxx.yyy.zzz”‘;
echo “</AVEA>”;
?>
where xxx.yyy.zzz is the domain name of the designated server.
echo ‘<AVEA>’;
echo ‘DHCP=1’;
echo ‘HOST=”xxx.yyy.zzz”‘;
echo “</AVEA>”;
?>
where xxx.yyy.zzz is the domain name of the designated server.
To disable it:
<?php
echo ‘<AVEA>’;
echo ‘HOST=””‘;
echo ‘</AVEA>’;
?>
echo ‘<AVEA>’;
echo ‘HOST=””‘;
echo ‘</AVEA>’;
?>
In order for this command to work, the reader’s DHCP must be enabled. Also DHCP(IPv4) server must be available in the network. So the DNS server’s information can be obtained by the reader for the domain name resolution.