diff options
author | norly <ny-git@enpas.org> | 2019-02-18 21:38:04 +0100 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2019-02-18 21:38:40 +0100 |
commit | 98a440e3f0152d1f4b4a28f8960f7443579a78bd (patch) | |
tree | 1398f04b2c4d539d07ee593918d81e153d39df78 | |
parent | af2eeee04aedc5816011a49192f338e6cc066acc (diff) |
readme.rst: Add rationale behind the chosen configuration
Plus minor fixes.
-rw-r--r-- | readme.rst | 29 |
1 files changed, 27 insertions, 2 deletions
@@ -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 ---------------------------------- |