Wireless Sensors, LLC
Ethernet Gateway Model GWAY-1100
Version 2.0 © July 2013
34 / 35
COMMUNICATION
The GWAY-1100 communicates with a client using a TCP socket. The GWAY-1100 maintains
the server side, listening on the programmed port. Only 1 socket is supported. If desired, the
feature can be disabled via programming.
When first connecting, the GWAY-1100 will send a "?" when commands may be sent.
PACKET FORMAT
The GWAY-1100 accepts incoming connection requests and listens for data. Data is sent to the
client in response to packets received from the client. Packets sent to the GWAY-1100 have this
format:
Command - single char
Channel - single char, must be 1, 2 or 3 (not required for the I or h command)
Data - sent as ASCII encoded hex, up to 128 bytes or 256 characters
Carriage return - termination char
Data sent from the GWAY-1100 to the client has this format:
Data - sent as ASCII encoded hex, up to 128 bytes or 256 characters
Carriage return - termination char (a line feed is also sent)
AUTO UPDATE LOCKOUT
The GWAY-1100 automatically reads 1-Wire devices continuously. This feature is turned off
when the low level interface becomes active, such as when:
1.
A client connects to the TCP socket.
Any valid command restarts a 30 second timer. Auto updating is turned on, and the socket is
closed when:
The 'disable interface' command is received, or
No commands are received for 30 seconds, or
The client disconnects