Commit d5a0fcd
Support slow OBD adapters
Increase "0100" query (PIDS_A) timeout to support inexpensive/slow OBDII adapters.
This patch fixes the case in which "SEARCHING" is not shown after "0100",
due to slow response of cheap devices.
```
[obd.elm327] write: '0100\r'
[obd.elm327] read: b'SEARCHING...\r...
```
It should also fix the case in which the debug mode needs to be active:
in fact the debug logs might slow down the query timeout enough to be able
to catch the query answer.
Reference brendan-w#205
Reference brendan-w#200
Reference brendan-w#1871 parent c14db6a commit d5a0fcd
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
0 commit comments