Skip to content

Setting up Open SOME/IP Specification Submodule

Overview

The Open SOME/IP Specification is included as a git submodule to ensure the implementation stays synchronized with the official specification.

Setup Instructions

  1. Remove the current directory (if it exists):

    rm -rf open-someip-spec/
    

  2. Add the submodule:

    git submodule add https://github.com/some-ip-com/open-someip-spec.git open-someip-spec
    

  3. Initialize and update:

    git submodule update --init --recursive
    

  4. Verify:

    ls -la open-someip-spec/
    

Usage

The specification documents are now available at open-someip-spec/src/ and can be referenced in:

  • Traceability matrices
  • Documentation
  • Compliance verification
  • Implementation validation

Updating the Submodule

To update to the latest specification version:

git submodule update --remote

Repository Structure

open-someip-spec/
├── src/                    # Specification documents (RST format)
│   ├── someip-rpc.rst     # Core SOME/IP RPC specification
│   ├── someip-sd.rst      # Service Discovery specification
│   ├── someip-tp.rst      # Transport Protocol specification
│   └── someip-compat.rst  # Compatibility requirements
├── tools/                  # Build tools for documentation
├── scripts/               # Utility scripts
└── README.md             # Specification repository documentation

Integration with Build System

The submodule is automatically included in the build process for:

  • Documentation generation
  • Requirement traceability
  • Compliance checking
  • Specification validation

Maintenance

  • Regular Updates: Update the submodule quarterly to stay current
  • Breaking Changes: Monitor for specification changes that affect implementation
  • Contributions: Specification contributions should be made upstream