Crate someip_sd_wire

Crate someip_sd_wire 

Source
Expand description

§SOME/IP-SD-wire

This crate provides the means for parsing byte arrays into higher-level SOME/IP Service Discovery representations, and vice versa. It is designed to be used in embedded environments and is a no_std crate by default.

§Features

  • no_std compatible by default
  • Zero-allocation parsing and serialization
  • Support for all SOME/IP-SD message types
  • Clean enum-based API for entry and option types
  • Wire format using smoltcp-inspired zero-copy pattern

§Architecture

Following the smoltcp/someip-wire pattern:

  • packet - Zero-copy wrapper around raw packet buffers
  • repr - High-level representation for parsing/emitting
  • entries - Zero-copy wrappers for service/eventgroup entries
  • options - Zero-copy wrappers for various option types
  • config - DNS-SD TXT record configuration options
  • field - Field offset definitions

Modules§

config
DNS-SD TXT record style configuration options for SOME/IP-SD.
entries
Service and EventGroup entry types with zero-copy wrappers.
error
Error type for parsing and validation failures.
field
Field offset definitions for all wire format structures. Field offset definitions for SOME/IP-SD wire format structures.
options
SOME/IP-SD option types (IPv4/IPv6 Endpoint, LoadBalancing, etc.).
packet
Zero-copy packet wrapper for SOME/IP-SD messages. Packet module
prelude
Prelude module for convenient imports. Prelude module for convenient imports.
repr
High-level representation for parse/emit operations.