Commit Graph

53 Commits

Author SHA1 Message Date
jcor25 10c6f78b2e Update bluetooth.cpp 2024-06-23 20:34:43 -04:00
Taylor 323e92fb1e fixed the efiPrintf to use %ld 2024-06-19 23:30:54 -04:00
Taylor 6231631dbc Update bluetooth.cpp 2024-06-19 23:30:54 -04:00
Matthew Kennedy 27e0a80c82 compile-time enforcement of printf strings
only:uaefi
2024-06-10 19:11:35 -04:00
Andrey Gusakov e0f0ee509e TS: bluetooth: deduplicate 2024-05-27 09:49:31 -04:00
jcor25 d60791999b
Bluetooth name change fix and character total reply for at version (#6447)
* Auto-generated default tune

* Update bluetooth.cpp

moved changed baud to second to last command.

---------

Co-authored-by: GitHub gen-default-tune Action <action@github.com>
2024-05-01 21:42:46 -04:00
jcor25 6bde3f15b0 Update bluetooth.cpp 2024-04-28 23:16:52 -04:00
jcor25 4fb19687c8 Update bluetooth.cpp 2024-04-28 23:16:52 -04:00
jcor25 ba6d168077 Update bluetooth.cpp 2024-04-28 23:16:52 -04:00
rusefillc f526239e86 bluetooth: better error message
only:uaefi
2024-04-01 16:09:57 -04:00
rusefillc fa106f8a51 identify board right in error message
only:uaefi
2024-04-01 16:04:34 -04:00
rusefillc 86d51236e3 random attempt at fixing some BT modules by trying a longer timeout
only:uaefi
2024-03-29 22:09:46 -04:00
rusefillc b69dab40a6 only: BK3232 2024-03-10 20:19:39 -04:00
Andrey G fee886b310
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 57c5ff6420
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 64371e0f3a
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 b28af58960 validation of already initialized BT #4191 2022-11-17 11:40:39 -05:00
rusefillc 576371bcc0 validation of already initialized BT #4191 2022-11-17 11:39:09 -05:00
rusefillc 1df07695a7 Bluetooth jdy33 #4653 2022-11-16 23:12:05 -05:00
rusefillc 4baf779b6d Bluetooth jdy33 #4653 2022-11-16 18:29:50 -05:00
Andrey G 92d47d1814
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 e8f33ce7ec
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 9632a3e056
console: bluetooth: check if BT port exist before configuring (#4588) 2022-09-18 16:15:50 -04:00
Andrey ab4b451195 os_access.h dead? 2022-09-07 15:56:45 -04:00
Matthew Kennedy b92c0149d6
get rid of setSerialConfigurationOverrides (#4274)
* get rid of setSerialConfigurationOverrides

* missed a few

* kinetis
2022-06-23 19:42:09 -04:00
rusefillc 47d84d8c0d BT 2022-03-11 13:06:47 -05:00
rusefillc 23514b7e5c Firmware support or user instructions for jdy-33 fix #3944 2022-03-10 17:01:25 -05:00
rusefillc 0f5cb33426 Firmware support or user instructions for jdy-33 #3944 2022-03-10 13:35:37 -05:00
rusefillc 22eb5a8073 Firmware support or user instructions for jdy-33 #3944 2022-03-10 12:49:04 -05:00
Scott Smith 823d9a07e0
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 d24f1462e2
even more pch (#3112)
* s

* more

* s

* f7
2021-08-04 19:30:52 -04:00
Matthew Kennedy 25414ebdad
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 2ce7777865
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 bbb6b6dd14
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 f0cf4f38ff
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 b1873b3d8b
set all thread priorities in the same place (#2412)
* unify thread priority

* header

* mmc
2021-02-28 07:30:45 -05:00
Matthew Kennedy bc85adc74e
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 69a232e12d ugly copy-paste 2020-05-04 00:10:20 -04:00
rusefi c5dca5b958 this is all very sad 2020-05-03 02:30:05 -04:00
rusefi 32b724dba7 better names 2020-05-03 00:30:35 -04:00
rusefi 5eddfeebdd fixing headers 2020-05-02 22:20:41 -04:00
Matthew Kennedy 8fd9842310
cleanup extern mess (#1237)
* cleanup

* move outside define
2020-03-29 19:06:03 -04:00
rusefi af4f20551b getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
rusEfi d5ef749761 s/NULL/nullptr/ 2019-09-22 08:22:35 -04:00
rusefi 9574ef842d fixing build 2019-07-05 17:15:49 -04:00
rusefi 2ac7d748ac refactoring 2019-05-27 18:58:43 -04:00
rusefi d8281626df defined(__DOXYGEN__) ? fix #748 2019-04-12 22:10:57 -04:00
rusefi d9c8c1fc3e #631 TIME_MS2I mostly 2019-01-28 20:00:17 -05:00
rusefi cbd2d69731 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:57:33 -05:00
rusefi 3b87b725d1 refactoring 2018-09-16 22:25:17 -04:00