summaryrefslogtreecommitdiff
path: root/readme.rst
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2019-02-18 21:38:04 +0100
committernorly <ny-git@enpas.org>2019-02-18 21:38:40 +0100
commit98a440e3f0152d1f4b4a28f8960f7443579a78bd (patch)
tree1398f04b2c4d539d07ee593918d81e153d39df78 /readme.rst
parentaf2eeee04aedc5816011a49192f338e6cc066acc (diff)
readme.rst: Add rationale behind the chosen configuration
Plus minor fixes.
Diffstat (limited to 'readme.rst')
-rw-r--r--readme.rst29
1 files changed, 27 insertions, 2 deletions
diff --git a/readme.rst b/readme.rst
index 2023d07..d2aced2 100644
--- a/readme.rst
+++ b/readme.rst
@@ -241,8 +241,8 @@ For this to function, the controller must be configured for 11 bit CAN
ID sending mode (using "``AT PB``", see code or datasheet).
-Once a frame has been sent and wait-for-reply mode is on (ATR1,
-configured on listen-only=off), or when the reply timeout expires and
+Once a frame has been sent and wait-for-reply mode is on (``ATR1``,
+configured on ``listen-only=off``), or when the reply timeout expires and
the driver sets the controller into monitoring mode (``ATMA``), the ELM327
will send one line for each received CAN frame, consisting of CAN ID,
DLC, and data::
@@ -268,6 +268,31 @@ incomplete) data frame::
+Rationale behind the chosen configuration
+------------------------------------------
+
+``AT E1``
+ Echo on
+
+ We need this to be able to get a prompt reliably.
+
+``AT S1``
+ Spaces on
+
+ We need this to distinguish 11/29 bit CAN addresses received.
+
+ Note:
+ We can usually do this using the line length (odd/even),
+ but this fails if the line is not transmitted fully to
+ the host (BUFFER FULL).
+
+``AT D1``
+ DLC on
+
+ We need this to tell the "length" of RTR frames.
+
+
+
To Do list for future development
----------------------------------