I2C transport binding for the MCTP server, ported from Hubris mctp-server/src/i2c.rs.
This crate implements MCTP-over-I2C transport. It provides the Sender implementation for outbound packets and a receiver/decoder for inbound I2C target messages. It uses the OpenPRoT services/i2c/ userspace driver as the underlying I2C transport, replacing the Hubris drv_i2c_api::I2cDevice.
I2cSender<C> — implements mctp_stack::Sender for I2C; handles fragmentation, encoding, and PEC (Packet Error Checking) via mctp_stack::i2c::MctpI2cEncapMctpI2cReceiver — decodes inbound I2C target-mode messages into MCTP packetsopenprot-mctp-api — API traitsopenprot-i2c-api — I2cClientBlocking trait for I2C bus accessmctp-stack — Sender trait, I2C encapsulation/decapsulationmctp — core MCTP typesembedded-hal — hardware abstractionheapless — no_std collections