GW-WIFI-01
User_Guide_GW -WIFI-01_180511
Page 33
Application protocol for UDP channel
UDP protocol is described in separate document
IQRF UDP Technical guide
.
IQRF DNS
IQRF DNS server is provided by the IQRF Tech s.r.o. and is intended as a replacement of the Dynamic DNS server. It allows
users a remote connection to an equipment (within Internet) without knowing current public IP address of the equipment. If
the equipment is configured and local redirection is set properly, it is possible to use the IQRF DNS names instead of IP
addresses of the equipment in web browsers - see the example below. The only thing what the user should know, is the MAC
address of the equipment. In following explanation the MAC address 001FD5010203 and IP address 10.100.20.200 are
used.
Registering the equipment
in the IQRF DNS server database
http://www.iqrfdns.org/?IDIP=001FD5010203
The GW-WIFI-01 client sends this command automatically and regularly (if this is activated in the GW setup) which keeps a
record of MAC address of the equipment and corresponding IP address (for remote GW connecting) in the server database.
The server responds with public IP address which the command was sent from. Thus, the equipment finds out its public IP
address in the format:
Current IP Address: 10.100.20.200
Request for IP address
http://www.iqrfdns.org/?IP=001FD5010203
The http client of the user application sends this command to find out the IP address assigned to given MAC address in the
server database. The server returns the result in the format:
Requested IP Address: 10.100.20.200
If the MAC address is not found in the database the server returns:
IQRFDNS Message: Requested device is not registered.
Connection to the equipment
– redirection
http://www.iqrfdns.org/?ID=001FD5010203
The command is intended to be entered to the www browser for connection to www interface of the GW-WIFI-01. The server
finds requested ID (MAC address) in the database and redirects it to assigned IP address. The GW must have set and
activated the IQRF DNS server as the DDNS.
If requested ID is not found the server returns:
IQRFDNS Message: Requested device is not registered.
If there is no answer from the GW after redirection the server returns:
IQRFDNS Message: Device is not responding. It is either offline or its IP address has changed. Try it again after xx:xx min.