rusEFI
The most advanced open source ECU
|
Human-readable protocol status messages.
http://rusefi.com/forum/viewtopic.php?t=263 rusEfi console overview http://rusefi.com/forum/viewtopic.php?t=210 Commands overview
This file is part of rusEfi - see http://rusefi.com
rusEfi is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
rusEfi is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file status_loop.cpp.
Functions | |
static void | printVersionForConsole (const char *engineTypeName, const char *firmwareBuildId) |
static void | printOutPin (const char *pinName, brain_pin_e hwPin) |
static void | printEngineSnifferPinMappings () |
void | printOverallStatus () |
void | updateDevConsoleState () |
Sends all pending data to rusEfi console. | |
void | initWarningRunningPins () |
static void | initStatusLeds () |
static bool | isTriggerErrorNow () |
static int | packEngineMode () |
static void | updateTempSensors () |
void | updateUnfilteredRawPedal () |
static void | updateThrottles () |
static void | updateLambda () |
static void | updateFuelSensors () |
static void | updateEgtSensors () |
static void | updateVvtSensors () |
static void | updateVehicleSpeed () |
static void | updateRawSensors () |
static void | updatePressures () |
static void | updateMiscSensors () |
static void | updateSensors () |
static void | updateFuelCorrections () |
static void | updateFuelResults () |
static void | updateFuelInfo () |
static void | updateIgnition (float rpm) |
static void | updateFlags () |
void | updateTunerStudioState () |
void | startStatusThreads () |
Variables | |
WaveChart | waveChart |
int | maxTriggerReentrant |
uint32_t | maxLockedDuration |
static Timer | printVersionTimer |
static char | logicAnalyzerBuffer [LOGIC_ANALYZER_BUFFER_SIZE] |
static Logging | logicAnalyzerLogger ("logic analyzer", logicAnalyzerBuffer, sizeof(logicAnalyzerBuffer)) |
static OutputPin * | leds [] |
bool | consoleByteArrived |
static CommunicationBlinkingTask | communicationsBlinkingTask |
static SensorType | luaGaugeTypes [] |
|
static |
Definition at line 235 of file status_loop.cpp.
Referenced by startStatusThreads().
void initWarningRunningPins | ( | ) |
Definition at line 226 of file status_loop.cpp.
Referenced by initRealHardwareEngineController().
|
static |
Definition at line 240 of file status_loop.cpp.
Referenced by updateFlags().
|
static |
This is useful if we are changing engine mode dynamically For example http://rusefi.com/forum/viewtopic.php?f=5&t=1085
Definition at line 339 of file status_loop.cpp.
Referenced by updateTunerStudioState().
|
static |
Definition at line 126 of file status_loop.cpp.
Referenced by printOverallStatus().
|
static |
Definition at line 108 of file status_loop.cpp.
Referenced by printEngineSnifferPinMappings().
void printOverallStatus | ( | ) |
we report the version every second - this way the console does not need to request it and we will display it pretty soon
Definition at line 145 of file status_loop.cpp.
Referenced by handleGetText().
|
static |
Definition at line 96 of file status_loop.cpp.
Referenced by printOverallStatus().
void startStatusThreads | ( | ) |
Definition at line 768 of file status_loop.cpp.
Referenced by commonEarlyInit().
void updateDevConsoleState | ( | ) |
Sends all pending data to rusEfi console.
This method is periodically invoked by the main loop todo: is this mostly dead code?
Definition at line 183 of file status_loop.cpp.
Referenced by runMainLoop().
|
static |
Definition at line 432 of file status_loop.cpp.
Referenced by updateSensors().
|
static |
Definition at line 606 of file status_loop.cpp.
Referenced by updateTunerStudioState().
|
static |
Definition at line 572 of file status_loop.cpp.
Referenced by updateFuelInfo().
|
static |
Definition at line 588 of file status_loop.cpp.
Referenced by updateTunerStudioState().
|
static |
Definition at line 576 of file status_loop.cpp.
Referenced by updateFuelInfo().
|
static |
Definition at line 421 of file status_loop.cpp.
Referenced by updateSensors().
|
static |
Definition at line 600 of file status_loop.cpp.
Referenced by updateTunerStudioState().
|
static |
Definition at line 405 of file status_loop.cpp.
Referenced by updateSensors().
|
static |
Definition at line 542 of file status_loop.cpp.
Referenced by updateSensors().
|
static |
Definition at line 522 of file status_loop.cpp.
Referenced by updateSensors().
|
static |
Definition at line 475 of file status_loop.cpp.
Referenced by updateSensors().
|
static |
Definition at line 559 of file status_loop.cpp.
Referenced by updateTunerStudioState().
|
static |
Definition at line 345 of file status_loop.cpp.
Referenced by updateSensors().
|
static |
Definition at line 376 of file status_loop.cpp.
Referenced by updateSensors().
void updateTunerStudioState | ( | ) |
Definition at line 631 of file status_loop.cpp.
Referenced by TunerStudio::cmdOutputChannels(), configureRusefiLuaHooks(), and MLG::writeSdLogLine().
void updateUnfilteredRawPedal | ( | ) |
Definition at line 194 of file init_tps.cpp.
Referenced by updateThrottles().
|
static |
Definition at line 453 of file status_loop.cpp.
Referenced by updateSensors().
|
static |
Definition at line 443 of file status_loop.cpp.
Referenced by updateSensors().
|
static |
Definition at line 328 of file status_loop.cpp.
Referenced by startStatusThreads().
|
extern |
Definition at line 47 of file console_io.cpp.
Referenced by onDataArrived().
|
static |
|
static |
Definition at line 173 of file status_loop.cpp.
|
static |
Referenced by updateDevConsoleState().
|
static |
Definition at line 464 of file status_loop.cpp.
Referenced by updateRawSensors().
|
extern |
Maximum time before requesting lock and releasing lock at the end of critical section
Definition at line 549 of file error_handling.cpp.
Referenced by updateTunerStudioState().
|
extern |
Definition at line 460 of file trigger_central.cpp.
Referenced by updateTunerStudioState().
|
static |
Time when the firmware version was last reported TODO: implement a request/response instead of just constantly sending this out
Definition at line 93 of file status_loop.cpp.
Referenced by printOverallStatus().
|
extern |
Definition at line 68 of file engine_sniffer.cpp.
Referenced by printOverallStatus(), and Engine::resetEngineSnifferIfInTestMode().