Skip to content

IvanGranero/Automotive-Protocols

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UDS Server in Python

This repository contains a UDS (Unified Diagnostic Services) server implementation in Python. UDS is a diagnostic communication protocol used in automotive applications to communicate with vehicle ECUs (Electronic Control Units).

Table of Contents

Features

  • Handles UDS diagnostic requests
  • Supports multiple UDS services
  • Customizable server configuration
  • Easy to extend and integrate

Requirements

  • Python 3.x
  • socket module (Standard library)

Installation

  1. Clone the repository:
    git clone https://github.com/IvanGranero/Automotive-Protocols.git
    cd Automotive-Protocols

Usage

  1. Run the UDS server:

    python uds-server.py
  2. The server will start listening for UDS diagnostic requests on the specified IP and port.

Configuration

You can configure the server by modifying the uds-server.py script. Key configurations include:

Server IP and Port

Supported UDS services

Custom handlers for specific diagnostic requests

Example configuration snippet in uds-server.py:

SERVER_IP = '127.0.0.1'
SERVER_PORT = 5000

Contributing

Contributions are welcome! Please follow these steps:

Fork the repository.

Create a new branch (git checkout -b feature-branch).

Make your changes and commit them (git commit -m 'Add some feature').

Push to the branch (git push origin feature-branch).

Create a Pull Request.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages