Skip to content

gkshub/sovd_python_2025_08_05

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SOVD Simulator

This project simulates a Service-Oriented Vehicle Diagnostics (SOVD) system using Flask.

Features

  • ECU Overview (/ecu-overview): Returns a list of simulated ECUs with metadata.
  • Fault Memory Readout (/fault-memory): Returns mock fault codes for ECUs.
  • Software Update Trigger (/software-update): Simulates triggering a software update (POST request).
  • Logging Service (/logs): Allows adding and retrieving diagnostic logs.

Setup Instructions

  1. Install dependencies:
    pip install flask

πŸ›  Step-by-Step Instructions

  1. Create the Project Folder Create a folder named sovd_simulator and place all the provided files inside it, maintaining the structure:

sovd_simulator/ β”œβ”€β”€ app.py β”œβ”€β”€ services/ β”‚ β”œβ”€β”€ init.py β”‚ β”œβ”€β”€ ecu_overview.py β”‚ β”œβ”€β”€ fault_memory.py β”‚ β”œβ”€β”€ software_update.py β”‚ └── logging_service.py β”œβ”€β”€ templates/ β”‚ └── index.html └── static/ └── style.css 2. Install Flask Open a terminal or command prompt and run:

  1. Run the Application Navigate to the project folder:

Then start the Flask server:

  1. Access the Simulator Open your browser and go to:

http://127.0.0.1:5000 You’ll see the homepage with links to:

/ecu-overview /fault-memory /logs You can also use tools like Postman or curl to test the POST endpoints like /software-update and /logs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published