DAS
Jump to navigation
Jump to search
DAS, or Diagnostic Assistance System,is the main software used for diagnosing pre-2013 cars. Each component of this software is explained here.
log.dll
Main logger DLL used by CAL, which in turn is used by DAS.
Writes its logs to LOGGERF.TXT.
API
| DllExport | |
|---|---|
| DLL_Log_Init(unused int, unused int, logdir char*, loglevel int, mode char*) | mode:
- APPEND: write append to the given file - REWRITE: overwrite the given file |
| DLL_Get_Last_Error() | Returns the last error set by the application
3000: log file already opened |
| DLL_Log_Write(unused int, flag byte, |
cal_real.dll
Called by cal.dll (to toggle between simulator mode and real mode).
Main API to interact with the vehicle.
Logging
This DLL either logs with DLL_Log_Write, or using SendMessageA on windows with class "MfxTraceWindow" (like Trc2File.exe), and if no window is found, uses OutputDebugString.
Configuration
| AppName | KeyName | Options | Description |
|---|---|---|---|
| LOGGER | LEVEL | 0
1 2 3 (default) |
Set log level |
| LOGGER | MODE | REWRITE (default)
APPEND |
| AppName | KeyName | Options | Description |
|---|---|---|---|
| SERVER | PLATFORM | PART_D | |
| PATH | DRIVER | PART_D specific setting, location of the slave.ini file | |
| SERVER | CPULOADREDUCTION | Calls CaesarSetOptions("CPULOADREDUCTION=%s") with the given value, if set | |
| AppName | KeyName | ||
|---|---|---|---|