User Tools

Site Tools


doc:rfc_rtd-can-raw-mode

This is an old revision of the document!


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. Distribution of this memo is unlimited.

Copyright (C) OOBD Team (2013). All Rights Reserved.

Introduction

Concept

Initialization

(example for HS-CAN setup)

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 “invisible listen” mode

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: 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' Addresses

Steffen Koehler

Phone: +49 172 410 35 98

EMail:steffen@koehlers.de

Appendix

Copyright (C) OOBD Team (2012). All Rights Reserved.

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, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the OOBD Team organizations, except as needed for the purpose of developing standards in which case the procedures for copyrights defined in the Standards process must be followed, or as required to translate it into languages other than English.

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.“ Relation to other RFCs

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://groups.google.com/forum/?hl=de&fromgroups=#!forum/oobd-commit-messages

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
doc/rfc_rtd-can-raw-mode.1393648235.txt.gz · Last modified: 2014/03/01 05:30 by admin