No description
- Rust 94.5%
- C 5.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Builders for SIM_VERIFY_PIN1 (0x0201), SIM_VERIFY_PUK1 (0x0202) and SIM_SET_FACILITY_LOCK (0x020a), with the layouts of the downstream ProtocolSimBuilder::BuildSimVerifyPin/VerifyPuk/SetFacilityLock, and a result parser that hands back the CP status and retry counter instead of raising on PASSWORD_INCORRECT. FFI wrappers for all four. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01X8Ae7ndNtBzrVUtsf9RYry |
||
| .cargo | ||
| crates | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
exynos-modem workspace
Userspace pieces for the Exynos s5300 ("Shannon") modem on the mainline-Linux bring-up of the Google Tensor G4 (Pixel 9a). A Cargo workspace of peer crates:
crates/exynos-modem— the daemon that answers the CP's vendor channels (GEMS/OEM onoem_ipc1, RFS, boot supervision + crash recovery). The analog of Qualcomm'srmtfs. See its own README for details.crates/samsung-sit— a pure, I/O-free codec for the SIT (Exynos RIL) wire protocol: bytes ⟷ typed structs, no transport, no GLib. Consumed today via a C FFI shim from ModemManager'ssamsung-sitplugin (so the plugin keeps owning thewwan0sit*ports and the async/mainloop) and natively by any future Rust modem daemon. Written withbinrwfor declarative binary layouts.crates/samsung-sit-ffi— a#[repr(C)]static library (libsamsung_sit_ffi.a) exposingsamsung-sitto the ModemManager C plugin. The ABI is GLib-free (byte-buffer out-params, status codes); a thin C adapter re-wraps it into theGByteArray/GErrorshapes of the plugin's existingmm-sit-protocol.h, so the transport/orchestration C is left untouched.
Build
rustup target add aarch64-unknown-linux-musl # once
cargo build --release # all crates -> static musl
cargo test # wire-format tests