Commit Graph

40 Commits

Author SHA1 Message Date
Andrey G 35e9cdd3e4 Bluetooth jdy33: minor fixes (#4852)
* bluetooth: add '-BLE' suffix for BLE broadcast name

* bluetooth: show current connection status before setup procedure

* tunerstudio: actually show EFI_CONSOLE_* pins
2022-11-29 10:26:56 -05:00
Andrey G 6001214163 Bluetooth jdy33: save some memory (#4848)
* bluetooth: remove bluetooth_cancel command

No need. In case of error setup process will be canceled.

* bluetooth: no need to have separate thread for setup

Use same TinerStudio thread.

* bluetooth: pass tsChannel as argument

* bluetooth: use struct for baudrate - parameter table

* bluetooth: query MAC address if debug is enabled
2022-11-27 14:43:54 -05:00
Andrey G 5263f8f1b1 Bluetooth jdy33 setup minor fixes (#4834)
* bluetoth: only HC05 needs equal sign in AT+NAME command

* bluetooth: returt on all param errors

* bluetooth setup: return on fail and request
2022-11-27 08:47:02 -05:00
rusefillc ff11b916a3 validation of already initialized BT #4191 2022-11-17 11:40:39 -05:00
rusefillc b0e451880a validation of already initialized BT #4191 2022-11-17 11:39:09 -05:00
rusefillc ffd66f4065 Bluetooth jdy33 #4653 2022-11-16 23:12:05 -05:00
rusefillc 82c84609da Bluetooth jdy33 #4653 2022-11-16 18:29:50 -05:00
Andrey G dfa5aef590 Bluetooth jdy33 (#4653)
* bluetooth: use isdigit()

* bluetooth: abort setup on wrong pin, simplify checks

* bluetooth: more robust setup, jdy33 features

* bluetooth: JDY33 does not need this warning

* bluetooth: rework setup code
2022-11-16 18:13:06 -05:00
Andrey G 06638a5993 Bluetooth hang (#4632)
* tunerstudio: send BT disconnect notifications only for BT channel

* bluetooth: btProcessIsRunning duplicates btProcessIsStarted

* bluetooth: some comments

* bluetooth: no need to call chThdExit(), just exit thread function

* bluetooth: avoid possible race conditions: set flag first

* bluetooth: make "bluetooth_cancel" do something
2022-10-03 08:51:19 -04:00
Andrey G b285269f74 console: bluetooth: check if BT port exist before configuring (#4588) 2022-09-18 16:15:50 -04:00
Andrey 25b6d39802 os_access.h dead? 2022-09-07 15:56:45 -04:00
Matthew Kennedy 478549ccdf get rid of setSerialConfigurationOverrides (#4274)
* get rid of setSerialConfigurationOverrides

* missed a few

* kinetis
2022-06-23 19:42:09 -04:00
rusefillc 51b594c9ca BT 2022-03-11 13:06:47 -05:00
rusefillc c18df9918e Firmware support or user instructions for jdy-33 fix #3944 2022-03-10 17:01:25 -05:00
rusefillc 3a2156090b Firmware support or user instructions for jdy-33 #3944 2022-03-10 13:35:37 -05:00
rusefillc 86560ca27c Firmware support or user instructions for jdy-33 #3944 2022-03-10 12:49:04 -05:00
Scott Smith 80091498a6 Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565)
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"

git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Matthew Kennedy 39388c75d8 even more pch (#3112)
* s

* more

* s

* f7
2021-08-04 19:30:52 -04:00
Matthew Kennedy 4e6b61234f yet more pch (#3068)
* big pch energy

* put back ramdisk stub

* tests are happy

* h743 nucleo

* kinetis

* I love deleting code!

* make stepper happy

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-03 22:05:01 -04:00
Matthew Kennedy e3849b95d5 don't require EXTERN_ENGINE in every file (#2969)
* move enginePins

* no more extern engine

* uses

* more

* extern config too

* put this where it belongs

* include correct header

* merge
2021-07-16 18:13:33 -04:00
Matthew Kennedy 967383dd8e remove simple cases of LoggingWithStorage (#2569)
* remove simple cases

* more simple

* serial

* s

* more

* try memory

* easy

* mmc acc

* that's how much memory

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-19 08:11:59 -04:00
Matthew Kennedy 72dac58f9b fix multi-serial-port insanity (#2476)
* carve out UART specific

* implement channel

* config cleanup

* use new config

* bootloader

* dead code

* s

* h7 inherits f7

* oops

* ok now it's right

* tests

* cleanup

* call setup

* put that in its own file

* cleanup

* format

* guard

* not needed

* improve guarding

* portable

* allow override of uart mode

* fixes for bootloader

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 09:06:36 -04:00
Matthew Kennedy f8747a35bf set all thread priorities in the same place (#2412)
* unify thread priority

* header

* mmc
2021-02-28 07:30:45 -05:00
Matthew Kennedy 43f39fa616 start making tunerstudio more sane: part 1 (#2378)
* ts cleanup part 1

* unused unused

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-19 07:40:59 -05:00
rusefi c2e3ad0f94 ugly copy-paste 2020-05-04 00:10:20 -04:00
rusefi 94aa7aa9d2 this is all very sad 2020-05-03 02:30:05 -04:00
rusefi 9a2f6735b3 better names 2020-05-03 00:30:35 -04:00
rusefi 9115e00783 fixing headers 2020-05-02 22:20:41 -04:00
Matthew Kennedy 0ac3e06149 cleanup extern mess (#1237)
* cleanup

* move outside define
2020-03-29 19:06:03 -04:00
rusefi f47a1a16d1 getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
rusEfi 4c39a207a9 s/NULL/nullptr/ 2019-09-22 08:22:35 -04:00
rusefi f4da224654 fixing build 2019-07-05 17:15:49 -04:00
rusefi 8575e2f4d2 refactoring 2019-05-27 18:58:43 -04:00
rusefi 24948a2641 defined(__DOXYGEN__) ? fix #748 2019-04-12 22:10:57 -04:00
rusefi 0e82173958 #631 TIME_MS2I mostly 2019-01-28 20:00:17 -05:00
rusefi fed61c1af4 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:57:33 -05:00
rusefi 4868a9fd82 refactoring 2018-09-16 22:25:17 -04:00
andreika-git 7b4d27ce89 Added support for Bluetooth SPP-C module (#483) 2017-11-02 18:10:00 -04:00
Andrei 217662ec9d Bluetooth HC-05 draft 2017-06-05 01:07:02 +03:00
Andrei ff583c9305 Bluetooth setup, initial code 2017-06-04 15:52:44 +03:00