Blog · 2026-11-10

Is it possible to access multiple CAN buses through the OBD-II port?

Stefan Bogdanescu

Founder & Senior Architect

Is it possible to access multiple CAN buses through the OBD-II port?

The short answer is no, but the nuance lies in how modern vehicle architectures isolate networks. You cannot simply plug a scanner into the OBD-II connector and expect to see raw traffic from every Controller Area Network (CAN) bus in the car simultaneously without intervention. The physical layer of the OBD-II port connects to a specific network topology designed for diagnostics, not passive monitoring of the entire internal vehicle mesh.

In most modern vehicles, the OBD-II port terminates onto a dedicated diagnostic gateway or directly onto the primary CAN bus (often the High-Speed CAN used for engine and transmission control). When you connect an external diagnostic tool, you are electrically paralleling your device with this specific bus. You become just another node on that single network segment.

The Role of the Gateway Controller

If a vehicle has multiple buses—such as a high-speed bus for powertrain ECUs, a medium-speed bus for body electronics, and a low-speed FlexRay or CAN FD for infotainment—they are logically segmented by gateway controllers. These gateways act as routers that filter traffic based on message identifiers (IDs).

When you connect to the OBD-II port, your device communicates through whatever node acts as the gateway for that specific connection point. This gateway enforces access control lists (ACLs). It will only forward messages related to diagnostic services (like UDS 10 or 22 requests) and specific domain data that the manufacturer decided should be accessible externally.

To monitor messages on a secondary bus, such as the body control network, your device must send a request through the gateway asking for those specific IDs. The gateway then reads the relevant node from the secondary bus and forwards the response back to you. This is why you cannot passively "sniff" the body bus while plugged into the OBD-II port; the gateway actively filters and reconstructs the data stream before it reaches your device's transceiver.

Implementation Considerations for Developers

If your goal is to build a tool that monitors multiple buses, relying solely on the OBD-II port without hardware modification or software negotiation will fail to capture non-diagnostic traffic. You are limited to the bus topology that the gateway exposes.

However, if you have access to the vehicle's internal architecture and can inject into the gateway logic (or if the gateway is transparent for specific high-speed buses), you might be able to capture a broader view. In practice, this usually requires:

  1. Hardware Injection: Physically tapping into the secondary bus wires behind the dashboard rather than using the OBD-II pins.
  2. Gateway Bypass/Configuration: Using specialized tools that can temporarily disable ACLs or configure the gateway to forward specific IDs in real-time.
  3. Protocol Stack Negotiation: Writing custom software that understands the UDS (Unified Diagnostic Services) protocol to request full memory dumps or live data frames from remote nodes via the gateway.

Code Example: Requesting Remote Data via Gateway

When working with a library like can-utils or a Python python-can interface, you typically initialize a single channel representing the OBD-II bus. You cannot initialize multiple channels on the same physical pins.

import can
from can import Listener

# Initialize a single listener on the OBD-II port (typically SocketCAN)
interface = can.interface.Bus(channel='can0', bustype='socketcan')

class MultiBusListener(Listener):
    def __init__(self, bus):
        self.bus = bus
        self.filtered_messages = []

    def on_message_received(self, msg):
        # The gateway has already filtered traffic here.
        # You receive only what the gateway allows to pass through.
        if msg.arbitration_id in [0x12345678, 0x12345679]: 
            # Example: Checking for specific diagnostic response IDs
            self.filtered_messages.append(msg)

if __name__ == "__main__":
    listener = MultiBusListener(interface)
    interface.add_listener(listener)
    
    print("Listening on OBD-II bus...")
    print("Note: Only gateway-permitted traffic will arrive here.")
    
    # You cannot add a second 'can0' instance to listen to a different physical bus
    # without physically tapping into that second bus.

Trade-offs and Pitfalls

Attempting to monitor multiple buses via the OBD-II port introduces significant latency due to the gateway's processing time. The gateway must read the secondary node, potentially translate protocols, and then forward the data. This makes real-time monitoring of high-frequency signals on non-primary buses unreliable when accessed this way.

Furthermore, many manufacturers implement "sleep mode" or security locks that prevent the gateway from responding to diagnostic requests after a certain period of inactivity or if specific authentication tokens are missing. If you are building a fleet monitoring solution, relying on the OBD-II port to aggregate data from all vehicle domains is architecturally unsound unless you design your system to handle the latency and filtering imposed by the gateway logic.

Ultimately, accessing multiple buses requires understanding that the OBD-II port is an entry point into a secured network, not a universal tap for every wire inside the car.