LKA
LKA - A tool for to send/recive/spy on serial or TCP/UDP/IP communication.
Leif Persson - leifmariposa@hotmail.com
Introduction
What is it?
With LKA you can define your own packets/messages and send them through the serial
port or by TCP/UDP/IP and then see what response you get.
You can also build an cable and monitor two devices communicating through RS232.
There is also three different monitor modes.
"Serial Monitor" can monitor/spy on an another application using the serial port,
"Serial Internal Monitor" (Win2000/XP only) is like "Serial Monitor" but also has timestamps and
"Serial External Monitor" (Win2000/XP only) uses two serial ports and an external cable to monitor/spy on
two units that are communicating.
Other features of LKA is checksum calculation and terminal mode.
LKA is freeware and runs on NT4.0 / Win2000 / XP.
Download and Installation
Download the latest version here
LKA 2.03.70 (1.3 Mb)
When downloaded, run the file and follow the install instructions.
Inline Filters
A new feature of LKA is the inline filter function.
The Inline filter works in real time and "sits" between the serial port and LKA.
All data that is sent or recieved on the serial port will be sent to the Inline
filter that is selected. It is then up to the Inline filter to add data to the
document and send data out on the serial port.
If you know C++ you can write yout own Inline filter, for example a server/slave function,
parse/decode data or a master function.
In the Comli Slave/Decoder/Master (included in the installation) all these
function has been included.
Download the source to a simple sample example here. lowercase.zip
Lowercase.zip is an Microsoft Visual C++ 6.0 project that includes everything
needed for to compile an inline filter dll with the simple function of making
all letters sent/recieved lowercase.
Observe that to use the lowercase example you must use LKA v1.30.56 or later.
Filters
The Filter function can filter/decode the data in a document when activeted.
There are a few filters included in the installation and if you
know a little bit about programming you can write your own filter
with the help of an example that you can download here.
uppercase.zip
Uppercase.zip is an Microsoft Visual C++ 6.0 project that includes everything
needed for to compile an filter dll with the simple function of making
all letters uppercase.
Observe that to use the uppercase example you must use LKA v1.25.53 or later.
As an example what the filters can do.
This is an "raw" captured PPP packet.

After the PPP filter has run the output looks like this.

After that the TCP/UDP/IP filter also has run the output now looks like this.

As you can se, the filter function can be extremly usefull.
With the help of the example you can implement a filter that decods
a protocol, remove DLE padding, etc.
History
Check out the history here.