|
rusEFI
The most advanced open source ECU
|
Functions | |
| size_t | getWidebandBus () |
| void | handleWidebandCan (const size_t busIndex, const CANRxFrame &frame) |
| bool | waitAck (int timeout=1000) |
| static void | setStatus (can_wbo_re_status_e status) |
| void | setWidebandOffsetNoWait (uint8_t hwIndex, uint8_t index) |
| void | setWidebandOffset (uint8_t hwIndex, uint8_t index) |
| void | setWidebandSensorType (uint8_t hwIndex, uint8_t type) |
| void | pingWideband (uint8_t hwIndex) |
| void | restartWideband () |
| void | sendWidebandInfo () |
| static int | updateWidebandFirmwarePrepare (size_t bus, uint8_t hwIndex) |
| static int | updateWidebandFirmwareFinalize (size_t bus, uint8_t) |
| void | updateWidebandFirmwareFromFile (uint8_t hwIndex) |
| void | updateWidebandFirmware (uint8_t hwIndex) |
Variables | |
| static thread_t * | waitingBootloaderThread = nullptr |
| static char | widebandRestart = 0 |
| static const char | wboFileName [] = "fw/wbo/wideband_image_with_bl.bin" |
| static const size_t | wboFwOffset = 6 * 1024 |
| static const size_t | wboFwMaxSize = 32 * 1024 |
| size_t getWidebandBus | ( | ) |
Definition at line 22 of file rusefi_wideband.cpp.
Referenced by AemXSeriesWideband::acceptFrame(), handleWidebandCan(), pingWideband(), sendWidebandInfo(), setWidebandOffsetNoWait(), setWidebandSensorType(), updateWidebandFirmware(), and updateWidebandFirmwareFromFile().

| void handleWidebandCan | ( | const size_t | busIndex, |
| const CANRxFrame & | frame | ||
| ) |
Definition at line 31 of file rusefi_wideband.cpp.
Referenced by processCanRxMessage().


| void pingWideband | ( | uint8_t | hwIndex | ) |
Definition at line 152 of file rusefi_wideband.cpp.
Referenced by executeTSCommand(), and initBenchTest().


| void restartWideband | ( | ) |
Definition at line 188 of file rusefi_wideband.cpp.
Referenced by executeTSCommand().

| void sendWidebandInfo | ( | ) |
Definition at line 194 of file rusefi_wideband.cpp.
Referenced by CanWrite::PeriodicTask().


|
static |
Definition at line 73 of file rusefi_wideband.cpp.
Referenced by pingWideband(), setWidebandOffset(), setWidebandSensorType(), updateWidebandFirmware(), updateWidebandFirmwareFromFile(), and updateWidebandFirmwarePrepare().

| void setWidebandOffset | ( | uint8_t | hwIndex, |
| uint8_t | index | ||
| ) |
Definition at line 93 of file rusefi_wideband.cpp.
Referenced by executeTSCommand(), and initBenchTest().


| void setWidebandOffsetNoWait | ( | uint8_t | hwIndex, |
| uint8_t | index | ||
| ) |
Definition at line 80 of file rusefi_wideband.cpp.
Referenced by sendWidebandInfo(), and setWidebandOffset().


| void setWidebandSensorType | ( | uint8_t | hwIndex, |
| uint8_t | type | ||
| ) |
Definition at line 123 of file rusefi_wideband.cpp.
Referenced by executeTSCommand().


| void updateWidebandFirmware | ( | uint8_t | hwIndex | ) |
Definition at line 401 of file rusefi_wideband.cpp.

|
static |
Definition at line 298 of file rusefi_wideband.cpp.
Referenced by updateWidebandFirmware(), and updateWidebandFirmwareFromFile().


| void updateWidebandFirmwareFromFile | ( | uint8_t | hwIndex | ) |
Definition at line 327 of file rusefi_wideband.cpp.

|
static |
Definition at line 228 of file rusefi_wideband.cpp.
Referenced by updateWidebandFirmware(), and updateWidebandFirmwareFromFile().


| bool waitAck | ( | int | timeout = 1000 | ) |
Definition at line 69 of file rusefi_wideband.cpp.
Referenced by pingWideband(), setWidebandOffset(), setWidebandSensorType(), updateWidebandFirmware(), updateWidebandFirmwareFinalize(), updateWidebandFirmwareFromFile(), and updateWidebandFirmwarePrepare().

|
static |
Definition at line 28 of file rusefi_wideband.cpp.
Referenced by handleWidebandCan(), pingWideband(), setWidebandOffset(), setWidebandSensorType(), updateWidebandFirmware(), updateWidebandFirmwareFinalize(), updateWidebandFirmwareFromFile(), and updateWidebandFirmwarePrepare().
|
static |
Definition at line 322 of file rusefi_wideband.cpp.
Referenced by updateWidebandFirmwareFromFile().
|
static |
Definition at line 325 of file rusefi_wideband.cpp.
|
static |
Definition at line 324 of file rusefi_wideband.cpp.
Referenced by updateWidebandFirmwareFromFile().
|
static |
Definition at line 29 of file rusefi_wideband.cpp.
Referenced by restartWideband(), and sendWidebandInfo().