€•‡¤Œsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ8/translations/zh_CN/networking/device_drivers/can/can327”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ8/translations/zh_TW/networking/device_drivers/can/can327”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ8/translations/it_IT/networking/device_drivers/can/can327”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ8/translations/ja_JP/networking/device_drivers/can/can327”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ8/translations/ko_KR/networking/device_drivers/can/can327”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ8/translations/pt_BR/networking/device_drivers/can/can327”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ8/translations/sp_SP/networking/device_drivers/can/can327”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)�”}”(hŒ7SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)”h]”hŒ7SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)”…”�”}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³ŒR/var/lib/git/docbuild/linux/Documentation/networking/device_drivers/can/can327.rst”h´KubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒ)can327: ELM327 driver for Linux SocketCAN”h]”hŒ)can327: ELM327 driver for Linux SocketCAN”…”�”}”(hhÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÊh²hh³hÇh´KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒAuthors”h]”hŒAuthors”…”�”}”(hhàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÝh²hh³hÇh´KubhŒ paragraph”“”)�”}”(hŒMax Staudt ”h]”(hŒ Max Staudt <”…”�”}”(hhðh²hh³Nh´NubhŒ reference”“”)�”}”(hŒ max@enpas.org”h]”hŒ max@enpas.org”…”�”}”(hhúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:max@enpas.org”uh1høhhðubhŒ>”…”�”}”(hhðh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K hhÝh²hubeh}”(h]”Œauthors”ah ]”h"]”Œauthors”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ Motivation”h]”hŒ Motivation”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjh²hh³hÇh´Kubhï)�”}”(hŒ\This driver aims to lower the initial cost for hackers interested in working with CAN buses.”h]”hŒ\This driver aims to lower the initial cost for hackers interested in working with CAN buses.”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Khjh²hubhï)�”}”(hŒCAN adapters are expensive, few, and far between. ELM327 interfaces are cheap and plentiful. Let's use ELM327s as CAN adapters.”h]”hŒ�CAN adapters are expensive, few, and far between. ELM327 interfaces are cheap and plentiful. Let’s use ELM327s as CAN adapters.”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Khjh²hubeh}”(h]”Œ motivation”ah ]”h"]”Œ motivation”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ Introduction”h]”hŒ Introduction”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjQh²hh³hÇh´Kubhï)�”}”(hŒ|This driver is an effort to turn abundant ELM327 based OBD interfaces into full fledged (as far as possible) CAN interfaces.”h]”hŒ|This driver is an effort to turn abundant ELM327 based OBD interfaces into full fledged (as far as possible) CAN interfaces.”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KhjQh²hubhï)�”}”(hŒ®Since the ELM327 was never meant to be a stand alone CAN controller, the driver has to switch between its modes as quickly as possible in order to fake full-duplex operation.”h]”hŒ®Since the ELM327 was never meant to be a stand alone CAN controller, the driver has to switch between its modes as quickly as possible in order to fake full-duplex operation.”…”�”}”(hjph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KhjQh²hubhï)�”}”(hŒÎAs such, can327 is a best effort driver. However, this is more than enough to implement simple request-response protocols (such as OBD II), and to monitor broadcast messages on a bus (such as in a vehicle).”h]”hŒÎAs such, can327 is a best effort driver. However, this is more than enough to implement simple request-response protocols (such as OBD II), and to monitor broadcast messages on a bus (such as in a vehicle).”…”�”}”(hj~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K#hjQh²hubhï)�”}”(hŒîMost ELM327s come as nondescript serial devices, attached via USB or Bluetooth. The driver cannot recognize them by itself, and as such it is up to the user to attach it in form of a TTY line discipline (similar to PPP, SLIP, slcan, ...).”h]”hŒîMost ELM327s come as nondescript serial devices, attached via USB or Bluetooth. The driver cannot recognize them by itself, and as such it is up to the user to attach it in form of a TTY line discipline (similar to PPP, SLIP, slcan, ...).”…”�”}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K'hjQh²hubhï)�”}”(hŒvThis driver is meant for ELM327 versions 1.4b and up, see below for known limitations in older controllers and clones.”h]”hŒvThis driver is meant for ELM327 versions 1.4b and up, see below for known limitations in older controllers and clones.”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K,hjQh²hubeh}”(h]”Œ introduction”ah ]”h"]”Œ introduction”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ Data sheet”h]”hŒ Data sheet”…”�”}”(hj³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj°h²hh³hÇh´K2ubhï)�”}”(hŒDThe official data sheets can be found at ELM electronics' home page:”h]”hŒFThe official data sheets can be found at ELM electronics’ home page:”…”�”}”(hjÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K4hj°h²hubhŒ block_quote”“”)�”}”(hŒ"https://www.elmelectronics.com/ ”h]”hï)�”}”(hŒhttps://www.elmelectronics.com/”h]”hù)�”}”(hj×h]”hŒhttps://www.elmelectronics.com/”…”�”}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j×uh1høhjÕubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K6hjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1jÏh³hÇh´K6hj°h²hubeh}”(h]”Œ data-sheet”ah ]”h"]”Œ data sheet”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´K2ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ!How to attach the line discipline”h]”hŒ!How to attach the line discipline”…”�”}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjûh²hh³hÇh´K;ubhï)�”}”(hŒzEvery ELM327 chip is factory programmed to operate at a serial setting of 38400 baud/s, 8 data bits, no parity, 1 stopbit.”h]”hŒzEvery ELM327 chip is factory programmed to operate at a serial setting of 38400 baud/s, 8 data bits, no parity, 1 stopbit.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K=hjûh²hubhï)�”}”(hŒqIf you have kept this default configuration, the line discipline can be attached on a command prompt as follows::”h]”hŒpIf you have kept this default configuration, the line discipline can be attached on a command prompt as follows:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K@hjûh²hubhŒ literal_block”“”)�”}”(hŒ»sudo ldattach \ --debug \ --speed 38400 \ --eightbits \ --noparity \ --onestopbit \ --iflag -ICRNL,INLCR,-IXOFF \ 30 \ /dev/ttyUSB0”h]”hŒ»sudo ldattach \ --debug \ --speed 38400 \ --eightbits \ --noparity \ --onestopbit \ --iflag -ICRNL,INLCR,-IXOFF \ 30 \ /dev/ttyUSB0”…”�”}”hj*sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j(h³hÇh´KChjûh²hubhï)�”}”(hŒƒTo change the ELM327's serial settings, please refer to its data sheet. This needs to be done before attaching the line discipline.”h]”hŒ…To change the ELM327’s serial settings, please refer to its data sheet. This needs to be done before attaching the line discipline.”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KMhjûh²hubhï)�”}”(hŒiOnce the ldisc is attached, the CAN interface starts out unconfigured. Set the speed before starting it::”h]”hŒhOnce the ldisc is attached, the CAN interface starts out unconfigured. Set the speed before starting it:”…”�”}”(hjFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KPhjûh²hubj))�”}”(hŒ—# 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”h]”hŒ—# 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”…”�”}”hjTsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j(h³hÇh´KShjûh²hubhï)�”}”(hŒ 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.”h]”hŒ¤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.”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KXhjûh²hubhï)�”}”(hŒCAfter this, you can set out as usual with candump, cansniffer, etc.”h]”hŒCAfter this, you can set out as usual with candump, cansniffer, etc.”…”�”}”(hjph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K\hjûh²hubeh}”(h]”Œ!how-to-attach-the-line-discipline”ah ]”h"]”Œ!how to attach the line discipline”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´K;ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ#How to check the controller version”h]”hŒ#How to check the controller version”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj†h²hh³hÇh´Kaubhï)�”}”(hŒ3Use a terminal program to attach to the controller.”h]”hŒ3Use a terminal program to attach to the controller.”…”�”}”(hj—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kchj†h²hubhï)�”}”(hŒUAfter issuing the "``AT WS``" command, the controller will respond with its version::”h]”(hŒAfter issuing the “”…”�”}”(hj¥h²hh³Nh´NubhŒliteral”“”)�”}”(hŒ ``AT WS``”h]”hŒAT WS”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hj¥ubhŒ:â€� command, the controller will respond with its version:”…”�”}”(hj¥h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kehj†h²hubj))�”}”(hŒ>AT WS ELM327 v1.4b >”h]”hŒ>AT WS ELM327 v1.4b >”…”�”}”hjÇsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j(h³hÇh´Khhj†h²hubhï)�”}”(hŒiNote that clones may claim to be any version they like. It is not indicative of their actual feature set.”h]”hŒiNote that clones may claim to be any version they like. It is not indicative of their actual feature set.”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kohj†h²hubeh}”(h]”Œ#how-to-check-the-controller-version”ah ]”h"]”Œ#how to check the controller version”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KaubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒCommunication example”h]”hŒCommunication example”…”�”}”(hjîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjëh²hh³hÇh´Kvubhï)�”}”(hŒÄThis is a short and incomplete introduction on how to talk to an ELM327. It is here to guide understanding of the controller's and the driver's limitation (listed below) as well as manual testing.”h]”hŒÈThis is a short and incomplete introduction on how to talk to an ELM327. It is here to guide understanding of the controller’s and the driver’s limitation (listed below) as well as manual testing.”…”�”}”(hjüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kxhjëh²hubhï)�”}”(hŒThe ELM327 has two modes:”h]”hŒThe ELM327 has two modes:”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K}hjëh²hubhŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hŒ Command mode”h]”hï)�”}”(hj!h]”hŒ Command mode”…”�”}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjh²hh³hÇh´Nubj)�”}”(hŒReception mode ”h]”hï)�”}”(hŒReception mode”h]”hŒReception mode”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K€hj6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1jh³hÇh´Khjëh²hubhï)�”}”(hŒ�In command mode, it expects one command per line, terminated by CR. By default, the prompt is a "``>``", after which a command can be entered::”h]”(hŒcIn command mode, it expects one command per line, terminated by CR. By default, the prompt is a “”…”�”}”(hjVh²hh³Nh´Nubj®)�”}”(hŒ``>``”h]”hŒ>”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hjVubhŒ*â€�, after which a command can be entered:”…”�”}”(hjVh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K‚hjëh²hubj))�”}”(hŒ >ATE1 OK >”h]”hŒ >ATE1 OK >”…”�”}”hjvsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j(h³hÇh´K†hjëh²hubhï)�”}”(hŒ¾The init script in the driver switches off several configuration options that are only meaningful in the original OBD scenario the chip is meant for, and are actually a hindrance for can327.”h]”hŒ¾The init script in the driver switches off several configuration options that are only meaningful in the original OBD scenario the chip is meant for, and are actually a hindrance for can327.”…”�”}”(hj„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KŠhjëh²hubhï)�”}”(hŒ…When a command is not recognized, such as by an older version of the ELM327, a question mark is printed as a response instead of OK::”h]”hŒ„When a command is not recognized, such as by an older version of the ELM327, a question mark is printed as a response instead of OK:”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K�hjëh²hubj))�”}”(hŒ>ATUNKNOWN ? >”h]”hŒ>ATUNKNOWN ? >”…”�”}”hj sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j(h³hÇh´K’hjëh²hubhï)�”}”(hŒkAt present, can327 does not evaluate this response. See the section below on known limitations for details.”h]”hŒkAt present, can327 does not evaluate this response. See the section below on known limitations for details.”…”�”}”(hj®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K–hjëh²hubhï)�”}”(hŒ“When a CAN frame is to be sent, the target address is configured, after which the frame is sent as a command that consists of the data's hex dump::”h]”hŒ”When a CAN frame is to be sent, the target address is configured, after which the frame is sent as a command that consists of the data’s hex dump:”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kšhjëh²hubj))�”}”(hŒ">ATSH123 OK >DEADBEEF12345678 OK >”h]”hŒ">ATSH123 OK >DEADBEEF12345678 OK >”…”�”}”hjÊsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j(h³hÇh´Kžhjëh²hubhï)�”}”(hŒàThe above interaction sends the SFF frame "``DE AD BE EF 12 34 56 78``" with (11 bit) CAN ID ``0x123``. For this to function, the controller must be configured for SFF sending mode (using "``AT PB``", see code or datasheet).”h]”(hŒ-The above interaction sends the SFF frame “”…”�”}”(hjØh²hh³Nh´Nubj®)�”}”(hŒ``DE AD BE EF 12 34 56 78``”h]”hŒDE AD BE EF 12 34 56 78”…”�”}”(hjàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hjØubhŒâ€� with (11 bit) CAN ID ”…”�”}”(hjØh²hh³Nh´Nubj®)�”}”(hŒ ``0x123``”h]”hŒ0x123”…”�”}”(hjòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hjØubhŒY. For this to function, the controller must be configured for SFF sending mode (using “”…”�”}”(hjØh²hh³Nh´Nubj®)�”}”(hŒ ``AT PB``”h]”hŒAT PB”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hjØubhŒâ€�, see code or datasheet).”…”�”}”(hjØh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K¤hjëh²hubhï)�”}”(hX.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::”h]”(hŒ:Once a frame has been sent and wait-for-reply mode is on (”…”�”}”(hjh²hh³Nh´Nubj®)�”}”(hŒ``ATR1``”h]”hŒATR1”…”�”}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hjubhŒ, configured on ”…”�”}”(hjh²hh³Nh´Nubj®)�”}”(hŒ``listen-only=off``”h]”hŒlisten-only=off”…”�”}”(hj6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hjubhŒ^), or when the reply timeout expires and the driver sets the controller into monitoring mode (”…”�”}”(hjh²hh³Nh´Nubj®)�”}”(hŒ``ATMA``”h]”hŒATMA”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hjubhŒb), the ELM327 will send one line for each received CAN frame, consisting of CAN ID, DLC, and data:”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kªhjëh²hubj))�”}”(hŒ123 8 DEADBEEF12345678”h]”hŒ123 8 DEADBEEF12345678”…”�”}”hj`sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j(h³hÇh´K°hjëh²hubhï)�”}”(hŒpFor EFF (29 bit) CAN frames, the address format is slightly different, which can327 uses to tell the two apart::”h]”hŒoFor EFF (29 bit) CAN frames, the address format is slightly different, which can327 uses to tell the two apart:”…”�”}”(hjnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K²hjëh²hubj))�”}”(hŒ12 34 56 78 8 DEADBEEF12345678”h]”hŒ12 34 56 78 8 DEADBEEF12345678”…”�”}”hj|sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j(h³hÇh´Kµhjëh²hubhï)�”}”(hŒdThe ELM327 will receive both SFF and EFF frames - the current CAN config (``ATPB``) does not matter.”h]”(hŒJThe ELM327 will receive both SFF and EFF frames - the current CAN config (”…”�”}”(hjŠh²hh³Nh´Nubj®)�”}”(hŒ``ATPB``”h]”hŒATPB”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hjŠubhŒ) does not matter.”…”�”}”(hjŠh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K·hjëh²hubhï)�”}”(hX%If the ELM327's internal UART sending buffer runs full, it will abort the monitoring mode, print "BUFFER FULL" and drop back into command mode. Note that in this case, unlike with other error messages, the error message may appear on the same line as the last (usually incomplete) data frame::”h]”hX*If the ELM327’s internal UART sending buffer runs full, it will abort the monitoring mode, print “BUFFER FULLâ€� and drop back into command mode. Note that in this case, unlike with other error messages, the error message may appear on the same line as the last (usually incomplete) data frame:”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K»hjëh²hubj))�”}”(hŒ%12 34 56 78 8 DEADBEEF123 BUFFER FULL”h]”hŒ%12 34 56 78 8 DEADBEEF123 BUFFER FULL”…”�”}”hj¸sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j(h³hÇh´KÁhjëh²hubeh}”(h]”Œcommunication-example”ah ]”h"]”Œcommunication example”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KvubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ#Known limitations of the controller”h]”hŒ#Known limitations of the controller”…”�”}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÎh²hh³hÇh´KÆubj)�”}”(hhh]”(j)�”}”(hXcClone devices ("v1.5" and others) Sending RTR frames is not supported and will be dropped silently. Receiving RTR with DLC 8 will appear to be a regular frame with the last received frame's DLC and payload. "``AT CSM``" (CAN Silent Monitoring, i.e. don't send CAN ACKs) is not supported, and is hard coded to ON. Thus, frames are not ACKed while listening: "``AT MA``" (Monitor All) will always be "silent". However, immediately after sending a frame, the ELM327 will be in "receive reply" mode, in which it *does* ACK any received frames. Once the bus goes silent, or an error occurs (such as BUFFER FULL), or the receive reply timeout runs out, the ELM327 will end reply reception mode on its own and can327 will fall back to "``AT MA``" in order to keep monitoring the bus. Other limitations may apply, depending on the clone and the quality of its firmware. ”h]”(hï)�”}”(hŒ!Clone devices ("v1.5" and others)”h]”hŒ%Clone devices (“v1.5â€� and others)”…”�”}”(hjæh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÈhjâubhï)�”}”(hŒASending RTR frames is not supported and will be dropped silently.”h]”hŒASending RTR frames is not supported and will be dropped silently.”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÊhjâubhï)�”}”(hŒjReceiving RTR with DLC 8 will appear to be a regular frame with the last received frame's DLC and payload.”h]”hŒlReceiving RTR with DLC 8 will appear to be a regular frame with the last received frame’s DLC and payload.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÌhjâubhï)�”}”(hX9"``AT CSM``" (CAN Silent Monitoring, i.e. don't send CAN ACKs) is not supported, and is hard coded to ON. Thus, frames are not ACKed while listening: "``AT MA``" (Monitor All) will always be "silent". However, immediately after sending a frame, the ELM327 will be in "receive reply" mode, in which it *does* ACK any received frames. Once the bus goes silent, or an error occurs (such as BUFFER FULL), or the receive reply timeout runs out, the ELM327 will end reply reception mode on its own and can327 will fall back to "``AT MA``" in order to keep monitoring the bus.”h]”(hŒ“”…”�”}”(hjh²hh³Nh´Nubj®)�”}”(hŒ ``AT CSM``”h]”hŒAT CSM”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hjubhŒ’â€� (CAN Silent Monitoring, i.e. don’t send CAN ACKs) is not supported, and is hard coded to ON. Thus, frames are not ACKed while listening: “”…”�”}”(hjh²hh³Nh´Nubj®)�”}”(hŒ ``AT MA``”h]”hŒAT MA”…”�”}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hjubhŒ—â€� (Monitor All) will always be “silentâ€�. However, immediately after sending a frame, the ELM327 will be in “receive replyâ€� mode, in which it ”…”�”}”(hjh²hh³Nh´NubhŒemphasis”“”)�”}”(hŒ*does*”h]”hŒdoes”…”�”}”(hj>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j<hjubhŒÙ ACK any received frames. Once the bus goes silent, or an error occurs (such as BUFFER FULL), or the receive reply timeout runs out, the ELM327 will end reply reception mode on its own and can327 will fall back to “”…”�”}”(hjh²hh³Nh´Nubj®)�”}”(hŒ ``AT MA``”h]”hŒAT MA”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hjubhŒ(â€� in order to keep monitoring the bus.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÏhjâubhï)�”}”(hŒTOther limitations may apply, depending on the clone and the quality of its firmware.”h]”hŒTOther limitations may apply, depending on the clone and the quality of its firmware.”…”�”}”(hjhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÙhjâubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjßh²hh³hÇh´Nubj)�”}”(hXáAll versions No full duplex operation is supported. The driver will switch between input/output mode as quickly as possible. The length of outgoing RTR frames cannot be set. In fact, some clones (tested with one identifying as "``v1.5``") are unable to send RTR frames at all. We don't have a way to get real-time notifications on CAN errors. While there is a command (``AT CS``) to retrieve some basic stats, we don't poll it as it would force us to interrupt reception mode. ”h]”(hï)�”}”(hŒ All versions”h]”hŒ All versions”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KÝhj|ubhï)�”}”(hŒoNo full duplex operation is supported. The driver will switch between input/output mode as quickly as possible.”h]”hŒoNo full duplex operation is supported. The driver will switch between input/output mode as quickly as possible.”…”�”}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kßhj|ubhï)�”}”(hŒ—The length of outgoing RTR frames cannot be set. In fact, some clones (tested with one identifying as "``v1.5``") are unable to send RTR frames at all.”h]”(hŒiThe length of outgoing RTR frames cannot be set. In fact, some clones (tested with one identifying as “”…”�”}”(hjœh²hh³Nh´Nubj®)�”}”(hŒ``v1.5``”h]”hŒv1.5”…”�”}”(hj¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hjœubhŒ*â€�) are unable to send RTR frames at all.”…”�”}”(hjœh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kâhj|ubhï)�”}”(hŒÇWe don't have a way to get real-time notifications on CAN errors. While there is a command (``AT CS``) to retrieve some basic stats, we don't poll it as it would force us to interrupt reception mode.”h]”(hŒ^We don’t have a way to get real-time notifications on CAN errors. While there is a command (”…”�”}”(hj¼h²hh³Nh´Nubj®)�”}”(hŒ ``AT CS``”h]”hŒAT CS”…”�”}”(hjÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hj¼ubhŒd) to retrieve some basic stats, we don’t poll it as it would force us to interrupt reception mode.”…”�”}”(hj¼h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kæhj|ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjßh²hh³hÇh´Nubj)�”}”(hX�Versions prior to 1.4b These versions do not send CAN ACKs when in monitoring mode (AT MA). However, they do send ACKs while waiting for a reply immediately after sending a frame. The driver maximizes this time to make the controller as useful as possible. Starting with version 1.4b, the ELM327 supports the "``AT CSM``" command, and the "listen-only" CAN option will take effect. ”h]”(hï)�”}”(hŒVersions prior to 1.4b”h]”hŒVersions prior to 1.4b”…”�”}”(hjæh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Këhjâubhï)�”}”(hŒéThese versions do not send CAN ACKs when in monitoring mode (AT MA). However, they do send ACKs while waiting for a reply immediately after sending a frame. The driver maximizes this time to make the controller as useful as possible.”h]”hŒéThese versions do not send CAN ACKs when in monitoring mode (AT MA). However, they do send ACKs while waiting for a reply immediately after sending a frame. The driver maximizes this time to make the controller as useful as possible.”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kíhjâubhï)�”}”(hŒ|Starting with version 1.4b, the ELM327 supports the "``AT CSM``" command, and the "listen-only" CAN option will take effect.”h]”(hŒ7Starting with version 1.4b, the ELM327 supports the “”…”�”}”(hjh²hh³Nh´Nubj®)�”}”(hŒ ``AT CSM``”h]”hŒAT CSM”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hjubhŒCâ€� command, and the “listen-onlyâ€� CAN option will take effect.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kòhjâubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjßh²hh³hÇh´Nubj)�”}”(hŒùVersions prior to 1.4 These chips do not support the "``AT PB``" command, and thus cannot change bitrate or SFF/EFF mode on-the-fly. This will have to be programmed by the user before attaching the line discipline. See the data sheet for details. ”h]”(hï)�”}”(hŒVersions prior to 1.4”h]”hŒVersions prior to 1.4”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Köhj(ubhï)�”}”(hŒàThese chips do not support the "``AT PB``" command, and thus cannot change bitrate or SFF/EFF mode on-the-fly. This will have to be programmed by the user before attaching the line discipline. See the data sheet for details.”h]”(hŒ"These chips do not support the “”…”�”}”(hj:h²hh³Nh´Nubj®)�”}”(hŒ ``AT PB``”h]”hŒAT PB”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hj:ubhŒ¹â€� command, and thus cannot change bitrate or SFF/EFF mode on-the-fly. This will have to be programmed by the user before attaching the line discipline. See the data sheet for details.”…”�”}”(hj:h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Køhj(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjßh²hh³hÇh´Nubj)�”}”(hXXVersions prior to 1.3 These chips cannot be used at all with can327. They do not support the "``AT D1``" command, which is necessary to avoid parsing conflicts on incoming data, as well as distinction of RTR frame lengths. Specifically, this allows for easy distinction of SFF and EFF frames, and to check whether frames are complete. While it is possible to deduce the type and length from the length of the line the ELM327 sends us, this method fails when the ELM327's UART output buffer overruns. It may abort sending in the middle of the line, which will then be mistaken for something else. ”h]”(hï)�”}”(hŒVersions prior to 1.3”h]”hŒVersions prior to 1.3”…”�”}”(hjdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Kþhj`ubhï)�”}”(hŒÈThese chips cannot be used at all with can327. They do not support the "``AT D1``" command, which is necessary to avoid parsing conflicts on incoming data, as well as distinction of RTR frame lengths.”h]”(hŒJThese chips cannot be used at all with can327. They do not support the “”…”�”}”(hjrh²hh³Nh´Nubj®)�”}”(hŒ ``AT D1``”h]”hŒAT D1”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hjrubhŒyâ€� command, which is necessary to avoid parsing conflicts on incoming data, as well as distinction of RTR frame lengths.”…”�”}”(hjrh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj`ubhï)�”}”(hXtSpecifically, this allows for easy distinction of SFF and EFF frames, and to check whether frames are complete. While it is possible to deduce the type and length from the length of the line the ELM327 sends us, this method fails when the ELM327's UART output buffer overruns. It may abort sending in the middle of the line, which will then be mistaken for something else.”h]”hXvSpecifically, this allows for easy distinction of SFF and EFF frames, and to check whether frames are complete. While it is possible to deduce the type and length from the length of the line the ELM327 sends us, this method fails when the ELM327’s UART output buffer overruns. It may abort sending in the middle of the line, which will then be mistaken for something else.”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhj`ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjßh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jTjUuh1jh³hÇh´KÈhjÎh²hubeh}”(h]”Œ#known-limitations-of-the-controller”ah ]”h"]”Œ#known limitations of the controller”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KÆubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒKnown limitations of the driver”h]”hŒKnown limitations of the driver”…”�”}”(hj·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj´h²hh³hÇh´Mubj)�”}”(hhh]”(j)�”}”(hXNo 8/7 timing. ELM327 can only set CAN bitrates that are of the form 500000/n, where n is an integer divisor. However there is an exception: With a separate flag, it may set the speed to be 8/7 of the speed indicated by the divisor. This mode is not currently implemented. ”h]”(hï)�”}”(hŒNo 8/7 timing.”h]”hŒNo 8/7 timing.”…”�”}”(hjÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÈubhï)�”}”(hXELM327 can only set CAN bitrates that are of the form 500000/n, where n is an integer divisor. However there is an exception: With a separate flag, it may set the speed to be 8/7 of the speed indicated by the divisor. This mode is not currently implemented.”h]”hXELM327 can only set CAN bitrates that are of the form 500000/n, where n is an integer divisor. However there is an exception: With a separate flag, it may set the speed to be 8/7 of the speed indicated by the divisor. This mode is not currently implemented.”…”�”}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MhjÈubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjÅh²hh³hÇh´Nubj)�”}”(hXhNo evaluation of command responses. The ELM327 will reply with OK when a command is understood, and with ? when it is not. The driver does not currently check this, and simply assumes that the chip understands every command. The driver is built such that functionality degrades gracefully nevertheless. See the section on known limitations of the controller. ”h]”(hï)�”}”(hŒ#No evaluation of command responses.”h]”hŒ#No evaluation of command responses.”…”�”}”(hjòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjîubhï)�”}”(hXBThe ELM327 will reply with OK when a command is understood, and with ? when it is not. The driver does not currently check this, and simply assumes that the chip understands every command. The driver is built such that functionality degrades gracefully nevertheless. See the section on known limitations of the controller.”h]”hXBThe ELM327 will reply with OK when a command is understood, and with ? when it is not. The driver does not currently check this, and simply assumes that the chip understands every command. The driver is built such that functionality degrades gracefully nevertheless. See the section on known limitations of the controller.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Mhjîubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjÅh²hh³hÇh´Nubj)�”}”(hXfNo use of hardware CAN ID filtering An ELM327's UART sending buffer will easily overflow on heavy CAN bus load, resulting in the "``BUFFER FULL``" message. Using the hardware filters available through "``AT CF xxx``" and "``AT CM xxx``" would be helpful here, however SocketCAN does not currently provide a facility to make use of such hardware features. ”h]”(hï)�”}”(hŒ#No use of hardware CAN ID filtering”h]”hŒ#No use of hardware CAN ID filtering”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M hjubhï)�”}”(hX>An ELM327's UART sending buffer will easily overflow on heavy CAN bus load, resulting in the "``BUFFER FULL``" message. Using the hardware filters available through "``AT CF xxx``" and "``AT CM xxx``" would be helpful here, however SocketCAN does not currently provide a facility to make use of such hardware features.”h]”(hŒbAn ELM327’s UART sending buffer will easily overflow on heavy CAN bus load, resulting in the “”…”�”}”(hj&h²hh³Nh´Nubj®)�”}”(hŒ``BUFFER FULL``”h]”hŒ BUFFER FULL”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hj&ubhŒ=â€� message. Using the hardware filters available through “”…”�”}”(hj&h²hh³Nh´Nubj®)�”}”(hŒ ``AT CF xxx``”h]”hŒ AT CF xxx”…”�”}”(hj@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hj&ubhŒ â€� and “”…”�”}”(hj&h²hh³Nh´Nubj®)�”}”(hŒ ``AT CM xxx``”h]”hŒ AT CM xxx”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hj&ubhŒyâ€� would be helpful here, however SocketCAN does not currently provide a facility to make use of such hardware features.”…”�”}”(hj&h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M"hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjÅh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jTjUuh1jh³hÇh´Mhj´h²hubeh}”(h]”Œknown-limitations-of-the-driver”ah ]”h"]”Œknown limitations of the driver”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´MubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ)Rationale behind the chosen configuration”h]”hŒ)Rationale behind the chosen configuration”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj~h²hh³hÇh´M+ubhŒdefinition_list”“”)�”}”(hhh]”(hŒdefinition_list_item”“”)�”}”(hŒE``AT E1`` Echo on We need this to be able to get a prompt reliably. ”h]”(hŒterm”“”)�”}”(hŒ ``AT E1``”h]”j®)�”}”(hjžh]”hŒAT E1”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hjœubah}”(h]”h ]”h"]”h$]”h&]”uh1jšh³hÇh´M0hj–ubhŒ definition”“”)�”}”(hhh]”(hï)�”}”(hŒEcho on”h]”hŒEcho on”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M.hjµubhï)�”}”(hŒ1We need this to be able to get a prompt reliably.”h]”hŒ1We need this to be able to get a prompt reliably.”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M0hjµubeh}”(h]”h ]”h"]”h$]”h&]”uh1j³hj–ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j”h³hÇh´M0hj‘ubj•)�”}”(hŒâ``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). ”h]”(j›)�”}”(hŒ ``AT S1``”h]”j®)�”}”(hjæh]”hŒAT S1”…”�”}”(hjèh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hjäubah}”(h]”h ]”h"]”h$]”h&]”uh1jšh³hÇh´M:hjàubj´)�”}”(hhh]”(hï)�”}”(hŒ Spaces on”h]”hŒ Spaces on”…”�”}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M3hjûubhï)�”}”(hŒ=We need this to distinguish 11/29 bit CAN addresses received.”h]”hŒ=We need this to distinguish 11/29 bit CAN addresses received.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M5hjûubhï)�”}”(hŒ�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).”h]”hŒ�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).”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M7hjûubeh}”(h]”h ]”h"]”h$]”h&]”uh1j³hjàubeh}”(h]”h ]”h"]”h$]”h&]”uh1j”h³hÇh´M:hj‘h²hubj•)�”}”(hŒE``AT D1`` DLC on We need this to tell the "length" of RTR frames. ”h]”(j›)�”}”(hŒ ``AT D1``”h]”j®)�”}”(hj:h]”hŒAT D1”…”�”}”(hj<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j­hj8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jšh³hÇh´MAhj4ubj´)�”}”(hhh]”(hï)�”}”(hŒDLC on”h]”hŒDLC on”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M=hjOubhï)�”}”(hŒ0We need this to tell the "length" of RTR frames.”h]”hŒ4We need this to tell the “lengthâ€� of RTR frames.”…”�”}”(hj`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´M?hjOubeh}”(h]”h ]”h"]”h$]”h&]”uh1j³hj4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j”h³hÇh´MAhj‘h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j�hj~h²hh³hÇh´Nubeh}”(h]”Œ)rationale-behind-the-chosen-configuration”ah ]”h"]”Œ)rationale behind the chosen configuration”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´M+ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒA note on CAN bus termination”h]”hŒA note on CAN bus termination”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjˆh²hh³hÇh´MDubhï)�”}”(hŒÕYour adapter may have resistors soldered in which are meant to terminate the bus. This is correct when it is plugged into a OBD-II socket, but not helpful when trying to tap into the middle of an existing CAN bus.”h]”hŒÕYour adapter may have resistors soldered in which are meant to terminate the bus. This is correct when it is plugged into a OBD-II socket, but not helpful when trying to tap into the middle of an existing CAN bus.”…”�”}”(hj™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MFhjˆh²hubhï)�”}”(hŒ~If communications don't work with the adapter connected, check for the termination resistors on its PCB and try removing them.”h]”hŒ€If communications don’t work with the adapter connected, check for the termination resistors on its PCB and try removing them.”…”�”}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´MJhjˆh²hubeh}”(h]”Œa-note-on-can-bus-termination”ah ]”h"]”Œa note on can bus termination”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´MDubeh}”(h]”Œ(can327-elm327-driver-for-linux-socketcan”ah ]”h"]”Œ)can327: elm327 driver for linux socketcan”ah$]”h&]”uh1hÈhhh²hh³hÇh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÇuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hÍNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jèŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÇŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(jÂj¿jjjNjKj­jªjøjõjƒj€jèjåjËjÈj±j®j{jxj…j‚jºj·uŒ nametypes”}”(j‰j‰jN‰j­‰jø‰jƒ‰jè‰jˉj±‰j{‰j…‰jº‰uh}”(j¿hÊjhÝjKjjªjQjõj°j€jûjåj†jÈjëj®jÎjxj´j‚j~j·jˆuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.