LPT1 record success only switch.
If set sniffer will record only packets which were confirmed by device. Some devices ignore confirmation so switch should be unchecked.
Enable auto Bookmarks switch.
If set allows your application to control Smart Sniffer. Execution of next C++ code from your application will be equal to manual click on “Insert Bookmark” in main window:
HANDLE hEv = CreateEvent(NULL, TRUE, FALSE, “MPS_MARK_EVENT”);
SetEvent(hEv);
CloseHandle(hEv);
This ability can be used in various ways, for example you may want to monitor exact call of procedure in your code amount hundreds others.
In short – you should create named event “MPS_MARK_EVENT” as Owner and pulse it. At this moment bookmark will be inserted into log by Smart Sniffer.
Emulation and recording switch.
It is located at the bottom of COM selection window. Once checked it asks for the text file name. Selected file will be reloaded on each click of “Start” button so there is no need to check/unchek switch if file was changed.
Selected text file should contain rules in form of input/outputs pairs where each input and ouput is placed on single line in ASCII-Hex format, without any trash, like that:
O:4B FA 25 00 01 01 01 11 C0 7E
I:4B FA 25 00 01 01 20 E2 7EO:4B FA 25 00 01 02 01 11 C0 7E
I:4B FA 25 00 01 38 20 E2 7E
Any extra spaces are ignored but “O:” and “I:” MUST start the line otherwise line is ignored as well. File MUST be ended by empty line (just press ENTER in text editor couple times). To make such rule-files you can use “text export” into MPSLViewer and PrepRules.exe included in package.
How is it working?
When Smart Sniffer meets outgoing data packet which is listed into rule-file(marked by “O:”) it records incoming response from device AND replaces it by 1st line “I:” which is pair for “O:”. So end-user program will receive EMULATED (modified) values from the text file. Final record will have both original input and replacement for it, so you are able to check.
Emulator has couple limitations. One known is that Smart Sniffer cannot change sizes of packets or create new packets, so program may receive more or less data in case it expects fixed amount which is rare.
Emulator was tested on Windows Vista and XP SP3.
Open just saved log
Saved log will be loaded by MPSLViewer immediatly if checked.
Stealth Mode
In this mode program will change randomly all internal specifiec values. So Sniffer became hard to be detected by other software. The intensity of Stealth is picked up automatically by Sniffer depending on limitations of your current system.
However, some programs may check memory for the file names, we suggest you will rename SmartSniffer.exe manually to complete Stealth. Also close this help file and MPSLViewer(s) because it has references to Smart Sniffer and can be detected.
Use this mode only when needed because it may produce system crushes (“blue screen of death”). Make sure you have saved all important before using Stealth.