reading traffic going to the emulator

Discussion about software developed by Freematics, including Freematics Builder and Freematics Emulator GUI
Locked
cptreese
Posts: 5
Joined: Mon Sep 30, 2024 9:26 am

reading traffic going to the emulator

Post by cptreese »

what is the best way to setup seeing all the traffic going to the emulator? I want to connect an ELM327 to the emulator, send some commands and see how the traffic is being formatted. I also want to do this with my ESP32 connecting to the emulator via a CAN Shield
sparflaxseed
Posts: 1
Joined: Mon Oct 14, 2024 6:25 pm

Re: reading traffic going to the emulator

Post by sparflaxseed »

You can use a CAN bus sniffer or monitoring tool, like Wireshark with a CAN interface, to capture and analyze the traffic between the ELM327 or ESP32 with the emulator.
Nanisa13
Posts: 1
Joined: Wed Dec 11, 2024 8:22 pm

Re: reading traffic going to the emulator

Post by Nanisa13 »

Use a library like ELMo to simplify communication between the ELM327 and your ESP32. This library allows you to send commands and receive responses synchronously bitlife
girlgolfing
Posts: 1
Joined: Tue Dec 17, 2024 6:13 pm

Re: reading traffic going to the emulator

Post by girlgolfing »

cptreese wrote: Mon Sep 30, 2024 10:35 am what is the best way to setup seeing all the traffic going togeometry dash the emulator? I want to connect an ELM327 to the emulator, send some commands and see how the traffic is being formatted. I also want to do this with my ESP32 connecting to the emulator via a CAN Shield
You can reverse-engineer the format or protocol being used between your devices and the emulator, particularly if you're sending standard commands through the ELM327 or ESP32.
Fielaposa
Posts: 2
Joined: Thu Feb 20, 2025 6:40 pm
Contact:

Re: reading traffic going to the emulator

Post by Fielaposa »

ELM327 Logging: Many ELM327 software tools (such as Torque, ScanMaster, or RealTerm) allow you to Drive Mad log and inspect the raw CAN or OBD-II data. You can enable debug mode to see how commands are formatted and responded to.

ESP32 with CAN Shield: If your ESP32 is connected via a CAN Shield, you can use an open-source CAN bus sniffer like candleLight, SavvyCAN, or BUSMASTER to capture the traffic. With an MCP2515 module, you can configure your ESP32 to log and print out all CAN messages in real-time.
Locked