Skip to content

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simplesovd

A simple implementation of SOVD (Service Oriented Vehicle Diagnostics), ISO 17978.

Description

simplesovd is a tiny SOVD (Service Oriented Vehicle Diagnostics, ISO 17978) implementation on top of Python FastAPI. It's intended solely for research and/or POC purposes, not for production.

simplesovd currently suppports:

  • Forward SOVD requests to backend entity servers
  • Issuing UDS on CAN requests from UDSGateway function
    • This is a special case. In fact, an SOVD CDA is also an SOVD entity server. simplesovd transparently following the 'href' keyword in your configuration file.
  • Some administrative command (outside SOVD entity namespace)
    • Access to '/admin' without vendor_prefix

simplesovd does not support:

  • Other SOVD features than data, bulk-data.
  • DoIP
  • Multiple CAN interfaces
  • AuthN/AuthZ
  • TLS termination

Usage

Preparation.

$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt

Run the application.

$ uvicorn main:app --port 7690

Append --reload if you like.

'simplesovd' uses a vendor prefix 'simplesovd/v1' currently. Thus, access to 'http://localhost:7690/simplesovd/v1/areas' etc. Also, you can define your own vehicle ECU topology using 'config.yaml'

simplesovd refers some environment variables.

  • SIMPLESOVD_CONFIG
    • You can specify your config file.
  • SIMPLESOVD_DEBUG
    • If you set any value other than 0, simplesovd runs in debug mode.

TODO

  • Re-write URLs contained in responses from backend entity servers
  • Add more SOVD features support
  • Enhance built-in CDA

License

Apache License, Version 2.0

Author

Masanori Itoh masanori.itoh@gmail.com

References

Standards

Open Source Software

General readings

About

A simple SOVD (Service Oriented Vehicle Diagnostics, ISO 17978) server implementation using Python FastAPI

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages