Difference between revisions of "CAESAR"
(Created page with "CAESAR is the library the old DAS software uses to communicate with devices like SDConnect Toolkit. Its main DLL is c32s.dll. == Log configuration == === ceasar_cf.ini === S...") |
|||
| Line 1: | Line 1: | ||
CAESAR is the library the old DAS software uses to communicate with devices like SDConnect Toolkit. Its main DLL is c32s.dll. | CAESAR is the library the old DAS software uses to communicate with devices like SDConnect Toolkit. Its main DLL is c32s.dll. | ||
| − | == | + | == C32S.dll == |
| − | === ceasar_cf.ini === | + | ===Log configuration=== |
| + | |||
| + | ====ceasar_cf.ini==== | ||
Setting some of these fields will make the logfile report "Developer mode" in the logfile, by sub_10038A90. | Setting some of these fields will make the logfile report "Developer mode" in the logfile, by sub_10038A90. | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 78: | Line 80: | ||
|} | |} | ||
| − | == API == | + | ==== slave.ini ==== |
| + | {| class="wikitable" | ||
| + | |+ | ||
| + | !AppName | ||
| + | !KeyName | ||
| + | !Options | ||
| + | ! | ||
| + | |- | ||
| + | |General | ||
| + | |Logging | ||
| + | |Off (default) | ||
| + | LogToFile | ||
| + | |||
| + | LogToCaesarTrace | ||
| + | |LogToFile generates cider0.log, etc | ||
| + | LogToCaesarTrace wll use DebugLine function in CAESAR as debug level 1 | ||
| + | |- | ||
| + | |General | ||
| + | |LoggingPath | ||
| + | | | ||
| + | |Path to the logfile. If not set, use current dir. | ||
| + | Must be set before Logging! | ||
| + | |- | ||
| + | |General | ||
| + | |VCILogging | ||
| + | |TRUE | ||
| + | FLASH | ||
| + | |||
| + | FALSE (default) | ||
| + | | | ||
| + | |} | ||
| + | |||
| + | ===API=== | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Latest revision as of 11:48, 5 August 2026
CAESAR is the library the old DAS software uses to communicate with devices like SDConnect Toolkit. Its main DLL is c32s.dll.
C32S.dll
Log configuration
ceasar_cf.ini
Setting some of these fields will make the logfile report "Developer mode" in the logfile, by sub_10038A90.
| AppName | KeyName | Options | Global variable | Description |
|---|---|---|---|---|
| SETTING | LEVEL | -1 (default)
0 1 2 3 4 5 |
DeveloperSetting_DebugLevel | Log level. |
| SETTING | POOL | -1 (default) | Seems to be unused | |
| SETTING | WELCOME | 0 (default) | DeveloperSetting_Welcome | Shows dialog on startup with "Start of CaesarConstruct" |
| SETTING | FORCEOUTPUT | 0 (default) | DeveloperSetting_ForceOutput | - Forces flush of MessageHook file when something is written |
| SETTING | MESSAGEHOOK | 0 (default) | DeveloperSetting_MessageHook | When enabled, tries to find XMLJUnitResultFormatter and .daimler. in the command line arguments, probably the output file.
If no output file was configured, default to caesar_req_res.txt Starts writing to the file with the following format: Line;Time;Ecu;Type;Bytes;Info; |
| SETTING | NOSTARTLOG | 0 (default) | DeveloperSetting_NoStartLog | Prevents logging configuration setup of %ProgramData%\Mercedes-Benz\Config\DAS\caesar\driver\slave.ini |
| SETTING | FILEMAX | 0 (default) | ||
| SETTING | FILENAME | "ceasar_local.log" (max 260 characters) |
slave.ini
| AppName | KeyName | Options | |
|---|---|---|---|
| General | Logging | Off (default)
LogToFile LogToCaesarTrace |
LogToFile generates cider0.log, etc
LogToCaesarTrace wll use DebugLine function in CAESAR as debug level 1 |
| General | LoggingPath | Path to the logfile. If not set, use current dir.
Must be set before Logging! | |
| General | VCILogging | TRUE
FLASH FALSE (default) |
API
| API | Description |
|---|---|
| CaesarSetDebugOutput(callback func(const char*, ...) int) | Sets callback function on address 102754D8 for log lines. |
| CaesarSetDebugLevel(level ushort) | Sets debug level on 10312A90.
level can be either 0, 1, 2, 3, or 4. This level overwrites the loglevel from caesar_cf.inf Calls CaesarSetDFlowMask with the following options: 0 - 0x0 1 - 0x10000000 2 - 0x30000000 3 - 0x70000000 4 - 0xFFFFFFFF |