Skip to content

2. Understanding Flipper CAN Bus app

Carlos Alatorre edited this page Nov 5, 2024 · 6 revisions

Along with the Electronic Cats Flipper Add-On: CAN Bus this app allows viewing, read, analyzing and replicating CAN Bus traffic.

CAN Bus app has different options and menus. Here you will find a description of each. Some option names explain the function itself.

Main Menu

Navigate through the app's main menu to select the task to perform.

  • About Us: See general information of the app.

Settings

Set up your CAN Bus parameters in this menu.

  • Bitrate: Set the transmission bitrate.
  • Clock: NOT CONFIGURABLE. It shows the work clock frequency.
  • Save LOGS?: Select whether you want to record the sniffing sessions or not.
    • Save All: save all data sent through the CAN Bus network
    • Only Address: save only the data sent for one node in the CAN Bus network.

Sniffing

Watch the data (packets) transmitted through the different CAN Bus networks devices (addresses).

Sender

Send a packet in the CAN Bus network

  • SEND MESSAGE: Send the packet once is set up.
  • Choose ID: Choose any previously scanned ID in the CAN Bus network.
  • ID: Here will see the ID's value.
  • DLC: Select the Data Length of the packet.
  • Request: Request acknowledge from the node.
  • CLIC TO SET DATA: Set the data of the packet.
  • Byte [n]: Set the data of the Byte.

Player

Player feature allow send messages saved in the .LOG files. Frame send times can be set to default (1 second), manually or determined to the stored in the .LOG file (sames as in the sniffing session).

Scanner OBD2

This menu has different options:

  • Get supported PID codes: know the PID supported by the ECU, this is divided in 4 blocks: A, B, C and D, this last block is usually not supported showing an error message.
  • Show Typical Data: show the typical values can be obtained from an ECU:
    • Engine Speed (RPM)
    • Vehicle Speed (Km/h)
    • Engine load
    • Throttle position
    • Fuel tank level
    • Time engine running
  • Get VIN number:returns the Vehicle Identification Number.
  • Get ECU name: returns the ECU name of the vehicle.
  • Show DTC: return the error codes stored in the ECU.
  • Delete DTC: clean the error codes stored in the ECU.
  • Manual sender PID: send a PID request, to get a reply from the ECU with the frames.

Read LOG

Read the saved LOG files obtained from previous sniffing sessions. These files will be stored in the Flipper's SD card.

log files will store the packets from the sniffing sessions. Read LOG feature allow you to open these files directly in the Flipper without the need to pass them to a computer.

In the latest version of the app, the log files data will be saved with the following format:

id:fd7 len: 8 [0]:1 [1]:65 [2]:12 [3]:4 [4]:5 [5]:6 [6]:7 [7]:8  Time(ms): 0
id:8 len: 8 [0]:1 [1]:65 [2]:12 [3]:4 [4]:5 [5]:6 [6]:7 [7]:8  Time(ms): 1181

Where:

  • id: identifies of the device from which the message was received.
  • len: message length.
  • Message data: divided and indicated in bytes.
  • Time(ms): time elapsed between the new message and the prior to this one.