Keyword Protocol 2000: Difference between revisions

Content deleted Content added
Yobot (talk | contribs)
m WP:CHECKWIKI error 22 fixes (category with space) + general fixes (BRFA 16) using AWB (7799)
Adding local short description: "Communications protocol for vehicle diagnostics", overriding Wikidata description "communications protocol"
 
(30 intermediate revisions by 26 users not shown)
Line 1:
{{Short description|Communications protocol for vehicle diagnostics}}
'''Keyword Protocol 2000''', abbreviated '''KWP2000''', is a [[communications protocol]] used for [[on-board vehicle diagnostics]] systems (OBD). This protocol covers the application layer in the [[OSI model]] of computer networking. The protocol is standardized by [[International Organization for Standardization]] as [[ISO 14230]].
 
== Commonly Usedused Physicalphysical Layerslayers ==
One underlying physical layer used for KWP2000 is identical to [[ISO 9141]], with bidirectional [[serial communication]] on a single line called the K-line. In addition, there is an optional L-line for wakeup. The data rate is between 1.2 and 10.4 [[baud|kilobaud]], and a message may contain up to 255 bytes in the data field.<ref name="Craig">{{cite book|last1=Smith|first1=Craig|title=The Car Hacker's Handbook: A Guide for the Penetration Tester|date=2016|publisher=No Starch Press|isbn=9781593277031|page=22|url=https://books.google.com/books?id=Ao_QCwAAQBAJ&q=Keyword+Protocol+2000&pg=PA22|access-date=10 May 2018|language=en}}</ref>
 
When implemented on a K-line physical layer KWP2000 requires special ''wakeup'' sequences: ''5-baud wakeup'' and ''fast-initialisation''. Both of these wakeup methods require timing critical manipulation of the K-line signal.
KWP2000 is also compatible on [[ISO 11898]] (Controller Area Network) supporting higher data rates of up to 1Mbps. CAN is becoming an increasingly popular alternative to K-line because the CAN bus is usually present in modern day vehicles and thus removing the need to install an additional physical cable.
 
KWP2000 is also compatible on [[ISO 11898]] (Controller Area Network) supporting higher data rates of up to 1Mbps1&nbsp;Mbit/s. CAN is becoming an increasingly popular alternative to K-line because the CAN bus is usually present in modern -day vehicles and thus removing the need to install an additional physical cable.
{{List of Automation Protocols}}
 
Using KWP2000 on CAN with ISO 15765 Transport/Network layers is most common. Also using KWP2000 on CAN does not require the special wakeup functionality.
 
KWP2000 can be implemented on CAN using just the service layer and session layer (no header specifying length, source and target addresses is used and no checksum is used); or using all layers (header and checksum are encapsulated within a CAN frame). However using all layers is overkill, as ISO 15765 provides its own Transport/Network layers.
 
== ISO 14230 ==
ISO 14230 '''Road vehicles – Diagnostic systems – Keyword Protocol 2000''' is structured as follows:
* ISO 14230-1 Physical layer
* ISO 14230-2 Data link layer
* ISO 14230-3 Application layer
* ISO 14230-4 Requirements for emission-related systems
 
==References==
{{Reflist}}
 
{{List of Automation Protocolsprotocols}}
 
[[Category:Automotive technologies]]
Line 12 ⟶ 29:
 
{{technology-stub}}
 
[[cs:Key Word Protocol 2000]]
[[de:KWP2000]]
[[ja:KWP2000]]