Archived
Simplify OBD init command lists
Remove redundant OBD initialization commands (ATZ, ATE0, ATL0, ATS0, ATH0) from configs. config.yaml now only uses ATSP6 for the device, and templates.yaml clears init_commands for one template and sets only ATSP6 for the other. This reduces unnecessary reset/echo/linefeed commands and relies on explicit protocol selection.
This commit is contained in:
1 parent
0fe6f00782
commit
94ddb8fdda
2 files changed
+2
-7
No files matched your search
+2
-2
@@ -78,7 +78,7 @@ templates:
|
||||
tx_char_uuid: "FFF2"
|
||||
rx_char_uuid: "FFF1"
|
||||
tx_delay: 50ms
|
||||
init_commands: ["ATZ", "ATE0", "ATL0", "ATS0", "ATH0", "ATSP0"]
|
||||
init_commands: []
|
||||
sensors:
|
||||
- { key: rpm, preset: rpm, update_interval: 1s }
|
||||
- { key: speed, preset: speed, update_interval: 1s }
|
||||
@@ -97,7 +97,7 @@ templates:
|
||||
tx_char_uuid: "2AF1"
|
||||
rx_char_uuid: "2AF0"
|
||||
tx_delay: 50ms
|
||||
init_commands: ["ATZ", "ATE0", "ATL0", "ATS0", "ATH0", "ATSP6"]
|
||||
init_commands: ["ATSP6"]
|
||||
sensors:
|
||||
- { key: rpm, preset: rpm, update_interval: 1s }
|
||||
- { key: speed, preset: speed, update_interval: 1s }
|
||||
|
||||
Reference in new issue
Block a user