2016 | Lithionics Battery LLC | SOCV6 REV0
PRE-RELEASE
14
Serial-Ethernet TCP/IP Gateway Configuration Device:
Serial-Ethernet Gateway Configuration device (Lithionics Part#
50-196) can be used with a Windows PC to communicate with
SOC Gauge over crossover RJ45 cable, to avoid connecting SOC
Gauge to office LAN, which might have different IP addressing,
and also to allow use of simple serial terminal for configuration,
rather than writing custom software to handle UDP socket
communications. The device has USB Serial port based on
common FTDI chipset, so it’s recognized as a COM port by
Windows host. Termite is a freeware terminal software
(
http://www.compuphase.com/software_termite.htm
) which is well suited for configuration
purposes as it allows to send complete string rather than one character at a time as most
programs do. Once SOC Gauge is configured with desired IP addressing it can be connected to
live network for real time data processing.
Serial-Ethernet Gateway device has following IP configuration, which cannot be changed:
IP Address – 192.168.0.2
Subnet Mask – 255.255.255.0
Gateway – 192.168.0.1
Destination IP – 255.255.255.255 (broadcast to ALL)
Source Port – 0xFEED
Destination Port – 0xBEEF
Such configuration allows communication with SOC Gauge which may have unknown IP address,
so we can reset it to factory default and reconfigure it as needed.
Serial-Ethernet Gateway collects string of data from Serial port until CR+LF termination is
received, then wraps into UDP packet and sends to Ethernet port. At the same time it listens for
UDP packets, strips them into string data and passes back to Serial port.