Keyword Protocol 2000: Difference between revisions

Content deleted Content added
Aster94 (talk | contribs)
added external link to open source project
Tags: possible conflict of interest Visual edit
Adding local short description: "Communications protocol for vehicle diagnostics", overriding Wikidata description "communications protocol"
 
(7 intermediate revisions by 6 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. KWP2000 also covers the session layer in the OSI model, in terms of starting, maintaining and terminating a communications session.
 
== Commonly used physical layers ==
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&pg=PA22&dqq=Keyword+Protocol+2000&hlpg=en&sa=X&ved=0ahUKEwie9sa_6vraAhVptlkKHWBrDOgQ6AEISjAH#v=onepage&q=Keyword%20Protocol%202000&f=falsePA22|accessdateaccess-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.
Line 18 ⟶ 19:
* ISO 14230-3 Application layer
* ISO 14230-4 Requirements for emission-related systems
 
== External links ==
 
* https://github.com/aster94/Keyword-Protocol-2000 - Open source implementation of the protocol which could be run on any [[arduino]] platform
 
==References==