Embedded Data Systems, LLC; 2019 Fortune Dr., Lawrenceburg, KY 40342; Phone/Fax 502-859-5490 18 / 37
EN-USERMAN OW-SERVER-ENET-2 V2.0 12.20.12
INTEGRATION
The OW-SERVER-ENET-2 provides a powerful set of tools to enable developers and network
administrators the ability to integrate the device (and data from connected 1-Wire devices) with
existing management and/or monitoring systems. The following are the network services sup-
ported by OW-SERVER-ENET-2, accessible via TCP/IP:
•
HTTP
—service provides delivery of html and xml data files via http get, a method of writ-
ing data to 1-Wire devices, the Web browser interface previously discussed and firmware
upgrading
•
SNMP
—provides access to data from all connected sensors, and pushes SNMP traps to
remote listeners for alarming capabilities
•
Telnet
—service provides login to monitor some of the OW-SERVER-ENET-2’s commu-
nication activities for diagnostic purposes
•
UDP Broadcast
—listener on port number 30303 will respond to properly formatted pack-
ets broadcast to this port number, allowing other devices and applications to discover
OW-SERVER-ENET-2s that exist on the same network.
•
1-Wire
Interface
—service provides a TCP client that implements a command / re-
sponse low level interface that may be used to directly control the 1-Wire bus
•
POST Client
—provides a method of pushing XML data about connected 1-Wire devices
to a server.
HTTP
The HTTP mechanism enables programmers to utilize a GET command to retrieve various data
elements that are contained in an XML file as well as write data to 1-Wire devices that support
control functions.
The OW-SERVER-ENET-2 provides the following XML file for data retrieval:
•
Details.xml—this file provides detailed information on the OW-SERVER-ENET-2 and all
connected devices.
Retrieving XML File
To retrieve the XML file, simply access it by corresponding URL.
For example: “http://192.254.1.1/details.xml”
Once the file has been retrieved, it can be parsed according to the methods available to the de-
veloper in whatever programming language they are using.
Java based examples are available online at http://short.eds.bz/javacode.
Details.xml
The following is an example of the details.xml file:
<Devices-Detail-Response xmlns="http://www.embeddeddatasystems.com/schema/owserver"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PollCount>85</PollCount>
<DevicesConnected>1</DevicesConnected>
<LoopTime>1.046</LoopTime>