doc:rfc_rtd-can-raw-mode
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
doc:rfc_rtd-can-raw-mode [2014/03/01 05:30] – created admin | doc:rfc_rtd-can-raw-mode [2014/03/02 06:48] (current) – removed admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== CANraw Mode Protocol for the OOBD Firmware ====== | ||
- | |||
- | | OOBD Team | S. Koehler | | ||
- | | Request for Comments:7 | | ||
- | | Obsoletes: - | | | ||
- | | Category: Draft Standard | Sep 2013 | | ||
- | |||
- | |||
- | ===== Status of this Memo ===== | ||
- | |||
- | |||
- | This memo provides information about how to read CANraw data through the OOBD firmware. | ||
- | ===== Copyright Notice ===== | ||
- | |||
- | |||
- | Copyright (C) OOBD Team (2013). | ||
- | ===== Introduction ===== | ||
- | |||
- | |||
- | ==== Concept ==== | ||
- | |||
- | |||
- | ==== Initialization ==== | ||
- | |||
- | | ||
- | |||
- | Select the CANraw mode protocol | ||
- | |||
- | p 1 1 0 0 | ||
- | |||
- | This activates the CANraw mode protocol, clears the internal PID list and sets the CAN bus into " | ||
- | |||
- | Select the HS-CAN interface | ||
- | |||
- | p 8 4 0 | ||
- | |||
- | Select HS-CAN bus speed to 500kbit/s (for other bitrates please have a look to the firmware syntax here: [[brokenlink|The OOBD Firmware Syntax]]) | ||
- | |||
- | p 8 3 3 | ||
- | |||
- | Set CAN-Transceiver to normal operating mode | ||
- | |||
- | p 8 2 3 | ||
- | |||
- | Set CAN filter Start address | ||
- | |||
- | p 8 10 1 $000 | ||
- | |||
- | Set CAN filter mask (here: all frames $000 - $7FF are enabled) | ||
- | |||
- | p 8 11 1 $000 | ||
- | |||
- | Activate CANraw listen mode | ||
- | |||
- | p 7 1 1 | ||
- | |||
- | Hint: | ||
- | |||
- | If there are already CAN-Messages received on the HS-CAN interface they will be directly transmitted from the firmware to the serial Bluetooth interface so that they are directly accessible by any application (i.e. OOBD-Android). See the chapter Example for more details. | ||
- | |||
- | ==== Configuration ==== | ||
- | |||
- | No configuration | ||
- | |||
- | === Commands === | ||
- | |||
- | FIXME explain commands | ||
- | |||
- | === Errors === | ||
- | |||
- | FIXME explain errors | ||
- | |||
- | |||
- | === Examples === | ||
- | |||
- | # 170943 0x1f6 0x0 8 00 00 01 49 00 03 00 0a | ||
- | # 170943 0x91 0x0 7 2e f4 6f 12 ef 00 00 | ||
- | # 170944 0x2fd 0x0 6 00 e5 e2 00 2e f0 | ||
- | |||
- | |||
- | ==== Implementation Details ==== | ||
- | |||
- | |||
- | | ||
- | |||
- | |||
- | ==== Security Considerations ==== | ||
- | |||
- | |||
- | This RFC raises security issues. Sending frames on the bus might create unexpected reactions | ||
- | . | ||
- | ==== References ==== | ||
- | |||
- | |||
- | ==== Authors' | ||
- | |||
- | |||
- | Steffen Koehler | ||
- | |||
- | Phone: +49 172 410 35 98 | ||
- | |||
- | EMail: | ||
- | ==== Appendix ==== | ||
- | | ||
- | |||
- | ==== Full Copyright Statement ==== | ||
- | |||
- | |||
- | Copyright | ||
- | |||
- | This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, | ||
- | |||
- | The limited permissions granted above are perpetual and will not be revoked by the OOBD Team or its successors or assigns. | ||
- | |||
- | This document and the information contained herein is provided on an "AS IS" basis and THE OOBD TEAM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE." | ||
- | | ||
- | |||
- | ==== Updates ==== | ||
- | |||
- | |||
- | ==== Obsoletes ==== | ||
- | |||
- | |||
- | ==== Obsoleted-by ==== | ||
- | |||
- | |||
- | ==== Updated-by ==== | ||
- | |||
- | |||
- | ==== Contact ==== | ||
- | |||
- | |||
- | ==== Distribution Lists ==== | ||
- | |||
- | |||
- | The OOBD-RFC announcements are distributed via the oobd-commit-messages@googlegroups.com mailing list. | ||
- | |||
- | To join (or quit) the list goto https:// |
doc/rfc_rtd-can-raw-mode.1393648235.txt.gz · Last modified: 2014/03/01 05:30 by admin