Commit Graph

822 Commits

Author SHA1 Message Date
Matthew Kennedy 8bd8fd206b detect console disconnection faster (#3926)
* optimize reads

* try to reconnect in 1 second

* print more

* inspection results

* put the timeout back

* note about race

* s
2022-02-12 06:44:58 -05:00
rusefillc 7647e9b9c8 console connectivity on specific Win11 device #3923
well nice call but no difference for our specific issue
2022-02-11 23:10:14 -05:00
rusefillc 2fe516c1c9 console connectivity on specific Win11 device #3923 2022-02-11 22:59:53 -05:00
rusefi 6555cfd567 console connectivity on specific Win11 device #3923 2022-02-11 22:40:49 -05:00
rusefillc 726c9ecec7 H7 console scare #3923 2022-02-11 19:52:46 -05:00
Matthew Kennedy 9b71969ae2 Chunk outputchannels (#3916)
* executeCommand knows about opcodes

* kick

* remove allowLongResponse

* unused

* chunk output channel reads

* add api in firmware instead

* test size

* bad merge

* firmware missed a spot

* bad merge

* fix logic

* haha we have to disable it

* we can remove the TODO from #3917
2022-02-11 17:24:08 -05:00
Matthew Kennedy 53ae63df09 move allowLongResponse option to ECU side (#3917)
* executeCommand knows about opcodes

* kick

* remove allowLongResponse

* add api in firmware instead

* test size

* bad merge

* firmware missed a spot

* fix logic

* haha we have to disable it
2022-02-11 16:03:20 -05:00
rusefillc 7d03120782 this log message deserves a promotion! 2022-02-11 11:07:38 -05:00
rusefillc c8f1849bc2 rusEFI console does not stay alive #3912
test infrastructure progress
2022-02-11 10:20:10 -05:00
rusefillc 8e70327556 rusEFI console does not stay alive #3912
test infrastructure progress
2022-02-11 10:19:30 -05:00
rusefillc c8a79b623c rusEFI console does not stay alive #3912
test infrastructure progress
2022-02-11 09:31:16 -05:00
rusefillc f4e2369285 rusEFI console does not stay alive #3912
test infrastructure progress
2022-02-11 09:15:32 -05:00
rusefillc f2c842f6f0 serial sandbox 2022-02-11 08:50:53 -05:00
rusefillc 171a030562 minor refactoring 2022-02-11 08:50:42 -05:00
rusefillc fea528893c refactoring: extracting logging stuff 2022-02-11 08:50:29 -05:00
Matthew Kennedy 8f85aea3bd executeCommand knows about opcodes (#3915)
* executeCommand knows about opcodes

* kick

* extra line

* gross duplication

* ugh more
2022-02-11 07:03:15 -05:00
rusefillc 6241b696f2 docs 2022-02-10 23:17:42 -05:00
rusefillc 13fd96165d just refactoring 2022-02-10 22:45:35 -05:00
rusefillc 9a7713966d just refactoring 2022-02-10 22:45:30 -05:00
Matthew Kennedy 27b2032e25 more intellij inspection (#3910)
* first part

* some more small ones

* more inspect
2022-02-10 18:56:59 -05:00
GitHub build-firmware Action 0e95d2fef3 Auto-generated configs and docs 2022-02-06 19:04:42 +00:00
GitHub build-firmware Action 24caf18d46 Auto-generated configs and docs 2022-02-06 17:57:16 +00:00
rusefillc 58ffb5382f packing unused 2022-02-01 22:07:42 -05:00
GitHub build-firmware Action 484f997d8f Auto-generated configs and docs 2022-01-31 23:26:47 +00:00
rusefillc 94a8e1a5c9 very strange very wrong imports 2022-01-27 12:54:23 -05:00
rusefillc ea6dbce46d Live Data: removing .cpp from buttons 2022-01-24 21:10:46 -05:00
rusefi 35ab35d209 UI thread is the thread to open dialogs 2022-01-17 16:46:36 -05:00
Matthew Kennedy e240905df6 Revert "forced 4 byte thing is actually no longer needed so much" (#3785)
* Revert "forced 4 byte thing is actually no longer needed so much"

This reverts commit 6b280043c7.

* bump flash version to force a re-write
2022-01-12 21:59:21 -05:00
rusefillc dbed73decf refactoring 2022-01-11 23:37:02 -05:00
rusefillc 84b2a906c1 rusefi_Console: Too long re-connection time #3305
clean-up
2022-01-11 23:35:55 -05:00
alxrMironovHome 654ee81154 Java Console reconnection fixing (by issue #3305) (#3716)
* ADD: Port closing & and reconnection attempt at restart event

* FIX: Syntax error

* Explicitly initialization of lastTriedPort

* Explicitly initialization of isStarted

* Revert "Explicitly initialization of isStarted"

This reverts commit 4acdd44d6cb7c46caa22f1dece4aef61798756fd.

* DEL: Dead code

Co-authored-by: alxrMironov <330OMcorporative>
2022-01-11 23:33:05 -05:00
rusefillc bb77e30f0c logging of live data structs #3614 2022-01-11 22:54:57 -05:00
rusefillc 54d77a62f6 console crash #3772 2022-01-11 13:03:09 -05:00
rusefillc 69acf0abde RE usability: live data for idle controller 2022-01-10 21:56:27 -05:00
rusefillc ca6b7bba23 Live Data progress 2022-01-06 17:58:59 -05:00
rusefillc 6b280043c7 forced 4 byte thing is actually no longer needed so much 2022-01-05 00:24:17 -05:00
rusefillc 7271331d2e why so many channels are hidden in debug ? #3614 2022-01-02 02:04:25 -05:00
rusefillc a02a269c39 GDI Epic #1448
live view
2021-12-31 15:57:44 -05:00
GitHub build-firmware Action c2e4a9fa10 Auto-generated configs and docs 2021-12-31 20:34:37 +00:00
GitHub build-firmware Action d1b7db5015 Auto-generated configs and docs 2021-12-30 02:53:30 +00:00
rusefillc 6d845af1a9 one day fix this mess 2021-12-23 23:36:19 -05:00
GitHub build-firmware Action 251cfa8393 Auto-generated configs and docs 2021-12-23 21:46:59 +00:00
rusefillc 9500ccb474 PCAN sandbox - error requestOutputChannels #3698
improving logging
2021-12-19 00:43:22 -05:00
rusefillc 92f9335d73 PCAN sandbox - error requestOutputChannels #3698
improving logging
2021-12-19 00:00:54 -05:00
rusefillc 786af38314 logging improvement 2021-12-18 20:21:46 -05:00
rusefi 227e3fbb34 better logging 2021-12-18 19:33:59 -05:00
rusefillc b0c1a8fb2e MAP phase sensing fix #3544
removing dead implementation
2021-12-16 21:28:27 -05:00
rusefillc 1781621bdb live data progress 2021-12-16 21:09:32 -05:00
rusefillc d923175882 refactoring 2021-12-16 19:17:37 -05:00
rusefillc a63f235f12 refactoring 2021-12-16 19:12:39 -05:00
GitHub build-firmware Action 2ebaee92f8 Auto-generated configs and docs 2021-12-16 21:24:43 +00:00
rusefillc cc5c8a5e43 live data for wastegate and launch control #3588 2021-12-16 16:14:13 -05:00
rusefillc 7684b66972 live data for wastegate and launch control #3588 2021-12-16 15:17:35 -05:00
rusefillc 190514823f rusEFI console ISO-TP via PCAN #3667
console port selector UI
2021-12-08 20:29:40 -05:00
rusefillc ed0b16a11c minor refactoring 2021-12-08 19:35:30 -05:00
rusefillc 6d248db16d rusEFI console ISO-TP via PCAN #3667
WOW, YES!!!
2021-12-08 19:01:44 -05:00
rusefillc 266083db14 progress 2021-12-08 11:55:34 -05:00
Andrey d3afd617d2 MAP phase sensing #3544
new implementation seems complete?
2021-12-07 21:08:25 -05:00
rusefillc 2daacabe42 rusEFI console ISO-TP via PCAN #3667
better logging
2021-12-07 15:19:27 -05:00
rusefillc cc069ce350 rusEFI console ISO-TP via PCAN #3667
explicit error
2021-12-07 15:19:01 -05:00
rusefillc 5a68b7a22c test coverage related to https://github.com/rusefi/rusefi/issues/3361#issuecomment-987556760
logging improvements
2021-12-07 01:23:30 -05:00
rusefillc 298c8a8493 test coverage related to https://github.com/rusefi/rusefi/issues/3361#issuecomment-987556760
code readability and test readability
2021-12-07 00:25:38 -05:00
rusefillc a467bb4b52 test coverage related to https://github.com/rusefi/rusefi/issues/3361#issuecomment-987556760 2021-12-07 00:05:48 -05:00
rusefillc bfd2265b38 docs 2021-12-07 00:01:55 -05:00
rusefillc 11cab664cb docs 2021-12-06 23:55:48 -05:00
rusefillc 15d97214e2 refactoring 2021-12-06 22:53:17 -05:00
rusefillc 8c73525235 docs 2021-12-06 22:19:30 -05:00
rusefillc 7ef5d8e28c refactoring 2021-12-06 21:42:21 -05:00
rusefillc ebc24cd71b https://rusefi.com/forum/viewtopic.php?f=18&t=2236 2021-12-06 21:31:49 -05:00
rusefillc 9311417507 SimulatorTcpSandbox
code reuse
2021-12-06 18:59:39 -05:00
rusefillc d80b055f7b SimulatorTcpSandbox 2021-12-06 18:55:33 -05:00
rusefillc ff68d7ad4f SimulatorTcpSandbox 2021-12-06 17:27:38 -05:00
rusefillc 740f594def TcpConnector: reusing LOCALHOST 2021-12-06 17:10:13 -05:00
rusefillc ddbe875d98 MAP phase sensing #3544
trigger sync better gauges/logging
2021-12-06 17:04:05 -05:00
rusefillc 892c303d9b isolating issue with unconsumed data 2021-12-06 12:43:53 -05:00
rusefillc 1935749e27 mostly logging improvements 2021-12-06 12:24:48 -05:00
rusefillc 458f3a854d PCAN LOOKS GREAT 2021-12-06 12:04:37 -05:00
rusefillc b8448d1b7a pcan wrapper 2021-12-06 12:01:56 -05:00
rusefillc 258b3e0534 sandbox bugfix :( 2021-12-06 01:53:27 -05:00
rusefillc 7c973b7ca4 I am super confused :( looks great with signature 2021-12-06 00:08:43 -05:00
rusefillc 068d9f6daf dead methods 2021-12-06 00:07:53 -05:00
rusefillc 272f7bc66f tune via CAN #3361
sandbox progress
2021-12-05 23:54:50 -05:00
rusefillc f9c4c8b518 logging improvements 2021-12-05 23:54:07 -05:00
rusefillc cb5e22dd7a dead method 2021-12-05 22:56:41 -05:00
rusefillc 292caf6b69 tune via CAN #3361
we shall share
2021-12-05 22:56:31 -05:00
rusefillc 81b9f9b44e tune via CAN #3361
useful abstract class
2021-12-05 22:22:39 -05:00
rusefillc efacba6454 tune via CAN #3361
sandbox progress
2021-12-05 21:21:37 -05:00
rusefillc 9495292943 elm useful 2021-12-05 10:19:42 -05:00
rusefillc c5445526f5 Elm327Connector - exceptions are for exceptional situations only 2021-12-05 01:45:18 -05:00
rusefillc a875aa62fb Elm327Connector.processLine(): {STOPPED} #3655 2021-12-05 01:44:34 -05:00
rusefillc f2e1d958ee ELM327 optimization: sendShortPacketsInOneFrame #3656 2021-12-05 00:43:04 -05:00
rusefillc 4efa959f47 nicer API 2021-12-05 00:31:58 -05:00
rusefillc 53845b627e ELM327 connector: second HELLO fails fix #3654 2021-12-04 23:16:30 -05:00
rusefillc 76d55f52cf API progress 2021-12-04 23:16:30 -05:00
rusefillc 0a13200527 tune via CAN #3361
better constant name
2021-12-04 22:29:53 -05:00
rusefillc 2f772748e6 tune via CAN #3361
looks like a bug? second single-byte does not work

Got rusEFI 2021.12.04.mre_f4.3386359712  signature via CAN/ELM327
Got null signature via CAN/ELM327
2021-12-04 22:27:30 -05:00
rusefillc cb9c1fe19c tune via CAN #3361
one step back - sandbox reads signature again!
2021-12-04 21:57:45 -05:00
rusefillc 6ef62ab177 tune via CAN #3361
sandbox progress
2021-12-04 21:07:31 -05:00
rusefillc 729da45e4c docs 2021-12-04 21:07:10 -05:00
rusefillc cee5a2adfb refactoring: nicer API 2021-12-04 21:06:47 -05:00
rusefillc 289d349b78 code formatting 2021-12-04 21:06:28 -05:00
rusefillc 08aacafc8c tune via CAN #3361
todo: find a better place for these defs
2021-12-04 20:34:31 -05:00
rusefillc eecbbfb02b tune via CAN #3361
making code greener
2021-12-04 20:12:47 -05:00
rusefillc 0dcbfc38da tune via CAN #3361
only trivial refactoring
2021-12-04 20:10:30 -05:00
rusefillc 393aa5a800 smallest logging improvement 2021-12-04 20:01:41 -05:00
rusefillc 341bcc80e3 tune via CAN #3361
OMG that was a lame bug
2021-12-04 19:59:24 -05:00
rusefillc 4918dbb7b0 tune via CAN #3361
we now have at least some signs of life!
2021-12-04 18:21:10 -05:00
rusefillc fe5889b847 tune via CAN #3361
separating buffered serial from non-buffered
2021-12-04 17:49:04 -05:00
rusefillc 903f30e6ba smallest refactoring 2021-12-04 17:49:04 -05:00
rusefillc 4a18bb0617 it's not funny sandbox works :( 2021-12-04 14:29:27 -05:00
rusefillc d9a7433a03 refactoring: explicit data listener 2021-12-04 14:22:48 -05:00
rusefillc 154db2b495 refactoring: explicit lock, removal of one dead code line, better magic constant 2021-12-04 14:06:34 -05:00
rusefillc 7662134f9c ELM327 bugfix: baud rate 2021-12-04 14:03:05 -05:00
rusefillc bdbf747898 ELM327 bugfix: port was opened twice 2021-12-04 14:02:54 -05:00
rusefillc c565c662fd making code greener 2021-12-04 12:19:48 -05:00
rusefillc 37ef7302d4 tune via CAN #3361 2021-12-04 01:36:15 -05:00
rusefillc 34174fc7ee tune via CAN #3361 2021-12-04 01:19:53 -05:00
rusefillc 3cf4be3aa9 why so many channels are hidden in debug ? #3614 2021-11-29 14:11:19 -05:00
rusefillc 194cd8ea11 why so many channels are hidden in debug ? #3614 2021-11-29 10:44:41 -05:00
GitHub build-firmware Action ca5ba2f8e8 Auto-generated configs and docs 2021-11-26 02:06:11 +00:00
Andrey a42a52bb2e MAP phase sensing #3544 2021-11-24 22:35:56 -05:00
rusefi d981f54aa5 docs 2021-11-24 14:53:26 -05:00
rusefi 622888d5d4 humans are made out of meat 2021-11-24 14:50:53 -05:00
GitHub build-firmware Action 810abd0175 Auto-generated configs and docs 2021-11-24 18:04:35 +00:00
Matthew Kennedy 5274cffff3 main relay doesn't use fsio (#3580)
* fuel pump

* s

* call correct callback

* more dead

* test adjustment

* don't overflow

* don't need separate function

* java

* give it a name

* generated

* generated

* add to generate script

* import *

* this is so cheap we don't need a flag

* main relay

* plumbing

* dead fsio stuff

* test it

* by 100%, we mean 99.98%
2021-11-24 07:47:51 -05:00
rusefillc d49085237d doc 2021-11-23 17:16:22 -05:00
rusefillc b89a451a2f rusEFI console to has "Erase via DFU" button #2250 2021-11-23 16:49:20 -05:00
rusefillc 44754607ef rusEFI console to has "Erase via DFU" button #2250 2021-11-23 16:24:05 -05:00
Matthew Kennedy e7956a53f6 fuel pump doesn't use fsio (#3576)
* fuel pump

* s

* call correct callback

* more dead

* test adjustment

* don't overflow

* don't need separate function

* java

* give it a name

* generated

* generated

* add to generate script

* import *

* this is so cheap we don't need a flag
2021-11-19 22:23:12 -05:00
GitHub build-firmware Action a3b9af0951 Auto-generated configs and docs 2021-11-19 12:08:29 +00:00
GitHub build-firmware Action 2762268d58 Auto-generated configs and docs 2021-11-14 03:02:10 +00:00
GitHub build-firmware Action 015a07576d Auto-generated configs and docs 2021-11-13 03:01:55 +00:00
GitHub build-firmware Action cf7231a8a0 Auto-generated configs and docs 2021-11-12 01:54:56 +00:00
GitHub build-firmware Action 3482cb9d87 Auto-generated configs and docs 2021-11-11 02:22:45 +00:00
GitHub build-firmware Action 2ee8ecb287 Auto-generated configs and docs 2021-11-07 03:59:47 +00:00
GitHub build-firmware Action 4dca92f21e Auto-generated configs and docs 2021-11-07 01:05:29 +00:00
GitHub build-firmware Action cab19aeba0 Auto-generated configs and docs 2021-11-06 23:15:42 +00:00
GitHub build-firmware Action beb2083509 Auto-generated configs and docs 2021-11-06 22:37:34 +00:00
GitHub build-firmware Action f3e6b44f89 Auto-generated configs and docs 2021-11-05 19:42:05 +00:00
GitHub build-firmware Action 6f2744a5c9 Auto-generated configs and docs 2021-11-05 11:19:56 +00:00
rusefillc 178f6fe9e8 Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353
fail faster!
2021-10-31 12:09:11 -04:00
GitHub build-firmware Action b632832407 Auto-generated configs and docs 2021-10-31 02:31:01 +00:00
Andrey 346e617d6a https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 13:49:44 -04:00
GitHub build-firmware Action 1e8feb2d1f Auto-generated configs and docs 2021-10-28 16:45:50 +00:00
GitHub build-firmware Action 642403db21 Auto-generated configs and docs 2021-10-28 16:17:08 +00:00
Andrey 3bf9a982d9 https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 12:12:45 -04:00
rusefi 9c280ffe6b bugfix: somehow console shows duplicates in ports list 2021-10-27 23:40:17 -04:00
Andrey f526383aff UNUSED 2021-10-26 21:24:16 -04:00
GitHub build-firmware Action c53fc6823c Auto-generated configs and docs 2021-10-27 01:17:33 +00:00
Andrey 98fe894ce1 Honda K cam wheels #3405 2021-10-24 17:12:19 -04:00