Giter Site home page Giter Site logo

hondasnet's Introduction

hondasnet

Reverse engineering Honda's S-NET protocol

In example of the 2017 Honda Civic Hatchback (and other models of similar architecture), the vehicle uses a single-wire 5V UART formatted data line for the immobilizer in their vehicles. The data line appears to be used exclusively between the BCM (body) and ECM (engine). Without this line, the engine can start, but will not stay running.

Data line info

Shortest period: 100-101us
Baud rate: 10k
Voltage Range: 0-5v with negative voltage spikes on falling edge (different module sending this?)

How to calculate the 7 Byte Packet Checksum:

b6 = mod(sum(b0:b5),-256)*-1

Todo:

  • What modules are sending what?
  • RE both packet types

Example session sequence:

Init

  1. 93 46 FF FF < no checksum?
  2. 09 40 7A F7 < no checksum?
  3. 59 07 BB 77 7A 77 7D
  4. 59 07 BB 77 71 77 86 < seems to repeat until the sending module receives a response because I've seen occur 2-3x depending on the session.

Setup packet?

  1. 95 07 2E 91 1F 85 01

Loop - Constant for this session

  1. 59 07 BB FC C5 5E C6
  2. 95 07 1A 91 1F 85 15

Packet Breakdown

4 Byte: TBD

7 Byte:

ID? Checksum (see above)
95 07 2E 91 1F 85 01
95 07 1A 91 1F 85 15

hondasnet's People

Contributors

csouers avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.