Operation
GW firmware includes the bootloader (BL) and the GW operational program.
BL contains:
• UDP server/client for upgrade of GW firmware
• ICMP server allowing “ping” to GW from a remote host
GW operational program contains:
• UDP server /client for communication with IQRF network and for remote GW management
• HTTP/HTTPS server offering web pages for remote management via a common browser
• HTTP client for getting and updating of public address from DDNS
• SNTP client for getting date and time from time server
• ICMP server allowing “ping” to GW from a remote host
• DHCP client for automated getting of IP address from the DHCP server
• NBNS server for using names instead of IP addresses within the LAN
MAC address
Every device has a unique MAC address in the format 00 1F D5 xx xx xx, where:
• 00 1F D5 is the OUI dedicated to MICRORISC s.r.o.
• xx xx xx is a device serial number
Actual MAC address is printed on the label at the bottom of the GW-ETH-01 case.
Modes of communication with internal IQRF module:
Three communication modes are available:
• Whole packet
According to the IQRF SPI protocol, the whole packet intended for the IQRF module must be created by the host.
The GW transfers this to the module without changes. The same goes for a packet received by the host.
• Only user data
The host sends only it's own data to the IQRF module in this mode. Packet creation according the IQRF SPI
protocol is up to the GW. The same goes for a packet received by the host from the GW.
• Datalogger
It is not possible to communicate externally with the TR module inside the GW in the Datalogger mode. GW
communication with the IQRF network depends on the application in internal TR module. All data sent via SPI from the
TR module to the GW are stored in circular buffer in the GW. Every packet is equipped with numeric code and time
stamp. Data can be freely read from this buffer via the HTTPS interface or user data can be sent via HTTPS to the TR
module. Refer to the Datalogger User's guide for more information.
Date and time
The GW contains the real time RTCC module which can be configured in several ways:
• From Internet time server via the SNTP protocol. Updated every 60 s.
• Manually from the GW web interface.
• Using the GW-ETH-01 Tool PC software.
This state is indicated as a failure until the GW gets the time info after a reset. See LED indication.
Safe Mode
If this mode is activated the GW does not respond to several commands via the UDP channel (exact list see the Application
protocol below). Full communication and GW configuration as well as repeated disabling the Safe Mode is possible via
HTTPS only.
© 2011 MICRORISC s.r.o. www.iqrf.org MNGWETH01_110218 Page 5