summaryrefslogtreecommitdiff
path: root/readme.rst
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2022-03-04 08:06:36 +0100
committernorly <ny-git@enpas.org>2022-03-04 08:07:46 +0100
commit4c3b9ed9f52a47c853125f848fab50ad7ff11f3b (patch)
treee79cc0a94f7d917ffad4d921f6066d2a17058c32 /readme.rst
parente6fb8c97360e26908877df54251c95c768d76761 (diff)
readme.rst: Add hint on upping the interface before use
Also name 500kbit/s as the most common OBD-II speed, to save newcomers some headache.
Diffstat (limited to 'readme.rst')
-rw-r--r--readme.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/readme.rst b/readme.rst
index 4103d18..e379221 100644
--- a/readme.rst
+++ b/readme.rst
@@ -105,6 +105,20 @@ The line discipline can be attached on a command prompt as follows::
To change the ELM327's serial settings, please refer to its data
sheet. This needs to be done before attaching the line discipline.
+Once the ldisc is attached, the CAN interface starts out unconfigured.
+Set the speed before starting it:
+
+ # The interface needs to be down to change parameters
+ sudo ip link set can0 down
+ sudo ip link set can0 type can bitrate 500000
+ sudo ip link set can0 up
+
+500000 bit/s is a common rate for OBD-II diagnostics.
+If you're connecting straight to a car's OBD port, this is the speed
+that most cars (but not all!) expect.
+
+After this, you can set out as usual with candump, cansniffer, etc.
+
Known limitations of the controller